From 46d9311746f4c58f7344b404470b2a76e57c4480 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Mon, 16 Sep 2024 12:07:48 -0500 Subject: [PATCH] remove WithClient --- relayer/chains/cosmos/feegrant.go | 1 - relayer/chains/cosmos/tx.go | 1 - 2 files changed, 2 deletions(-) diff --git a/relayer/chains/cosmos/feegrant.go b/relayer/chains/cosmos/feegrant.go index 1ecd442c8..7045bd1fd 100644 --- a/relayer/chains/cosmos/feegrant.go +++ b/relayer/chains/cosmos/feegrant.go @@ -333,7 +333,6 @@ func (cc *CosmosProvider) EnsureBasicGrants(ctx context.Context, memo string, ga if len(msgs) > 0 { cliCtx := client.Context{}. - // WithClient(cc.RPCClient). // TODO(reece): how does server/v2 handle this? WithInterfaceRegistry(cc.Cdc.InterfaceRegistry). WithChainID(cc.PCfg.ChainID). WithCodec(cc.Cdc.Marshaler). diff --git a/relayer/chains/cosmos/tx.go b/relayer/chains/cosmos/tx.go index 06081995f..2afc0d995 100644 --- a/relayer/chains/cosmos/tx.go +++ b/relayer/chains/cosmos/tx.go @@ -1670,7 +1670,6 @@ func (cc *CosmosProvider) PrepareFactory(txf tx.Factory, signingKey string) (tx. } cliCtx := client.Context{}. - // WithClient(cc.RPCClient). // TODO(reece): will this break gordian? hwo does server/v2 handle this? WithInterfaceRegistry(cc.Cdc.InterfaceRegistry). WithChainID(cc.PCfg.ChainID). WithCodec(cc.Cdc.Marshaler).