CyndieKamau / 30DaysOfPolkadot

3 stars 0 forks source link

random question #1

Open ganesh1997oli opened 1 year ago

ganesh1997oli commented 1 year ago

hey cyndie, how are you? Saw that you are doing 30daysofpolkadot. I am rust ink! smart contract developer. May be we can work together and collaborate.

CyndieKamau commented 1 year ago

Hey !!! Yeeah suureee I'd love that!!! I'm actually setting up everything and doing the substrate crash course before deploying any smart contract. I'd love collaborations!! Which level are you in rust ink! development?

ganesh1997oli commented 1 year ago

I am intermediate level we can talk on discord or telegram this is my discord username go123#9432

CyndieKamau commented 1 year ago

Okay... btw I'm having issues running a local node on substrate... here's my current Rust Toolchain;

rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/hp/.rustup

installed targets for active toolchain
--------------------------------------

wasm32-unknown-unknown
x86_64-unknown-linux-gnu

active toolchain
----------------

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.70.0-nightly (cf7ada217 2023-04-03)
ganesh1997oli commented 1 year ago

can you please shoe me the issue?

ganesh1997oli commented 1 year ago

are you facing this issue?

Screenshot 2023-04-05 at 10 45 52
CyndieKamau commented 1 year ago

Yes!! I'm having that issue when I try running the node.

hp@Cyndie:~/Desktop/30DaysOfPolkadot/day_one/substrate-node-template$ ./target/release/node-template --dev
2023-04-04 21:18:47 Substrate Node    
2023-04-04 21:18:47 ✌️  version 4.0.0-dev-700c3a186e5    
2023-04-04 21:18:47 ❀️  by Substrate DevHub <https://github.com/substrate-developer-hub>, 2017-2023    
2023-04-04 21:18:47 πŸ“‹ Chain specification: Development    
2023-04-04 21:18:47 🏷  Node name: abrasive-quiver-2825    
2023-04-04 21:18:47 πŸ‘€ Role: AUTHORITY    
2023-04-04 21:18:47 πŸ’Ύ Database: RocksDb at /tmp/substrateAMC6p6/chains/dev/db/full    
2023-04-04 21:18:47 β›“  Native runtime: node-template-100 (node-template-1.tx1.au1)    
Error: Service(Client(VersionInvalid("cannot deserialize module: UnknownOpcode(192)")))
2023-04-04 21:18:48 Cannot create a runtime error=Other("cannot deserialize module: UnknownOpcode(192)")
CyndieKamau commented 1 year ago

So checking online most suggestions were downgrading nightly, I tried so but it didn't work.

ganesh1997oli commented 1 year ago

I am also facing this issue I don't know why after updating nightly this become real mess for me😌.

CyndieKamau commented 1 year ago

Lemme try out binary! I downloaded so many versions at this rate my toolchain's messed up πŸ˜‚πŸ˜‚πŸ˜‚

ganesh1997oli commented 1 year ago

Finally got the solution @CyndieKamau , add this one to root folder and run cargo build --release then ./target/release/node-template --dev and it works