-
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
refactor(feegrant): remove bech32 global #15347
Conversation
opening this up for review, but wondering if i should remove the usage of sdk.Accaddress as well? cc @aaronc |
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.
I'm sort of split as to whether we should find a way to put address.Codec on codec.Codec. It sort of doesn't belong there. And it would also be really convenient for refactoring...
the main issue i see with this is that codec.Codec is technically optional in some modules, for example circuit. This would make it required. Im fine either way but prefer to not conflate two things like data encoding/decoding with simple addess encoding/decoding |
@tac0turtle your pull request is missing a changelog! |
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.
overall lgtm, few questions on the changes in validate basics.
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. Maybe just missing a changelog
Feegrant tests are failing: https://github.com/cosmos/cosmos-sdk/actions/runs/4490038334/jobs/7896619682?pr=15347 |
Test now ok: https://github.com/cosmos/cosmos-sdk/actions/runs/4513621099/jobs/7948701383?pr=15347 |
Co-authored-by: Julien Robert <[email protected]>
Description
ref #13140
remove global bech32 usage from feegrant
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