test: Fix total supply bug in test util GenesisStateWithValSet (#23072)
This commit is contained in:
parent
ef7dbc9ab9
commit
4a533fd385
@ -273,7 +273,7 @@ func GenesisStateWithValSet(
|
||||
// add bonded amount to bonded pool module account
|
||||
balances = append(balances, banktypes.Balance{
|
||||
Address: authtypes.NewModuleAddress(stakingtypes.BondedPoolName).String(),
|
||||
Coins: sdk.Coins{sdk.NewCoin(sdk.DefaultBondDenom, bondAmt)},
|
||||
Coins: sdk.Coins{sdk.NewCoin(sdk.DefaultBondDenom, bondAmt.MulRaw(int64(len(delegations))))},
|
||||
})
|
||||
|
||||
// update total supply
|
||||
|
||||
Loading…
Reference in New Issue
Block a user