mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-11-26 23:45:50 +00:00
fix: set correct default amount of rddl to convert
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
8d69ce21f3
commit
08deea9ceb
@ -196,7 +196,7 @@ func (s *SelectionE2ETestSuite) VerifyTokens(token string) {
|
|||||||
})
|
})
|
||||||
s.Require().NoError(err)
|
s.Require().NoError(err)
|
||||||
assert.Contains(s.T(), out.String(), token)
|
assert.Contains(s.T(), out.String(), token)
|
||||||
assert.Equal(s.T(), "amount: \"17979452053\"\ndenom: "+token+"\n", out.String()) // Total supply 2 * 7990867578 (total supply) + 1 * 1997716894 (challenger) = 17979452050
|
assert.Equal(s.T(), "amount: \"18279452050\"\ndenom: "+token+"\n", out.String()) // Total supply 2 * 7990867578 (total supply) + 1 * 1997716894 (challenger) + 3 * 100000000 (validator) = 17979452050
|
||||||
|
|
||||||
out, err = clitestutil.ExecTestCLICmd(val.ClientCtx, bank.GetBalancesCmd(), []string{
|
out, err = clitestutil.ExecTestCLICmd(val.ClientCtx, bank.GetBalancesCmd(), []string{
|
||||||
machines[0].address,
|
machines[0].address,
|
||||||
|
|||||||
@ -17,7 +17,7 @@ func MigrateParams(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.Bina
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
params.ValidatorPopReward = 1
|
params.ValidatorPopReward = 100000000
|
||||||
|
|
||||||
bz, err := cdc.Marshal(¶ms)
|
bz, err := cdc.Marshal(¶ms)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@ -65,7 +65,7 @@ func DefaultParams() Params {
|
|||||||
2000,
|
2000,
|
||||||
"plmnt1m5apfematgm7uueazhk482026ert95x2l2dx78",
|
"plmnt1m5apfematgm7uueazhk482026ert95x2l2dx78",
|
||||||
200000,
|
200000,
|
||||||
1,
|
100000000,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user