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

Fix Base58PrefixMismatch in metadata #408

Open
pgolovkin opened this issue Apr 15, 2023 · 5 comments
Open

Fix Base58PrefixMismatch in metadata #408

pgolovkin opened this issue Apr 15, 2023 · 5 comments
Assignees

Comments

@pgolovkin
Copy link

Description

I'm adding Hashed network to the metadata portal so that Polkadot Vault cold wallet may be used for signing operation in the Hashed network.
And I'm getting error creating QR code for chainspec and metadata:

Specs(Base58PrefixMismatch { specs: 9072, meta: 42 })

Suggested Solution

Change the prefix in metadata to 9072 as a result system_ss58Prefix will contain 9072 value.

Alternatives

N/A

Additional Information

N/A

@pgolovkin
Copy link
Author

pgolovkin commented Dec 19, 2023

Just a reminder about this issue. As a result Hashed Network metadata may not be added to the Polkadot Vault (Parity Signer) via Metadata portal and users are not able to use Polkadot Vault (Parity Signer) hardware wallet for signing transactions in Hashed Network.
The metadata portal issue link novasamatech/metadata-portal#579

@mgravitt
Copy link
Contributor

@pgolovkin thanks for this. Is the metadata property in the chain spec supposed to be 'system_ss58format'? Is there anywhere else this value needs to go?

We've tried a few options but it still shows as '42' in the Polkadot.js metadata. Thanks for help. See issue here: hashed-io/hashed-substrate-parachain#5

@pgolovkin
Copy link
Author

@mgravitt thanks for the reply! As I know you should redeploy the node (the binary) because the node is in charge of RPC query. The runtime upgrade is not enough. Please try to redeploy the node and query SS58 prefix.

@mgravitt
Copy link
Contributor

@pgolovkin thanks, when I query the RPC node for system properties, I get 9072 as the ss58format and prefix. Is there another property value that needs to be set?

https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fc1.hashed.live#/rpc

image

@pgolovkin
Copy link
Author

Query the constant system_ss58Prefix
image

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

3 participants