-
Notifications
You must be signed in to change notification settings - Fork 330
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
Add some docs to the payment module #187
Conversation
x/payment/types/builder.go
Outdated
func (k *KeyringSigner) BuildSignedTx(builder sdkclient.TxBuilder, msg sdktypes.Msg) (authsigning.Tx, error) { | ||
func (k *KeyringSigner) BuildSignedTx(msg sdktypes.Msg, options ...TxBuilderOption) (authsigning.Tx, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this slight refactor isn't really inside the scope of this PR, I decided to include it anyway, as it is very minor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we pull this out or can we add this into the pr description. In the future if we need to reference this PR for this code it could get confusing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pulled this out, and will add it in a different PR
Co-authored-by: John Adler <[email protected]>
Co-authored-by: John Adler <[email protected]>
Co-authored-by: John Adler <[email protected]>
Co-authored-by: John Adler <[email protected]>
Co-authored-by: John Adler <[email protected]>
x/payment/spec/docs.md
Outdated
There are tools to programmatically create, sign, and broadcast `MsgWirePayForMessages` | ||
```go | ||
// use a keyring to sign messages programmatically | ||
keyringSigner, err := NewKeyringSigner(keyring, "keyring account name", "chain-id-1") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im guessing this is the keyringsinger of this module and not the general sdk. Would be good to mention as this is the most confusing part.
May be good to open a issue on how to delete this code too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
adds some better docs to the payment module
closes: #178
rendered