-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
feat(x/bank): autocli tx support #17868
Conversation
This comment has been minimized.
This comment has been minimized.
x/bank/autocli.go
Outdated
RpcMethod: "Burn", | ||
Use: "burn [from_key_or_address] [amount]", | ||
Short: "Burns the amount specified from the given account.", | ||
PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "amount"}}, |
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 does not match the usage description. If you want the from_key_or_address
as a positional argument, you need to add it here.
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.
mostly lgtm!
@@ -80,7 +76,7 @@ func BenchmarkTx(b *testing.B) { | |||
// - tx.* events: tx.fee, tx.acc_seq, tx.signature | |||
// - Sending Amount to recipient: coin_spent, coin_received, transfer and message.sender=<val1> | |||
// - Msg events: message.module=bank and message.action=/cosmos.bank.v1beta1.MsgSend (in one message) | |||
assert.Equal(b, 12, len(res.GetResult().GetEvents())) | |||
assert.Equal(b, 10, len(res.GetResult().GetEvents())) |
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.
Which ones are not send anymore?
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.
compared with old main commits, observed that few of the duplicate events were removed.
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.
🚀
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
Closes: #17827
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
make lint
andmake test
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change