refactor(math)!: remove aliases in math (#16040)

Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
Marko
2023-05-07 17:25:59 +00:00
committed by GitHub
co-authored by Julien Robert
parent 06c1a2f3c7
commit 044fe13789
25 changed files with 102 additions and 121 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ import (
"strconv"
"time"
"cosmossdk.io/math"
cmttypes "github.com/cometbft/cometbft/types"
"github.com/cosmos/cosmos-sdk/codec"
@@ -107,7 +108,7 @@ func (b *GenesisBuilder) GenTx(privVal secp256k1.PrivKey, val cmttypes.GenesisVa
MaxRate: sdk.MustNewDecFromStr("0.2"),
MaxChangeRate: sdk.MustNewDecFromStr("0.01"),
},
sdk.OneInt(),
math.OneInt(),
)
if err != nil {
panic(err)