Skip to content

Crust pallet not found #288

Answered by arjanz
PaTara43 asked this question in Q&A
Discussion options

You must be logged in to vote

Ok I did some tests and the culprit is actually manually setting the type registry to type_registry_preset="crust".

This was necessary before in order to interpret the types used in the runtime, but I noticed Crust Shadow on Kusama upgraded to MetadataV14, which embeds its own type registry (PortableRegistry), so that drops the need to set manual types.

After analyzing what PolkadotJS generate for extrinsic bytes I found out the real culprit is actually the change in Address from AccountId to MultiAddress, which adds one extra bytes in front of the AccountId and because that was missing, it messed up the decoded by the runtime and caused the panic.

TL;DR: you can omit the type_registry_pr…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by arjanz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #251 on January 03, 2023 14:45.