@@ -10,12 +10,12 @@ import (
1010 sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
1111 "github.com/cosmos/cosmos-sdk/x/auth/ante"
1212 bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
13- ibcante "github.com/cosmos/ibc-go/v8 /modules/core/ante"
14- ibckeeper "github.com/cosmos/ibc-go/v8 /modules/core/keeper"
13+ ibcante "github.com/cosmos/ibc-go/v10 /modules/core/ante"
14+ ibckeeper "github.com/cosmos/ibc-go/v10 /modules/core/keeper"
1515 feemarketante "github.com/skip-mev/feemarket/x/feemarket/ante"
1616
17- globalfeeante "github.com/neutron-org/neutron/v9 /x/globalfee/ante"
18- globalfeekeeper "github.com/neutron-org/neutron/v9 /x/globalfee/keeper"
17+ globalfeeante "github.com/neutron-org/neutron/v10 /x/globalfee/ante"
18+ globalfeekeeper "github.com/neutron-org/neutron/v10 /x/globalfee/keeper"
1919)
2020
2121// HandlerOptions extend the SDK's AnteHandler options by requiring the IBC
@@ -27,7 +27,7 @@ type HandlerOptions struct {
2727 AccountKeeper feemarketante.AccountKeeper
2828 IBCKeeper * ibckeeper.Keeper
2929 GlobalFeeKeeper globalfeekeeper.Keeper
30- WasmConfig * wasmTypes.NodeConfig
30+ NodeConfig * wasmTypes.NodeConfig
3131 TXCounterStoreService corestoretypes.KVStoreService
3232 FeeMarketKeeper feemarketante.FeeMarketKeeper
3333}
@@ -42,7 +42,7 @@ func NewAnteHandler(options HandlerOptions, _ log.Logger) (sdk.AnteHandler, erro
4242 if options .SignModeHandler == nil {
4343 return nil , errors .Wrap (sdkerrors .ErrLogic , "sign mode handler is required for ante builder" )
4444 }
45- if options .WasmConfig == nil {
45+ if options .NodeConfig == nil {
4646 return nil , errors .Wrap (sdkerrors .ErrLogic , "wasm config is required for ante builder" )
4747 }
4848 if options .TXCounterStoreService == nil {
@@ -60,7 +60,7 @@ func NewAnteHandler(options HandlerOptions, _ log.Logger) (sdk.AnteHandler, erro
6060
6161 anteDecorators := []sdk.AnteDecorator {
6262 ante .NewSetUpContextDecorator (),
63- wasmkeeper .NewLimitSimulationGasDecorator (options .WasmConfig .SimulationGasLimit ), // after setup context to enforce limits early
63+ wasmkeeper .NewLimitSimulationGasDecorator (options .NodeConfig .SimulationGasLimit ), // after setup context to enforce limits early
6464 wasmkeeper .NewCountTXDecorator (options .TXCounterStoreService ),
6565 ante .NewExtensionOptionsDecorator (options .ExtensionOptionChecker ),
6666 ante .NewValidateBasicDecorator (),
0 commit comments