diff --git a/README.md b/README.md index 30fae11e36d010c098aa6b68a75664e4137ae4d8..058608802f5656a465fe7f83ac211f8fb81061f5 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Once the development environment is set up, build the node template. This comman [native](https://substrate.dev/docs/en/knowledgebase/advanced/executor#native-execution) code: ```bash -cargo build --release +WASM_BUILD_TOOLCHAIN=nightly-2020-10-05 cargo build --release ``` ## Run diff --git a/docker-compose.yml b/docker-compose.yml index bc1922f47d963bb8ec34e383df32f7bc780fdf4e..f7f490363e3a699604f2fec57185e4f6366aee94 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,7 @@ services: - "9944:9944" environment: - CARGO_HOME=/var/www/node-template/.cargo + - WASM_BUILD_TOOLCHAIN=nightly-2020-10-05 volumes: - .:/var/www/node-template - type: bind diff --git a/rust-toolchain b/rust-toolchain deleted file mode 100644 index 65f2e79751a705900ed097d6e448691ce2fa507a..0000000000000000000000000000000000000000 --- a/rust-toolchain +++ /dev/null @@ -1,2 +0,0 @@ -stable-x86_64-unknown-linux-gnu -nightly-2020-10-05