Skip to content
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 and add more bech32m encodings #849

Closed
wants to merge 24 commits into from

Conversation

tzemanovic
Copy link
Member

@tzemanovic tzemanovic commented Nov 30, 2022

based on v0.14.0

Since we're doing breaking changes for genesis in #685, it's a good opportunity to add bech32m string encoding for common::PublicKey and DkgPublicKey and use that for genesis instead the hex

This PR:

  • refactors bech32m for transparent and MASP addresses to easier re-use
  • adds bench32m encoding for common::{PublicKey, Signature} and DkgPublicKey

@tzemanovic tzemanovic force-pushed the tomas/human-readable-string-encoding branch from 7933bec to 191192d Compare December 6, 2022 09:49
@tzemanovic tzemanovic mentioned this pull request Dec 7, 2022
tzemanovic added a commit that referenced this pull request Dec 7, 2022
@tzemanovic
Copy link
Member Author

pls update wasm

@tzemanovic tzemanovic marked this pull request as ready for review December 8, 2022 09:28
@juped juped added this to the 0.14 milestone Jan 10, 2023
tzemanovic added a commit that referenced this pull request Jan 12, 2023
@tzemanovic tzemanovic force-pushed the tomas/human-readable-string-encoding branch from 97e147f to d0fa606 Compare January 12, 2023 11:39
@tzemanovic
Copy link
Member Author

pls update wasm

tzemanovic added a commit that referenced this pull request Feb 8, 2023
@tzemanovic tzemanovic force-pushed the tomas/human-readable-string-encoding branch 2 times, most recently from e510115 to cb4cf8e Compare February 8, 2023 13:00
@tzemanovic
Copy link
Member Author

pls update wasm

@adrianbrink
Copy link
Member

@tzemanovic Do you want to keep this open or reopen it when we are ready to merge this into the next release.

@tzemanovic tzemanovic reopened this May 26, 2023
@tzemanovic
Copy link
Member Author

@Fraccaman this has breaking changes for genesis, so let's leave it until #685 is also ready

@tzemanovic tzemanovic marked this pull request as draft May 26, 2023 14:41
@tzemanovic tzemanovic force-pushed the tomas/human-readable-string-encoding branch from 0f7da43 to 43758d3 Compare June 23, 2023 15:44
@tzemanovic tzemanovic force-pushed the tomas/human-readable-string-encoding branch from 099b224 to 37c0315 Compare July 31, 2023 14:45
…ma/namada into tomas/human-readable-string-encoding

* 'tomas/human-readable-string-encoding' of github.com:anoma/namada:
  wasm: update checksums
  test/e2e/ledger_tests: use bech32m PK format for `init-account` cmd
  core/key: add a helper to gen ed25519 key in bech32m format
  add `common::Signature` bech32m encoding
  changelog: add #849
  add bech32m string encoding for `common::PublicKey` and `DkgPublicKey`
  refactor bech32m string encoding for address and MASP addresses
@tzemanovic
Copy link
Member Author

included in #2088

@tzemanovic tzemanovic closed this Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants