-
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
Remove bech32 PubKey support #7477
Conversation
c1b2f9a
to
88e04f7
Compare
It may be good to keep the removal of bech32 and removing code duplication/test helper package as two separate PRs. They are orthogonal changes. If someone needs to come back to this PR to view the changes having it only be the removal of bech32, like the title describes, will make the review quicker |
I tend to agree with this perspective. I know it's annoying and I've had to regretfully split up many of my PRs for reasons like this. In the end though, I think this approach is the best for the SDK. |
Yes. I also agree, however when going through the code it was already in my head to refactor. I won't add more things. All this changes are related - all this edits would require doing extra error check. Instead, I moved it to a function. |
3eaa1f8
to
73c846b
Compare
I'm breaking this PR into 2, for the moment I've extracted a code for test refactor and will submit another PR for it. |
This probably also needs to include removing this from the keyring (cc @alexanderbez ) |
73c846b
to
faa822a
Compare
This pull request introduces 2 alerts when merging faa822a into 30efa5a - view on LGTM.com new alerts:
|
3a9d4b0
to
ea2c091
Compare
ea2c091
to
7df2182
Compare
Benchmark finished. See the result: https://github.orijtech.com/benchmark/result?id=559fdfd75d03470f985ba43e1c0b3b1c |
Benchmark beginning. Status page: https://github.orijtech.com/benchmark/status?commit=b0b8f59e07d02cda98f00c7f4f40268f9794f586 |
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.
Generally looks good. The PR has a bit of scope creep but should be fine. Docs will follow in a different PR right?
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.
Tested ACK!
This has enough reviews and my change request was addressed
Benchmark finished. See the result: https://github.orijtech.com/benchmark/result?id=cf64a08b681247d3b7ce743819f0fbad |
Benchmark beginning. Status page: https://github.orijtech.com/benchmark/status?commit=0436894abe27cbf8a3afde4c29f54033a6c493f3 |
Any idea why the following test is failing so often?
|
Benchmark beginning. Status page: https://github.orijtech.com/benchmark/status?commit=75c36fc1e7b3ce70d1b32af80a5cda0b353b57ac |
Benchmark finished. See the result: https://github.orijtech.com/benchmark/result?id=c73c25fb449649a786df7adb819b2426 |
Benchmark beginning. Status page: https://github.orijtech.com/benchmark/status?commit=1279ac69bc338d87f645720fb8621e493b57b598 |
Benchmark finished. See the result: https://github.orijtech.com/benchmark/result?id=8bcd3afb5f4d42f8b3fd14ffe70b6b8a |
Just a flaky test. But it's annoying and no one can really explain why this happens in the first. We definitely need to fix it. |
Benchmark beginning. Status page: https://github.orijtech.com/benchmark/status?commit=152ad45e85264f72c784f31146d38fa4068d1421 |
Benchmark beginning. Status page: https://github.orijtech.com/benchmark/status?commit=7568b6680a58a5e974b9126734dd62f95eb43b1b |
yeah, finally merged after 20 attempts to get the CI go through random errors. |
Benchmark finished. See the result: https://github.orijtech.com/benchmark/result?id=80b76a43a44a41bcb07add86cd78c8bf |
Description
Closes: #7447
This task essentially removes bech32 for public keys in the storage and user layer (clients, outputs etc..).
We are NOT breaking the legacy REST API because it deprecated anyway and will be removed.
Summary
ed25519
as an example on how to properly serialize interfaces (both binary and JSON).NewJSONAnyMarshaler
- a helper method to usecodec.(Un)marsjalJSON
withing a client context:Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes