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

Compatibility with new ADR-028 address derivation mechanism #217

Open
larry0x opened this issue Dec 3, 2022 · 0 comments
Open

Compatibility with new ADR-028 address derivation mechanism #217

larry0x opened this issue Dec 3, 2022 · 0 comments

Comments

@larry0x
Copy link

larry0x commented Dec 3, 2022

Not a problem that needs to be addressed immediately, but I want to point this out here.

The latest version of ADR-028 (https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-028-public-key-addresses.md) suggests a new address derivation mechanism that results in 32-byte addresses, instead of the current bitcoin-style 20-byte ones.

as of cosmos-sdk v0.47.0-alpha1, this has not been implemented. But if this is implemented and new chains start adopting it, we will have a tricky situation where users will have two sets of addresses (even if these chains all use the 118 derivation path):

  • legacy “short addresses”
  • new “long addresses”

Short addresses will be used on chains running old versions of cosmos-sdk, and long addresses will be used on those with new versions.

I am wondering if Stargaze Names can be designed to support both address formats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant