forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: use
bondDenom
as default globalfee denom (cosmos#1824)
* fix: use bond_denom as default globalfee denom * fix: fee test by setup uatom as staking bond denom * chore: update error logs * fix: subspace notfound err type * test: add test for defaultGlobalFee * chore: return error for DefaultZeroGlobalFee * refactor: move FeeDecorator methods from fee_utils.go to fee.go * fix: use SetParamSet rather than set when setting bondDenom * chore: code improvement * fix: move panic to antehandler Co-authored-by: Danilo Pantani <[email protected]>
- Loading branch information
1 parent
4e9f043
commit a7e70bb
Showing
6 changed files
with
110 additions
and
41 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
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