difftreelog
update rust and polkadot version
in: master
2 files changed
README.mddiffbeforeafterboth6363642. Remove all installed toolchains with `rustup toolchain list` and `rustup toolchain uninstall <toolchain>`.642. Remove all installed toolchains with `rustup toolchain list` and `rustup toolchain uninstall <toolchain>`.6565663. Install install nightly 2021-03-01 and make it default:663. Install install nightly 2021-06-28 and make it default:676768```bash68```bash69rustup toolchain install nightly-2021-03-0169rustup toolchain install nightly-2021-06-2870rustup default nightly-2021-03-0170rustup default nightly-2021-06-2871```71```7272734. Add wasm target for nightly toolchain:734. Add wasm target for nightly toolchain:747475```bash75```bash76rustup target add wasm32-unknown-unknown --toolchain nightly-2021-03-0176rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-2877```77```7878795. Build:795. Build:135135136## Building and Running as Parachain locally136## Building and Running as Parachain locally137137138Rust toolchain: nightly-2021-04-23138Rust toolchain: nightly-2021-06-28139Note: checkout this project and polkadot project (see below) in the sibling folders (both under the same folder)139Note: checkout this project and polkadot project (see below) in the sibling folders (both under the same folder)140140141### Build relay141### Build relay142142143```143```144git clone https://github.com/paritytech/polkadot.git144git clone https://github.com/paritytech/polkadot.git145cd polkadot145cd polkadot146git checkout aa386760146git checkout release-v0.9.9147cargo build --release147cargo build --release148```148```149149208208209First of all, add rust toolchain and make it default.209First of all, add rust toolchain and make it default.210```bash210```bash211rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-01211rustup target add wasm32-unknown-unknown --toolchain nightly-2021-06-28212```212```213213214Then in "/node/src" run build command below214Then in "/node/src" run build command below215```bash215```bash216cargo +nightly-2020-10-01 build --release --features runtime-benchmarks216cargo +nightly-2021-06-28 build --release --features runtime-benchmarks217```217```218218219Run benchmark219Run benchmarktests/README.mddiffbeforeafterboth--- 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
```