From d497900e0ee9a4c2ffbe24bc917e14bf8d18fa9b Mon Sep 17 00:00:00 2001 From: emidev98 Date: Fri, 18 Aug 2023 12:44:16 +0300 Subject: [PATCH] fix: keepers and genesis --- app/app.go | 56 +++++++++++------ app/export.go | 2 +- app/genesis.go | 2 +- app/genesis_test.go | 115 +++++++++++++++++++++-------------- app/upgrades/v2.5/upgrade.go | 2 +- go.mod | 5 +- go.sum | 6 +- 7 files changed, 113 insertions(+), 75 deletions(-) diff --git a/app/app.go b/app/app.go index 5d9d64da..7c7a9058 100644 --- a/app/app.go +++ b/app/app.go @@ -77,6 +77,7 @@ import ( mintkeeper "github.com/cosmos/cosmos-sdk/x/mint/keeper" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" + consensus "github.com/cosmos/cosmos-sdk/x/consensus" consensusparamkeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper" consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types" @@ -98,7 +99,6 @@ import ( upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" ica "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts" - // https://github.com/cosmos/interchain-accounts-demo icacontroller "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller" icacontrollerkeeper "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/keeper" icacontrollertypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/types" @@ -258,6 +258,7 @@ var ( tokenfactory.AppModuleBasic{}, ibchooks.AppModuleBasic{}, wasm.AppModuleBasic{}, + consensus.AppModuleBasic{}, alliance.AppModuleBasic{}, ) @@ -313,11 +314,11 @@ type TerraApp struct { AccountKeeper authkeeper.AccountKeeper BankKeeper bankkeeper.Keeper CapabilityKeeper *capabilitykeeper.Keeper - StakingKeeper stakingkeeper.Keeper + StakingKeeper *stakingkeeper.Keeper SlashingKeeper slashingkeeper.Keeper MintKeeper mintkeeper.Keeper DistrKeeper distrkeeper.Keeper - GovKeeper *govkeeper.Keeper + GovKeeper govkeeper.Keeper CrisisKeeper *crisiskeeper.Keeper UpgradeKeeper *upgradekeeper.Keeper ParamsKeeper paramskeeper.Keeper @@ -382,12 +383,12 @@ func NewTerraApp( bApp.SetInterfaceRegistry(interfaceRegistry) keys := sdk.NewKVStoreKeys( - authtypes.StoreKey, banktypes.StoreKey, stakingtypes.StoreKey, + authtypes.StoreKey, banktypes.StoreKey, stakingtypes.StoreKey, crisistypes.StoreKey, minttypes.StoreKey, distrtypes.StoreKey, slashingtypes.StoreKey, govtypes.StoreKey, paramstypes.StoreKey, ibcexported.StoreKey, upgradetypes.StoreKey, evidencetypes.StoreKey, ibctransfertypes.StoreKey, capabilitytypes.StoreKey, intertxtypes.StoreKey, authzkeeper.StoreKey, feegrant.StoreKey, icahosttypes.StoreKey, - icacontrollertypes.StoreKey, routertypes.StoreKey, tokenfactorytypes.StoreKey, wasm.StoreKey, + icacontrollertypes.StoreKey, routertypes.StoreKey, consensusparamtypes.StoreKey, tokenfactorytypes.StoreKey, wasm.StoreKey, ibcfeetypes.StoreKey, ibchookstypes.StoreKey, alliancetypes.StoreKey, ) tkeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey) @@ -438,7 +439,7 @@ func NewTerraApp( app.ModuleAccountAddrs(), authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) - stakingKeeper := stakingkeeper.NewKeeper( + app.StakingKeeper = stakingkeeper.NewKeeper( appCodec, keys[stakingtypes.StoreKey], app.AccountKeeper, @@ -449,7 +450,7 @@ func NewTerraApp( app.MintKeeper = mintkeeper.NewKeeper( appCodec, keys[minttypes.StoreKey], - stakingKeeper, + app.StakingKeeper, app.AccountKeeper, app.BankKeeper, authtypes.FeeCollectorName, @@ -460,7 +461,7 @@ func NewTerraApp( keys[distrtypes.StoreKey], app.AccountKeeper, app.BankKeeper, - stakingKeeper, + app.StakingKeeper, authtypes.FeeCollectorName, authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) @@ -468,7 +469,7 @@ func NewTerraApp( appCodec, app.LegacyAmino(), keys[slashingtypes.StoreKey], - stakingKeeper, + app.StakingKeeper, authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) app.CrisisKeeper = crisiskeeper.NewKeeper( @@ -498,11 +499,11 @@ func NewTerraApp( app.GetSubspace(alliancetypes.ModuleName), app.AccountKeeper, app.BankKeeper, - &app.StakingKeeper, + app.StakingKeeper, app.DistrKeeper, authtypes.FeeCollectorName, ) - app.BankKeeper.RegisterKeepers(app.AllianceKeeper, stakingKeeper) + app.BankKeeper.RegisterKeepers(app.AllianceKeeper, app.StakingKeeper) // register the staking hooks // NOTE: stakingKeeper above is passed by reference, so that it will contain these hooks @@ -525,7 +526,12 @@ func NewTerraApp( // Create IBC Keeper app.IBCKeeper = ibckeeper.NewKeeper( - appCodec, keys[ibcexported.StoreKey], app.GetSubspace(ibcexported.ModuleName), app.StakingKeeper, app.UpgradeKeeper, scopedIBCKeeper, + appCodec, + keys[ibcexported.StoreKey], + app.GetSubspace(ibcexported.ModuleName), + app.StakingKeeper, + app.UpgradeKeeper, + scopedIBCKeeper, ) app.FeeGrantKeeper = feegrantkeeper.NewKeeper(appCodec, keys[feegrant.StoreKey], app.AccountKeeper) @@ -614,7 +620,7 @@ func NewTerraApp( // Create evidence Keeper for to register the IBC light client misbehaviour evidence route evidenceKeeper := evidencekeeper.NewKeeper( - appCodec, keys[evidencetypes.StoreKey], &app.StakingKeeper, app.SlashingKeeper, + appCodec, keys[evidencetypes.StoreKey], app.StakingKeeper, app.SlashingKeeper, ) // If evidence needs to be handled for the app, set routes in router here and seal app.EvidenceKeeper = *evidenceKeeper @@ -668,12 +674,20 @@ func NewTerraApp( app.IBCKeeper.SetRouter(ibcRouter) - app.GovKeeper = govkeeper.NewKeeper( + govKeeper := govkeeper.NewKeeper( appCodec, keys[govtypes.StoreKey], app.AccountKeeper, - app.BankKeeper, stakingKeeper, + app.BankKeeper, app.StakingKeeper, app.MsgServiceRouter(), govtypes.DefaultConfig(), authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) + // Set legacy router for backwards compatibility with gov v1beta1 + govKeeper.SetLegacyRouter(govRouter) + app.GovKeeper = *govKeeper.SetHooks( + govtypes.NewMultiGovHooks( + // register the governance hooks + ), + ) + /**** Module Options ****/ // NOTE: we may consider parsing `appOpts` inside module constructors. For the moment @@ -694,11 +708,12 @@ func NewTerraApp( capability.NewAppModule(appCodec, *app.CapabilityKeeper, false), crisis.NewAppModule(app.CrisisKeeper, skipGenesisInvariants, app.GetSubspace(crisistypes.ModuleName)), feegrantmodule.NewAppModule(appCodec, app.AccountKeeper, app.BankKeeper, app.FeeGrantKeeper, app.interfaceRegistry), - gov.NewAppModule(appCodec, app.GovKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(govtypes.ModuleName)), + gov.NewAppModule(appCodec, &app.GovKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(govtypes.ModuleName)), mint.NewAppModule(appCodec, app.MintKeeper, app.AccountKeeper, nil, app.GetSubspace(minttypes.ModuleName)), slashing.NewAppModule(appCodec, app.SlashingKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper, app.GetSubspace(slashingtypes.ModuleName)), distr.NewAppModule(appCodec, app.DistrKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper, app.GetSubspace(distrtypes.ModuleName)), - staking.NewAppModule(appCodec, &app.StakingKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(stakingtypes.ModuleName)), + staking.NewAppModule(appCodec, app.StakingKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(stakingtypes.ModuleName)), + consensus.NewAppModule(appCodec, app.ConsensusParamsKeeper), upgrade.NewAppModule(app.UpgradeKeeper), evidence.NewAppModule(app.EvidenceKeeper), ibc.NewAppModule(app.IBCKeeper), @@ -747,6 +762,7 @@ func NewTerraApp( wasm.ModuleName, tokenfactorytypes.ModuleName, alliancetypes.ModuleName, + consensusparamtypes.ModuleName, ) app.mm.SetOrderEndBlockers( @@ -777,6 +793,7 @@ func NewTerraApp( wasm.ModuleName, tokenfactorytypes.ModuleName, alliancetypes.ModuleName, + consensusparamtypes.ModuleName, ) // NOTE: The genutils module must occur after staking so that pools are @@ -811,6 +828,7 @@ func NewTerraApp( ibchookstypes.ModuleName, wasm.ModuleName, alliancetypes.ModuleName, + consensusparamtypes.ModuleName, ) app.mm.RegisterInvariants(app.CrisisKeeper) @@ -1183,9 +1201,9 @@ func (app *TerraApp) SimulationManager() *module.SimulationManager { bank.NewAppModule(appCodec, app.BankKeeper, app.AccountKeeper, app.GetSubspace(banktypes.ModuleName)), capability.NewAppModule(appCodec, *app.CapabilityKeeper, false), feegrantmodule.NewAppModule(appCodec, app.AccountKeeper, app.BankKeeper, app.FeeGrantKeeper, app.interfaceRegistry), - gov.NewAppModule(appCodec, app.GovKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(govtypes.ModuleName)), + gov.NewAppModule(appCodec, &app.GovKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(govtypes.ModuleName)), mint.NewAppModule(appCodec, app.MintKeeper, app.AccountKeeper, nil, app.GetSubspace(minttypes.ModuleName)), - staking.NewAppModule(appCodec, &app.StakingKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(stakingtypes.ModuleName)), + staking.NewAppModule(appCodec, app.StakingKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(stakingtypes.ModuleName)), distr.NewAppModule(appCodec, app.DistrKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper, app.GetSubspace(distrtypes.ModuleName)), slashing.NewAppModule(appCodec, app.SlashingKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper, app.GetSubspace(stakingtypes.ModuleName)), params.NewAppModule(app.ParamsKeeper), diff --git a/app/export.go b/app/export.go index 5dd21b7a..d5a4a896 100644 --- a/app/export.go +++ b/app/export.go @@ -37,7 +37,7 @@ func (app *TerraApp) ExportAppStateAndValidators( return servertypes.ExportedApp{}, err } - validators, err := staking.WriteValidators(ctx, &app.StakingKeeper) + validators, err := staking.WriteValidators(ctx, app.StakingKeeper) if err != nil { return servertypes.ExportedApp{}, err } diff --git a/app/genesis.go b/app/genesis.go index 804ead39..20e36c90 100644 --- a/app/genesis.go +++ b/app/genesis.go @@ -47,7 +47,7 @@ func (genState GenesisState) ConfigureBondDenom(cdc codec.JSONCodec, bondDenom s var govGenState govtypesv1.GenesisState cdc.MustUnmarshalJSON(genState[govtypes.ModuleName], &govGenState) - govGenState.DepositParams.MinDeposit[0].Denom = bondDenom + govGenState.Params.MinDeposit[0].Denom = bondDenom genState[govtypes.ModuleName] = cdc.MustMarshalJSON(&govGenState) var mintGenState minttypes.GenesisState diff --git a/app/genesis_test.go b/app/genesis_test.go index 17907eeb..c5003dff 100644 --- a/app/genesis_test.go +++ b/app/genesis_test.go @@ -16,6 +16,8 @@ func TestNewGenesis(t *testing.T) { require.Nil(t, err) expectedState := `{ + "06-solomachine": null, + "07-tendermint": null, "alliance": { "params": { "reward_delay_time": "604800s", @@ -49,12 +51,14 @@ func TestNewGenesis(t *testing.T) { }, "balances": [], "supply": [], - "denom_metadata": [] + "denom_metadata": [], + "send_enabled": [] }, "capability": { "index": "1", "owners": [] }, + "consensus": null, "crisis": { "constant_fee": { "denom": "stake", @@ -64,8 +68,8 @@ func TestNewGenesis(t *testing.T) { "distribution": { "params": { "community_tax": "0.020000000000000000", - "base_proposer_reward": "0.010000000000000000", - "bonus_proposer_reward": "0.040000000000000000", + "base_proposer_reward": "0.000000000000000000", + "bonus_proposer_reward": "0.000000000000000000", "withdraw_addr_enabled": true }, "fee_pool": { @@ -101,22 +105,25 @@ func TestNewGenesis(t *testing.T) { "deposits": [], "votes": [], "proposals": [], - "deposit_params": { + "deposit_params": null, + "voting_params": null, + "tally_params": null, + "params": { "min_deposit": [ { "denom": "stake", "amount": "10000000" } ], - "max_deposit_period": "172800s" - }, - "voting_params": { - "voting_period": "172800s" - }, - "tally_params": { + "max_deposit_period": "172800s", + "voting_period": "172800s", "quorum": "0.334000000000000000", "threshold": "0.500000000000000000", - "veto_threshold": "0.334000000000000000" + "veto_threshold": "0.334000000000000000", + "min_initial_deposit_ratio": "0.000000000000000000", + "burn_vote_quorum": false, + "burn_proposal_deposit_prevote": false, + "burn_vote_veto": true } }, "ibc": { @@ -127,7 +134,8 @@ func TestNewGenesis(t *testing.T) { "params": { "allowed_clients": [ "06-solomachine", - "07-tendermint" + "07-tendermint", + "09-localhost" ] }, "create_localhost": false, @@ -241,7 +249,8 @@ func TestNewGenesis(t *testing.T) { "params": { "send_enabled": true, "receive_enabled": true - } + }, + "total_escrowed": [] }, "upgrade": {}, "vesting": {}, @@ -256,8 +265,7 @@ func TestNewGenesis(t *testing.T) { }, "codes": [], "contracts": [], - "sequences": [], - "gen_msgs": [] + "sequences": [] } }` @@ -273,6 +281,8 @@ func TestNewGenesisWithBondDenom(t *testing.T) { require.Nil(t, err) expectedState := `{ + "06-solomachine": null, + "07-tendermint": null, "alliance": { "params": { "reward_delay_time": "604800s", @@ -306,12 +316,14 @@ func TestNewGenesisWithBondDenom(t *testing.T) { }, "balances": [], "supply": [], - "denom_metadata": [] + "denom_metadata": [], + "send_enabled": [] }, "capability": { "index": "1", "owners": [] }, + "consensus": null, "crisis": { "constant_fee": { "denom": "uluna", @@ -321,8 +333,8 @@ func TestNewGenesisWithBondDenom(t *testing.T) { "distribution": { "params": { "community_tax": "0.020000000000000000", - "base_proposer_reward": "0.010000000000000000", - "bonus_proposer_reward": "0.040000000000000000", + "base_proposer_reward": "0.000000000000000000", + "bonus_proposer_reward": "0.000000000000000000", "withdraw_addr_enabled": true }, "fee_pool": { @@ -358,22 +370,25 @@ func TestNewGenesisWithBondDenom(t *testing.T) { "deposits": [], "votes": [], "proposals": [], - "deposit_params": { + "deposit_params": null, + "voting_params": null, + "tally_params": null, + "params": { "min_deposit": [ { "denom": "uluna", "amount": "10000000" } ], - "max_deposit_period": "172800s" - }, - "voting_params": { - "voting_period": "172800s" - }, - "tally_params": { + "max_deposit_period": "172800s", + "voting_period": "172800s", "quorum": "0.334000000000000000", "threshold": "0.500000000000000000", - "veto_threshold": "0.334000000000000000" + "veto_threshold": "0.334000000000000000", + "min_initial_deposit_ratio": "0.000000000000000000", + "burn_vote_quorum": false, + "burn_proposal_deposit_prevote": false, + "burn_vote_veto": true } }, "ibc": { @@ -384,7 +399,8 @@ func TestNewGenesisWithBondDenom(t *testing.T) { "params": { "allowed_clients": [ "06-solomachine", - "07-tendermint" + "07-tendermint", + "09-localhost" ] }, "create_localhost": false, @@ -498,7 +514,8 @@ func TestNewGenesisWithBondDenom(t *testing.T) { "params": { "send_enabled": true, "receive_enabled": true - } + }, + "total_escrowed": [] }, "upgrade": {}, "vesting": {}, @@ -513,8 +530,7 @@ func TestNewGenesisWithBondDenom(t *testing.T) { }, "codes": [], "contracts": [], - "sequences": [], - "gen_msgs": [] + "sequences": [] } }` @@ -528,8 +544,9 @@ func TestNewGenesisConfigureICA(t *testing.T) { jsonGenState, err := json.Marshal(genesisState) require.Nil(t, err) - expectedState := `{ + "06-solomachine": null, + "07-tendermint": null, "alliance": { "params": { "reward_delay_time": "604800s", @@ -563,12 +580,14 @@ func TestNewGenesisConfigureICA(t *testing.T) { }, "balances": [], "supply": [], - "denom_metadata": [] + "denom_metadata": [], + "send_enabled": [] }, "capability": { "index": "1", "owners": [] }, + "consensus": null, "crisis": { "constant_fee": { "denom": "stake", @@ -578,8 +597,8 @@ func TestNewGenesisConfigureICA(t *testing.T) { "distribution": { "params": { "community_tax": "0.020000000000000000", - "base_proposer_reward": "0.010000000000000000", - "bonus_proposer_reward": "0.040000000000000000", + "base_proposer_reward": "0.000000000000000000", + "bonus_proposer_reward": "0.000000000000000000", "withdraw_addr_enabled": true }, "fee_pool": { @@ -615,22 +634,25 @@ func TestNewGenesisConfigureICA(t *testing.T) { "deposits": [], "votes": [], "proposals": [], - "deposit_params": { + "deposit_params": null, + "voting_params": null, + "tally_params": null, + "params": { "min_deposit": [ { "denom": "stake", "amount": "10000000" } ], - "max_deposit_period": "172800s" - }, - "voting_params": { - "voting_period": "172800s" - }, - "tally_params": { + "max_deposit_period": "172800s", + "voting_period": "172800s", "quorum": "0.334000000000000000", "threshold": "0.500000000000000000", - "veto_threshold": "0.334000000000000000" + "veto_threshold": "0.334000000000000000", + "min_initial_deposit_ratio": "0.000000000000000000", + "burn_vote_quorum": false, + "burn_proposal_deposit_prevote": false, + "burn_vote_veto": true } }, "ibc": { @@ -641,7 +663,8 @@ func TestNewGenesisConfigureICA(t *testing.T) { "params": { "allowed_clients": [ "06-solomachine", - "07-tendermint" + "07-tendermint", + "09-localhost" ] }, "create_localhost": false, @@ -780,7 +803,8 @@ func TestNewGenesisConfigureICA(t *testing.T) { "params": { "send_enabled": true, "receive_enabled": true - } + }, + "total_escrowed": [] }, "upgrade": {}, "vesting": {}, @@ -795,8 +819,7 @@ func TestNewGenesisConfigureICA(t *testing.T) { }, "codes": [], "contracts": [], - "sequences": [], - "gen_msgs": [] + "sequences": [] } }` require.JSONEq(t, string(jsonGenState), expectedState) diff --git a/app/upgrades/v2.5/upgrade.go b/app/upgrades/v2.5/upgrade.go index 12a26369..268b408a 100644 --- a/app/upgrades/v2.5/upgrade.go +++ b/app/upgrades/v2.5/upgrade.go @@ -23,7 +23,7 @@ func CreateUpgradeHandler( consensusParamsKeeper consensuskeeper.Keeper, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { - + // READ: https://github.com/cosmos/cosmos-sdk/blob/v0.47.4/UPGRADING.md#xconsensus baseAppLegacySS := paramsKeeper.Subspace(baseapp.Paramspace). WithKeyTable(paramstypes.ConsensusParamsKeyTable()) baseapp.MigrateParams(ctx, baseAppLegacySS, &consensusParamsKeeper) diff --git a/go.mod b/go.mod index e2217a9b..51083974 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/terra-money/core/v2 go 1.20 require ( - cosmossdk.io/simapp v0.0.0-20230224204036-a6adb0821462 + cosmossdk.io/tools/rosetta v0.2.1 github.com/CosmWasm/wasmd v0.40.0 github.com/cometbft/cometbft v0.37.2 github.com/cometbft/cometbft-db v0.8.0 @@ -37,7 +37,6 @@ require ( cosmossdk.io/errors v1.0.0 // indirect cosmossdk.io/log v1.2.0 // indirect cosmossdk.io/math v1.0.1 // indirect - cosmossdk.io/tools/rosetta v0.2.1 // indirect filippo.io/edwards25519 v1.0.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.2 // indirect @@ -187,7 +186,7 @@ require ( replace ( // This is a temporary fix since the latest version updated some function signatures. To remove when updating to cosmos 47 github.com/ChainSafe/go-schnorrkel => github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d - github.com/CosmWasm/wasmd => github.com/terra-money/wasmd v0.40.0-terra.rc.1 + github.com/CosmWasm/wasmd => github.com/notional-labs/wasmd v0.40.0-tf.rc4 github.com/cosmos/cosmos-sdk => github.com/terra-money/cosmos-sdk v0.47.4-terra.rc.1 github.com/cosmos/ledger-cosmos-go => github.com/terra-money/ledger-terra-go v0.11.2 github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 diff --git a/go.sum b/go.sum index e31dd888..5bea4f9b 100644 --- a/go.sum +++ b/go.sum @@ -203,8 +203,6 @@ cosmossdk.io/log v1.2.0 h1:BbykkDsutXPSy8RojFB3KZEWyvMsToLy0ykb/ZhsLqQ= cosmossdk.io/log v1.2.0/go.mod h1:GNSCc/6+DhFIj1aLn/j7Id7PaO8DzNylUZoOYBL9+I4= cosmossdk.io/math v1.0.1 h1:Qx3ifyOPaMLNH/89WeZFH268yCvU4xEcnPLu3sJqPPg= cosmossdk.io/math v1.0.1/go.mod h1:Ygz4wBHrgc7g0N+8+MrnTfS9LLn9aaTGa9hKopuym5k= -cosmossdk.io/simapp v0.0.0-20230224204036-a6adb0821462 h1:g8muUHnXL8vhld2Sjilyhb1UQObc+x9GVuDK43TYZns= -cosmossdk.io/simapp v0.0.0-20230224204036-a6adb0821462/go.mod h1:4Dd3NLoLYoN90kZ0uyHoTHzVVk9+J0v4HhZRBNTAq2c= cosmossdk.io/tools/rosetta v0.2.1 h1:ddOMatOH+pbxWbrGJKRAawdBkPYLfKXutK9IETnjYxw= cosmossdk.io/tools/rosetta v0.2.1/go.mod h1:Pqdc1FdvkNV3LcNIkYWt2RQY6IP1ge6YWZk8MhhO9Hw= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= @@ -936,6 +934,8 @@ github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxzi github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/neilotoole/errgroup v0.1.6/go.mod h1:Q2nLGf+594h0CLBs/Mbg6qOr7GtqDK7C2S41udRnToE= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/notional-labs/wasmd v0.40.0-tf.rc4 h1:G5WWjqY4wdz+KNWIT1URI0JtvUJHOga7BmunZJnZZbA= +github.com/notional-labs/wasmd v0.40.0-tf.rc4/go.mod h1:aPgBhESxe9quekPH05qjs0Je7htYB2kbXUTnXGO68Ho= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= @@ -1144,8 +1144,6 @@ github.com/terra-money/cosmos-sdk v0.47.4-terra.rc.1 h1:4URIYtFOmoNbJCF8KybNVuSY github.com/terra-money/cosmos-sdk v0.47.4-terra.rc.1/go.mod h1:T9rq+KgUyG8iWcOa3IWH20Y1zBUBVichjBXseDIMkp8= github.com/terra-money/ledger-terra-go v0.11.2 h1:BVXZl+OhJOri6vFNjjVaTabRLApw9MuG7mxWL4V718c= github.com/terra-money/ledger-terra-go v0.11.2/go.mod h1:ClJ2XMj1ptcnONzKH+GhVPi7Y8pXIT+UzJ0TNt0tfZE= -github.com/terra-money/wasmd v0.40.0-terra.rc.1 h1:KVuB1Y2iJTjJOmaGyP450pIoUXu745gPpBB/GfX9JJc= -github.com/terra-money/wasmd v0.40.0-terra.rc.1/go.mod h1:aPgBhESxe9quekPH05qjs0Je7htYB2kbXUTnXGO68Ho= github.com/tidwall/btree v1.6.0 h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg= github.com/tidwall/btree v1.6.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= github.com/tidwall/gjson v1.12.1/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=