Open drewstone opened 3 years ago
Maybe this is the issue I'm having. I can run up the node from the instructions here https://contracts.edgewa.re/#/4/setting-up-a-local-node
But when I "Afterwards you can head to Polkadot Apps and connect to 127.0.0.1:9944" then I get initializing connection and nothing happens.
I also had issues with the setup for WASM https://contracts.edgewa.re/#/0/setup
After some jiggery pokery I managed to get things to compile, but as I tried to add some more functionality I got stuck on this issue https://github.com/paritytech/ink/issues/688
From a new debian install I can reproduce some of the issues I had with setup. If I follow the instructions (adding in some extra stuff to make it work)
docker run --rm -ti debian:bullseye-slim
The run the following in bash (This is the order specified in the WAM setup documentation)
apt-get install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl libz-dev
curl https://sh.rustup.rs -sSf | sh
source ~/.cargo/env
rustup target add wasm32-unknown-unknown --toolchain stable
rustup component add rust-src --toolchain nightly
Then I get the error
error: toolchain 'nightly-x86_64-unknown-linux-gnu' is not installed
I can fix this by installing nightly, but not the nightly with a date. i.e. instructions want me to do
rustup toolchain install nightly-2020-06-01
But then if I try to install rust-src again I still get the error that it's looking for nightly. So then I'm not sure if the compilations I get on https://github.com/paritytech/ink/issues/688 are because I'm on the wrong nightly or what.
Users are having trouble getting the tutorials to work out-of-the-box and we should fix this ASAP.