diff --git a/app/ante/ante.go b/app/ante/ante.go index 356da994..baad76df 100644 --- a/app/ante/ante.go +++ b/app/ante/ante.go @@ -67,6 +67,10 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { ante.NewConsumeGasForTxSizeDecorator(options.AccountKeeper), feemarketante.NewFeeMarketCheckDecorator( // fee market check replaces fee deduct decorator options.FeeMarketKeeper, + options.AccountKeeper, + options.BankKeeper, + options.FeegrantKeeper, + options.TxFeeChecker, ), // fees are deducted in the fee market deduct post handler ante.NewSetPubKeyDecorator(options.AccountKeeper), // SetPubKeyDecorator must be called before all signature verification decorators ante.NewValidateSigCountDecorator(options.AccountKeeper), diff --git a/go.mod b/go.mod index 68884a76..e7660221 100644 --- a/go.mod +++ b/go.mod @@ -193,6 +193,6 @@ replace ( github.com/cosmos/ibc-go/v7 => github.com/terra-money/ibc-go/v7 v7.3.1-terra.0 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 - github.com/skip-mev/feemarket => github.com/terra-money/feemarket v0.0.0-20240206032516-4ee63309c483 + github.com/skip-mev/feemarket => github.com/terra-money/feemarket v0.0.0-20240215091618-212bc0ebe34e github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 ) diff --git a/go.sum b/go.sum index cf95f0b5..c37b0342 100644 --- a/go.sum +++ b/go.sum @@ -1136,8 +1136,8 @@ github.com/terra-money/alliance v0.3.2 h1:MuL3RBw+jXFv4io5PhaBn7jRUBvlJLUzgpD6gx github.com/terra-money/alliance v0.3.2/go.mod h1:HDiUexeXRUkLkLRw5jLQcHuVt1Sx43HfyVl0kfwW3JM= github.com/terra-money/cosmos-sdk v0.47.6-terra.0 h1:BrK2cq8W5HsMT5siVdJCFDx1vcEMm+BGN5713FEm84g= github.com/terra-money/cosmos-sdk v0.47.6-terra.0/go.mod h1:xTc1chW8HyUWCfrgGbjS5jNu9RzlPVrBNfbL9RmZUio= -github.com/terra-money/feemarket v0.0.0-20240206032516-4ee63309c483 h1:gyk2P3ArL1owdohKMC/zYY8h1TU3AQ/EMejOR6Okhcg= -github.com/terra-money/feemarket v0.0.0-20240206032516-4ee63309c483/go.mod h1:Gl4UMT4EKGUj/qq9fn4JtH8tsDDjVzzN/2VMK55SXdo= +github.com/terra-money/feemarket v0.0.0-20240215091618-212bc0ebe34e h1:U/laoqxVmwswACZNtQJlLgRf/Gx/kfQnd3deHnOJMTI= +github.com/terra-money/feemarket v0.0.0-20240215091618-212bc0ebe34e/go.mod h1:Gl4UMT4EKGUj/qq9fn4JtH8tsDDjVzzN/2VMK55SXdo= github.com/terra-money/ibc-go/v7 v7.3.1-terra.0 h1:CF+iicqyI4BJsW2zjUrUrTxRRrPWFZC30VqvlRyVl28= github.com/terra-money/ibc-go/v7 v7.3.1-terra.0/go.mod h1:wvx4pPBofe5ZdMNV3OFRxSI4auEP5Qfqf8JXLLNV04g= github.com/terra-money/ledger-terra-go v0.11.2 h1:BVXZl+OhJOri6vFNjjVaTabRLApw9MuG7mxWL4V718c=