From bbd668743be361f3efefe6f8050959db996fc4ab Mon Sep 17 00:00:00 2001 From: Lockwarr Date: Wed, 31 Jul 2024 15:57:46 +0300 Subject: [PATCH] wip --- app/keepers/keepers.go | 5 ++--- go.mod | 6 +++--- scripts/internal/genesis.sh | 3 ++- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 0ced3ab2..a4940fb8 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -381,8 +381,7 @@ func (appKeepers *AppKeepers) NewAppKeepers( authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) appKeepers.ICAHostKeeper = &icaHostKeeper - // TODO: use this with ibc-go v8.3.0 https://github.com/cosmos/ibc-go/issues/6415 - // appKeepers.ICAHostKeeper.WithQueryRouter(grpcQueryRouter) + appKeepers.ICAHostKeeper.WithQueryRouter(grpcQueryRouter) appKeepers.IcaModule = ica.NewAppModule(appKeepers.ICAControllerKeeper, appKeepers.ICAHostKeeper) @@ -424,7 +423,7 @@ func (appKeepers *AppKeepers) NewAppKeepers( var wasmOpts []wasmkeeper.Option // The last arguments can contain custom message handlers, and custom query handlers, // if we want to allow any custom callbacks - supportedFeatures := []string{"iterator", "stargate", "staking", "neutron", "migrate", "upgrade", "cosmwasm_1_1", "cosmwasm_1_2", "cosmwasm_1_3", "cosmwasm_1_4", "cosmwasm_2_0"} + supportedFeatures := []string{"iterator", "stargate", "staking", "neutron", "migrate", "upgrade", "cosmwasm_1_1", "cosmwasm_1_2", "cosmwasm_1_3", "cosmwasm_1_4", "cosmwasm_2_0", "cosmwasm_2_1"} wasmOpts = append(wasmbinding.RegisterCustomPlugins( appKeepers.InterchainTxsKeeper, appKeepers.InterchainQueriesKeeper, diff --git a/go.mod b/go.mod index ac72ba4e..d34eef6f 100644 --- a/go.mod +++ b/go.mod @@ -3,9 +3,9 @@ module github.com/Nolus-Protocol/nolus-core go 1.22.4 require ( - github.com/CosmWasm/wasmd v0.51.0 - github.com/CosmWasm/wasmvm/v2 v2.0.0 - github.com/cometbft/cometbft v0.38.11 + github.com/CosmWasm/wasmd v0.52.0 + github.com/CosmWasm/wasmvm/v2 v2.1.0 + github.com/cometbft/cometbft v0.38.10 github.com/cosmos/cosmos-sdk v0.50.7 github.com/cosmos/gogoproto v1.5.0 github.com/cosmos/ibc-go/v8 v8.3.2 diff --git a/scripts/internal/genesis.sh b/scripts/internal/genesis.sh index 34a4239d..442af3d2 100644 --- a/scripts/internal/genesis.sh +++ b/scripts/internal/genesis.sh @@ -75,7 +75,8 @@ generate_genesis() { _=$(__generate_proto_genesis_no_wasm "$chain_id" "$native_currency" \ "$accounts_spec" "$treasury_contract_addr" "$treasury_init_tokens_u128" "$admin_contract_addr" "$gov_voting_period" \ "$gov_max_deposit_period" "$gov_expedited_voting_period" "$staking_max_validators" "$feerefunder_ack_fee_min" "$feerefunder_timeout_fee_min" "$store_code_privileged_addr") - _=$(add_wasm_messages "$genesis_home_dir" "$wasm_code_path" "$treasury_init_tokens" "$dex_admin_address") + # TODO + #_=$(add_wasm_messages "$genesis_home_dir" "$wasm_code_path" "$treasury_init_tokens" "$dex_admin_address") create_validator_txs="$(__gen_val_txns "$genesis_file" "$node_id_and_val_pubkeys" "$val_stake")" _=$(__integrate_genesis_txs "$create_validator_txs")