test: Fix total supply bug in test util GenesisStateWithValSet (#23072)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user