-
Notifications
You must be signed in to change notification settings - Fork 902
chore(bech32): Port bech32 extension #2038
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
Conversation
HexToBech32Method = "hexToBech32" | ||
// Bech32ToHexMethod defines the ABI method name to convert a bech32 | ||
// formatted address string to an EIP-55 address. | ||
Bech32ToHexMethod = "bech32ToHex" |
Check warning
Code scanning / CodeQL
Directly using the bech32 constants
switch method.Name { | ||
8000 case HexToBech32Method: | ||
bz, err = p.HexToBech32(method, args) | ||
case Bech32ToHexMethod: |
Check warning
Code scanning / CodeQL
Directly using the bech32 constants
Please add the CHANGELOG entry |
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.
Minor comments re setup and license
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.
Great job @Vvaradinov !
merging as the error seems unrelated |
Description
This PR ports the bech32 precompile over and initializes it, adding it to our
AvailableEVMExtensions
. Test coverage for the precompile is >90%.Closes #XXX