-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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: Add fee.{payer,granter}
and tip
fields to StdSignDoc
#10348
Conversation
fee.{payer,granter}
and tip
fields to StdSignDocfee.{payer,granter}
and tip
fields to StdSignDoc
Co-authored-by: Simon Warta <[email protected]>
Co-authored-by: Simon Warta <[email protected]>
…into am/amino-tipper
Putting this PR as R4R |
Codecov Report
@@ Coverage Diff @@
## master #10348 +/- ##
==========================================
- Coverage 64.42% 64.41% -0.02%
==========================================
Files 573 573
Lines 54619 54649 +30
==========================================
+ Hits 35190 35202 +12
- Misses 17432 17449 +17
- Partials 1997 1998 +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.
lgtm
Co-authored-by: atheeshp <[email protected]>
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.
Hi Amaury, looking through this I can't find much to change. I think one of the unit tests is redundant but otherwise looks great.
At this stage do the docs/core/transactions.md, docs/basics/tx-lifecycle.md, docs/basics/gas-fees.md need to be updated?
* Add IsTipper * Use addr in signer data * Always populate addr in signer data * fi error messages * make proto gen * fix build * Add fields to sign docs and sign mode handler * Remove getSequence * Update x/auth/migrations/legacytx/stdtx.go Co-authored-by: Simon Warta <[email protected]> * Update x/auth/migrations/legacytx/stdsign.go Co-authored-by: Simon Warta <[email protected]> * Use addressCodec * NewTxConfig with addrCdc * REmove simapp.NewBech32 * Move bech32 stuff to x/auth/address * Add changelog * Move address.Codec to x/auth * Fix test * Add tests for tipper and feepayer * Rename tests * Add more tests * Empty tip test * Revert unwanted files * Less line diff * fix test * fix another test * Fix test * Update x/auth/migrations/legacytx/stdtx_test.go Co-authored-by: atheeshp <[email protected]> * Address reviews Co-authored-by: Simon Warta <[email protected]> Co-authored-by: atheeshp <[email protected]>
Description
Closes: #10346
StdSignDoc used by LEGACY_AMINO_JSON:
Depends on:
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
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