--- a/README.md +++ b/README.md @@ -63,17 +63,17 @@ 2. Remove all installed toolchains with `rustup toolchain list` and `rustup toolchain uninstall `. -3. Install install nightly 2021-03-01 and make it default: +3. Install install nightly 2021-06-28 and make it default: ```bash -rustup toolchain install nightly-2021-03-01 -rustup default nightly-2021-03-01 +rustup toolchain install nightly-2021-06-28 +rustup default nightly-2021-06-28 ``` 4. Add wasm target for nightly toolchain: ```bash -rustup target add wasm32-unknown-unknown --toolchain nightly-2021-03-01 +rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-28 ``` 5. Build: @@ -135,7 +135,7 @@ ## Building and Running as Parachain locally -Rust toolchain: nightly-2021-04-23 +Rust toolchain: nightly-2021-06-28 Note: checkout this project and polkadot project (see below) in the sibling folders (both under the same folder) ### Build relay @@ -143,7 +143,7 @@ ``` git clone https://github.com/paritytech/polkadot.git cd polkadot -git checkout aa386760 +git checkout release-v0.9.9 cargo build --release ``` @@ -208,12 +208,12 @@ First of all, add rust toolchain and make it default. ```bash -rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-01 +rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-28 ``` Then in "/node/src" run build command below ```bash -cargo +nightly-2020-10-01 build --release --features runtime-benchmarks +cargo +nightly-2021-06-28 build --release --features runtime-benchmarks ``` Run benchmark --- a/tests/README.md +++ b/tests/README.md @@ -5,10 +5,10 @@ 1. Checkout polkadot in sibling folder with this project ```bash git clone https://github.com/paritytech/polkadot.git && cd polkadot -git checkout aa3867609 +git checkout release-v0.9.9 ``` -2. Build with nightly-2021-04-23 +2. Build with nightly-2021-06-28 ```bash cargo build --release ```