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

1002: Verification Error: Execution: Could not convert parameter tx between node and runtime: No such variant in enum MultiAddress: RuntimeApi, Execution: Could not convert parameter tx between node and runtime: No such variant in enum MultiAddress #289

Open
HamzaYasin1 opened this issue Aug 16, 2022 · 3 comments

Comments

@HamzaYasin1
Copy link

1002: Verification Error: Execution: Could not convert parameter txbetween node and runtime: No such variant in enum MultiAddress: RuntimeApi, Execution: Could not convert parametertx between node and runtime: No such variant in enum MultiAddress

This issue wasn't in substrate 2.0.0 but after upgrading the runtime to 2.0.1 so facing this error.

You can produce this issue while using the below repo. https://github.com/substrate-developer-hub/substrate-node-template/tree/v2.0.1

If anyone knows what are the types for this repo, please let me know.

Thanks

@cdamian
Copy link
Contributor

cdamian commented Dec 5, 2023

Is this still something that we can help with? Can you also provide more details about when this error was encountered? Were you trying to execute an extrinsic?

@HamzaYasin1
Copy link
Author

This problem arises when there is a mismatch in developer types. However, when we correctly match the types, it functions properly.

I'm still eager to understand the precise method for calculating the required types for my chain, especially when incorporating a custom pallet.

@cdamian
Copy link
Contributor

cdamian commented Dec 5, 2023

Yes, if you are using a non-default MultiAddress on your chain then you would need to update it accordingly. The same goes with most of the types that are using when interacting using this lib, either when retrieving events or reading storages.

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

2 participants