diff --git a/ingest/usecase/plugins/basefee/base_fee_end_block_update_plugin.go b/ingest/usecase/plugins/basefee/base_fee_end_block_update_plugin.go index 4e9a3ef52..1c6556661 100644 --- a/ingest/usecase/plugins/basefee/base_fee_end_block_update_plugin.go +++ b/ingest/usecase/plugins/basefee/base_fee_end_block_update_plugin.go @@ -27,7 +27,6 @@ func NewEndBlockUpdatePlugin(routerRepository routerrepo.RouterRepository, txfee // ProcessEndBlock calculates the base fee for the current block and updates the router repository with the new base fee. func (p *baseFeeEndBlockUpdatePlugin) ProcessEndBlock(ctx context.Context, blockHeight uint64, metadata domain.BlockPoolMetadata) error { - baseFee, err := tx.CalculateFeePrice(ctx, p.txfeesClient) if err != nil { p.logger.Error("failed to calculate fee price", zap.Error(err)) diff --git a/ingest/usecase/plugins/orderbook/claimbot/export_test.go b/ingest/usecase/plugins/orderbook/claimbot/export_test.go index 3a117ac59..af52a2dac 100644 --- a/ingest/usecase/plugins/orderbook/claimbot/export_test.go +++ b/ingest/usecase/plugins/orderbook/claimbot/export_test.go @@ -53,7 +53,7 @@ func SendBatchClaimTxInternal( claims orderbookdomain.Orders, getEncodingConfig func() params.EncodingConfig, ) (*sdk.TxResponse, error) { - return sendBatchClaimTxInternal(ctx, keyring, txfeesClient, msgSimulator, txServiceClient, chainID, account, contractAddress, claims, getEncodingConfig) + return sendBatchClaimTxInternal(ctx, keyring, msgSimulator, txServiceClient, chainID, account, contractAddress, claims, getEncodingConfig) } // PrepareBatchClaimMsg is a test wrapper for prepareBatchClaimMsg. diff --git a/ingest/usecase/plugins/orderbook/claimbot/plugin.go b/ingest/usecase/plugins/orderbook/claimbot/plugin.go index 625cbad99..581b5ee60 100644 --- a/ingest/usecase/plugins/orderbook/claimbot/plugin.go +++ b/ingest/usecase/plugins/orderbook/claimbot/plugin.go @@ -172,7 +172,6 @@ func (o *claimbot) processOrderbookOrders(ctx context.Context, account *authtype txres, err := sendBatchClaimTx( ctx, o.config.Keyring, - o.config.TxfeesClient, o.config.MsgSimulator, o.config.TxServiceClient, o.config.ChainID, diff --git a/ingest/usecase/plugins/orderbook/claimbot/tx.go b/ingest/usecase/plugins/orderbook/claimbot/tx.go index 701694b9e..543ec903f 100644 --- a/ingest/usecase/plugins/orderbook/claimbot/tx.go +++ b/ingest/usecase/plugins/orderbook/claimbot/tx.go @@ -15,7 +15,6 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/osmosis-labs/osmosis/v26/app" "github.com/osmosis-labs/osmosis/v26/app/params" - txfeestypes "github.com/osmosis-labs/osmosis/v26/x/txfees/types" ) var ( @@ -32,7 +31,6 @@ var ( func sendBatchClaimTx( ctx context.Context, keyring keyring.Keyring, - txfeesClient txfeestypes.QueryClient, msgSimulator sqstx.MsgSimulator, txServiceClient txtypes.ServiceClient, chainID string, @@ -40,7 +38,7 @@ func sendBatchClaimTx( contractAddress string, claims orderbookdomain.Orders, ) (*sdk.TxResponse, error) { - return sendBatchClaimTxInternal(ctx, keyring, txfeesClient, msgSimulator, txServiceClient, chainID, account, contractAddress, claims, defaultEncodingConfigFn) + return sendBatchClaimTxInternal(ctx, keyring, msgSimulator, txServiceClient, chainID, account, contractAddress, claims, defaultEncodingConfigFn) } // sendBatchClaimTxInternal is a helper function that prepares and sends a batch claim transaction to the blockchain. @@ -48,7 +46,6 @@ func sendBatchClaimTx( func sendBatchClaimTxInternal( ctx context.Context, keyring keyring.Keyring, - txfeesClient txfeestypes.QueryClient, msgSimulator sqstx.MsgSimulator, txServiceClient txtypes.ServiceClient, chainID string,