From b9d83b18e3627cd358d952eb4d42261e42d2dac2 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Mon, 21 Oct 2024 12:04:36 -0400 Subject: [PATCH] refactor: remove StakingKeeper dependency from GlobalFeeDecorator --- app/ante.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ante.go b/app/ante.go index 6638869f6..a466f1c87 100644 --- a/app/ante.go +++ b/app/ante.go @@ -58,7 +58,7 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { ante.NewTxTimeoutHeightDecorator(), ante.NewValidateMemoDecorator(options.AccountKeeper), // ante.NewConsumeGasForTxSizeDecorator(options.AccountKeeper), - globalfeeante.NewFeeDecorator(options.BypassMinFeeMsgTypes, options.GlobalFeeKeeper, options.StakingKeeper, 2_000_000), + globalfeeante.NewFeeDecorator(options.BypassMinFeeMsgTypes, options.GlobalFeeKeeper, 2_000_000), // ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker), ante.NewSetPubKeyDecorator(options.AccountKeeper), // SetPubKeyDecorator must be called before all signature verification decorators ante.NewValidateSigCountDecorator(options.AccountKeeper),