refactor!: remove types/math aliases (backport #16798) (#16803)

Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
mergify[bot]
2023-06-30 19:56:38 +02:00
committed by GitHub
co-authored by Julien Robert
parent ce54aab92e
commit d9c53bfefc
151 changed files with 3425 additions and 3403 deletions
+3 -3
View File
@@ -104,9 +104,9 @@ func (b *GenesisBuilder) GenTx(privVal secp256k1.PrivKey, val cmttypes.GenesisVa
Moniker: "TODO",
},
stakingtypes.CommissionRates{
Rate: sdk.MustNewDecFromStr("0.1"),
MaxRate: sdk.MustNewDecFromStr("0.2"),
MaxChangeRate: sdk.MustNewDecFromStr("0.01"),
Rate: math.LegacyMustNewDecFromStr("0.1"),
MaxRate: math.LegacyMustNewDecFromStr("0.2"),
MaxChangeRate: math.LegacyMustNewDecFromStr("0.01"),
},
math.OneInt(),
)