Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(client): Update setFeeGranter and setFeePayer comments (backport #22526) #22567

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions client/tx_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,17 @@ type (
SetSignatures(signatures ...signingtypes.SignatureV2) error
SetMemo(memo string)
SetFeeAmount(amount sdk.Coins)
// SetFeePayer sets the address of who will pay the fees for this transaction.
// Note: The fee payer must sign the transaction in addition to any other required signers.
SetFeePayer(feePayer sdk.AccAddress)
SetGasLimit(limit uint64)
SetTimeoutHeight(height uint64)
SetTimeoutTimestamp(timestamp time.Time)
SetUnordered(v bool)
// SetFeeGranter sets the address of the fee granter for this transaction.
// A fee granter is an account that has given permission (via the feegrant module)
// to pay fees on behalf of another account. Unlike the fee payer, the fee granter
// does not need to sign the transaction.
SetFeeGranter(feeGranter sdk.AccAddress)
AddAuxSignerData(tx.AuxSignerData) error
}
Expand Down
Loading