Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

substrate not starting after compile #13822

Closed
2 tasks done
anilnokia opened this issue Apr 4, 2023 · 4 comments
Closed
2 tasks done

substrate not starting after compile #13822

anilnokia opened this issue Apr 4, 2023 · 4 comments
Labels
J2-unconfirmed Issue might be valid, but it’s not yet known.

Comments

@anilnokia
Copy link

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

root@blipp14:~/substrate-node-template# ./target/release/node-template --dev
2023-04-04 22:13:26 Substrate Node
2023-04-04 22:13:26 ✌️ version 4.0.0-dev-700c3a186e5
2023-04-04 22:13:26 ❤️ by Substrate DevHub https://github.com/substrate-developer-hub, 2017-2023
2023-04-04 22:13:26 📋 Chain specification: Development
2023-04-04 22:13:26 🏷 Node name: delicate-snakes-4871
2023-04-04 22:13:26 👤 Role: AUTHORITY
2023-04-04 22:13:26 💾 Database: RocksDb at /tmp/substrateC3GvHN/chains/dev/db/full
2023-04-04 22:13:26 ⛓ Native runtime: node-template-100 (node-template-1.tx1.au1)
Error: Service(Client(VersionInvalid("cannot deserialize module: UnknownOpcode(192)")))
2023-04-04 22:13:26 Cannot create a runtime error=Other("cannot deserialize module: UnknownOpcode(192)")

I keep getting this error on Ubuntu 20.04 and Ubuntu 22.04. I spent many days figure it out but no luck. Can you help?

Steps to reproduce

No response

@github-actions github-actions bot added the J2-unconfirmed Issue might be valid, but it’s not yet known. label Apr 4, 2023
@xlc
Copy link
Contributor

xlc commented Apr 4, 2023

duplicated to #13636

@anilnokia
Copy link
Author

anilnokia commented Apr 4, 2023 via email

@bkchr
Copy link
Member

bkchr commented Apr 5, 2023

Either downgrade your nightly compiler version or check out latest master that contains a fix.

@bkchr bkchr closed this as completed Apr 5, 2023
@hashtagamazing
Copy link

this is how i solved it:

rustup install 1.68.0
rustup default 1.68.0

rustup toolchain install nightly-2023-01-30
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-01-30
rustup override set nightly-2023-01-30

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
J2-unconfirmed Issue might be valid, but it’s not yet known.
Projects
None yet
Development

No branches or pull requests

4 participants