From ad362034131ff2d499b655de1cf330790fe05239 Mon Sep 17 00:00:00 2001 From: Eric Warehime Date: Mon, 11 Nov 2024 14:24:55 -0800 Subject: [PATCH] Remove unnecessary args (cherry picked from commit 9bbbb033d0b8afd437166aec0f80b2479a7166b7) --- cosmos/loadtest/client_factory.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cosmos/loadtest/client_factory.go b/cosmos/loadtest/client_factory.go index 8d871b2..f249fcf 100644 --- a/cosmos/loadtest/client_factory.go +++ b/cosmos/loadtest/client_factory.go @@ -5,7 +5,6 @@ import ( "fmt" "github.com/cometbft/cometbft/test/loadtime/payload" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" "github.com/informalsystems/tm-load-test/pkg/loadtest" petritypes "github.com/skip-mev/petri/core/v2/types" "github.com/skip-mev/petri/cosmos/v2/cosmosutil" @@ -39,7 +38,7 @@ type ClientFactoryConfig struct { MsgGenerator GenerateMsgs } -func NewDefaultClientFactory(cfg ClientFactoryConfig, mbm module.BasicManager) (*DefaultClientFactory, error) { +func NewDefaultClientFactory(cfg ClientFactoryConfig) *DefaultClientFactory { return &DefaultClientFactory{ chain: cfg.Chain, chainClient: &cosmosutil.ChainClient{Chain: cfg.Chain}, @@ -49,7 +48,7 @@ func NewDefaultClientFactory(cfg ClientFactoryConfig, mbm module.BasicManager) ( walletConfig: cfg.WalletConfig, encodingConfig: cfg.EncodingConfig, msgGenerator: cfg.MsgGenerator, - }, nil + } } // NewClient implements the ClientFactory's interface for creating new clients.