Skip to content

Commit

Permalink
Change variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
neitdung committed Jan 12, 2024
1 parent 405c0eb commit c11890f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testing/simapp/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,15 @@ func genesisStateWithValSet(app *SimApp, genesisState GenesisState,
genesisState[authtypes.ModuleName] = app.AppCodec().MustMarshalJSON(authGenesis)

// set multi staking genesis state
baseInfo := multistakingtypes.MultiStakingCoinInfo{
msCoinAInfo := multistakingtypes.MultiStakingCoinInfo{
Denom: testutil.MultistakingDenomA,
BondWeight: sdk.OneDec(),
}
govInfo := multistakingtypes.MultiStakingCoinInfo{
msCoinBInfo := multistakingtypes.MultiStakingCoinInfo{
Denom: testutil.MultistakingDenomB,
BondWeight: sdk.MustNewDecFromStr("0.5"),
}
coinInfos := []multistakingtypes.MultiStakingCoinInfo{baseInfo, govInfo}
coinInfos := []multistakingtypes.MultiStakingCoinInfo{msCoinAInfo, msCoinBInfo}
validatorCoins := make([]multistakingtypes.ValidatorMultiStakingCoin, 0, len(valSet.Validators))
validators := make([]stakingtypes.Validator, 0, len(valSet.Validators))
delegations := make([]stakingtypes.Delegation, 0, len(valSet.Validators))
Expand Down

0 comments on commit c11890f

Please sign in to comment.