Skip to content

Commit

Permalink
remove WithClient
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Sep 16, 2024
1 parent 5f7a8b3 commit 46d9311
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion relayer/chains/cosmos/feegrant.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
1 change: 0 additions & 1 deletion relayer/chains/cosmos/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 46d9311

Please sign in to comment.