From c11890febf2c9ad59e1b4864898a263136a468bb Mon Sep 17 00:00:00 2001 From: dzungdo Date: Fri, 12 Jan 2024 14:19:07 +0700 Subject: [PATCH] Change variable names --- testing/simapp/test_helpers.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/simapp/test_helpers.go b/testing/simapp/test_helpers.go index 4c2dd863..eb077dc0 100644 --- a/testing/simapp/test_helpers.go +++ b/testing/simapp/test_helpers.go @@ -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))