-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
introduce query rpc to get the fee config by channel and denom name (#…
…522) 1. add config to channel `picad tx ibctransferparamsmodule add-allowed-ibc-token --from mykey --fees=30ppica channel-1 10 99999999999ppica` 2. add denom to channel `picad tx ibctransferparamsmodule add-allowed-ibc-token --from mykey --fees=30ppica channel-1 10 99999999999ssss 10low 100medium 10000high` 3. query config by denom and channel `picad query ibctransferparamsmodule FeeConfigByChannelAndDenom channel-1 ppica` 4. response: ``` min_fee: amount: "99999999999" denom: ppica percentage: "10" tx_priority_fee: - priority: low priority_fee: amount: "10" denom: ppica - priority: med priority_fee: amount: "100" denom: ppica - priority: high priority_fee: amount: "10000" denom: ppica ``` 5. response if denom does not allowed for this channel or channel does not exists. `fee configuration not found for channel channel-1 and denom sss: invalid request`
- Loading branch information
Showing
5 changed files
with
612 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.