archethic-foundation / archethic-foundation/dex
Swap history - protocol fees address harcoded
Open
bug
- Dominant language
- Dart
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the problem you discovered
In `dex_pool_tx_list.dart`, protocol fees address is harcoded with mainnet address `kProtocolFeeAddress`.
### Describe the solution you'd like
We should manage environment testnet/mainnet
### Epic
_No response_
Contributor guide
Research direction
Read dex_pool_tx_list.dart and locate the hardcoded kProtocolFeeAddress used by the swap history flow. Trace how the project distinguishes testnet from mainnet, then verify the selected protocol-fee address for each environment. Done means swap history no longer uses the mainnet address on testnet.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100