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

Update shentu bech32 prefix to shentu #79

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

HS-Joe
Copy link

@HS-Joe HS-Joe commented Jan 28, 2024

Shentu prefix was updated in version 2.8.0, see https://github.com/shentufoundation/shentu/releases/
Version 2.8.0 changes the Bech32 address prefix to 'shentu'.

Using the certik prefix causes issues with rest endpoints, for example https://shentu-rest.publicnode.com/cosmos/staking/v1beta1/delegations/certik1npauvhjz4zm4pejsquh3ey3lh3ec207k7p978e?pagination.limit=1000

Updating bech32PrefixAccAddr should be sufficient as the value is passed to packages/snap/src/wallet/wallet.ts#create method in addressPrefix which will generate the correct public address.

@HS-Joe
Copy link
Author

HS-Joe commented Apr 8, 2024

Hey @baryon2 could you check this PR? I know that Shentu is not a major chain but the change is minor. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants