question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: 1002: Verification Error: Execution: Could not convert parameter `tx` between node and runtime

See original GitHub issue

I’m just following the tutorial at https://substrate.dev/docs/en/tutorials/create-your-first-substrate-chain/interact on OSX 11.1 and rust 14.9. - I needed to bump the backend to version 2.0.1 to get the back end to work.

The front end runs and trying to do any transfer I get the error in the subject line:

😞 Transaction Failed: Error: 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
Screenshot 2021-01-19 at 16 50 27

I see this being chatted about in the element chat room but could not see anyone mentioning a fix - any suggestions?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
NukeManDancommented, Jan 22, 2021

If you are using the node (backend) v2.0.1: Here is a fix for those struggling with the frontend v2.0.0. instead you should use the master branch of the frontend repo

To get the master branch cloned:

git clone -b master --depth 1 https://github.com/substrate-developer-hub/substrate-front-end-template

and then edit the following file for the frontend to replace the AccountId fields to MultiAddress

src/config/types.json

{
"Address": "MultiAddress",
"LookupSource": "MultiAddress"
}

Then install packages and start the dev server:

cd substrate-front-end-template
yarn install
yarn start

I have made a patch to use instead of manually editing the file you could use instead as well:

git clone -b NukeManDan-patch-1 --depth 1 https://github.com/substrate-developer-hub/substrate-front-end-template

#159 should fix the issue.

4reactions
tansakucommented, Jan 25, 2021

thanks @NukeManDan you’re correct I was logged in as Alice, but my transfers to Bob were also not working, but I have figured it out - the 1000000000000 unit transfers were not showing up for Bob as he already head MUnit amounts. I transferred to Charlie and that worked, and when I transferred 1000000000000000000 to Bob that showed up.

Restarting with the empty {} gives the same error as before:

😞 Transaction Failed: Error: 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

but adding in the MultiAddress settings makes it all work fine. I tried the empty {} with restarts of both front and back end to no avail, but with the MultiAddress change I’m good to go - thanks so much for your help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Execution: Could not convert parameter `tx` between node ...
1002: Verification Error: Execution: Could not convert parameter `tx` between node and runtime: No such variant in enum MultiAddress · Subscribe ...
Read more >
Execution: Could not convert parameter tx between node and ...
Verification Error : Execution: Could not convert parameter tx between node and runtime. Unfortunately, I can't transfer any balances with ...
Read more >
FAQ - polkadot{.js}
The typical error that you would see is Verification Error: Execution(ApiError("Could not convert parameter 'tx' between node and runtime .
Read more >
I get a "The executed contract exhausted its gas limit." when ...
ERROR : Module error: Contracts: OutOfGas The executed contract exhausted its gas limit. The output on the terminal running the node: (deploy):
Read more >
Help sending funds with Polkawallet - Exception: 1002 - Reddit
1002 : Verification Error: Execution failed: ApiError("Could not convert parameter `tx` between node and runtime: Error decoding field ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found