You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a test file I'd like to construct a transaction that uses the feegrant module. I want account B to pay the fee for a transaction submitted by account A. I'm using TxBuilder but I'm not sure if I should invoke SetFeePayer or SetFeeGranter.
Proposal
It would help me if this interface contained a Godoc that explained which one should be invoked for my use case.
The text was updated successfully, but these errors were encountered:
My test was failing because I was invoking SetFeePayer but appears to work how I would expect with SetFeeGranter. Since the naming here is confusing, I think docs would help.
Context
cosmos-sdk/client/tx_config.go
Lines 48 to 51 in bd04173
Problem
In a test file I'd like to construct a transaction that uses the feegrant module. I want account B to pay the fee for a transaction submitted by account A. I'm using TxBuilder but I'm not sure if I should invoke
SetFeePayer
orSetFeeGranter
.Proposal
It would help me if this interface contained a Godoc that explained which one should be invoked for my use case.
The text was updated successfully, but these errors were encountered: