Skip to content

Commit 6351dc3

Browse files
authored
docs(client): Update setFeeGranter and setFeePayer comments (#22526)
1 parent 3d618f5 commit 6351dc3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

client/tx_config.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,17 @@ type (
4747
SetSignatures(signatures ...signingtypes.SignatureV2) error
4848
SetMemo(memo string)
4949
SetFeeAmount(amount sdk.Coins)
50+
// SetFeePayer sets the address of who will pay the fees for this transaction.
51+
// Note: The fee payer must sign the transaction in addition to any other required signers.
5052
SetFeePayer(feePayer sdk.AccAddress)
5153
SetGasLimit(limit uint64)
5254
SetTimeoutHeight(height uint64)
5355
SetTimeoutTimestamp(timestamp time.Time)
5456
SetUnordered(v bool)
57+
// SetFeeGranter sets the address of the fee granter for this transaction.
58+
// A fee granter is an account that has given permission (via the feegrant module)
59+
// to pay fees on behalf of another account. Unlike the fee payer, the fee granter
60+
// does not need to sign the transaction.
5561
SetFeeGranter(feeGranter sdk.AccAddress)
5662
AddAuxSignerData(tx.AuxSignerData) error
5763
}

0 commit comments

Comments
 (0)