git.delta.rocks / unique-network / refs/commits / cc055511983a

difftreelog

update toolchain version

Konstantin Astakhov2023-09-15parent: #cd116b8.patch.diff
in: master

9 files changed

modified.devcontainer/Dockerfilediffbeforeafterboth
13 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \13 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
14 nvm install v16.2.0 && \14 nvm install v16.2.0 && \
15 npm install -g yarn && \15 npm install -g yarn && \
16 rustup toolchain install nightly-2021-11-11 && \16 rustup toolchain install nightly-2023-05-22 && \
17 rustup default nightly-2021-11-11 && \17 rustup default nightly-2023-05-22 && \
18 rustup target add wasm32-unknown-unknown && \18 rustup target add wasm32-unknown-unknown && \
19 rustup component add rustfmt clippy && \19 rustup component add rustfmt clippy && \
20 cargo install cargo-expand cargo-edit cargo-contract20 cargo install cargo-expand cargo-edit cargo-contract
modified.docker/additional/Dockerfile-chainqldiffbeforeafterboth
15RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none15RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none
1616
17RUN rustup toolchain uninstall $(rustup toolchain list) && \17RUN rustup toolchain uninstall $(rustup toolchain list) && \
18 rustup toolchain install nightly-2022-11-15 && \18 rustup toolchain install nightly-2023-05-22 && \
19 rustup default nightly-2022-11-15 && \19 rustup default nightly-2023-05-22 && \
20 rustup target list --installed && \20 rustup target list --installed && \
21 rustup show21 rustup show
22RUN rustup target add wasm32-unknown-unknown --toolchain nightly-2022-11-1522RUN rustup target add wasm32-unknown-unknown --toolchain nightly-2023-05-22
2323
24RUN mkdir /unique_parachain24RUN mkdir /unique_parachain
25WORKDIR /unique_parachain25WORKDIR /unique_parachain
modified.docker/additional/Dockerfile-polkadotdiffbeforeafterboth
2FROM ubuntu:22.04 as rust-builder2FROM ubuntu:22.04 as rust-builder
3LABEL maintainer="Unique.Network"3LABEL maintainer="Unique.Network"
44
5ARG RUST_TOOLCHAIN=nightly-2022-10-095ARG RUST_TOOLCHAIN=nightly-2023-05-22
66
7ENV CARGO_HOME="/cargo-home"7ENV CARGO_HOME="/cargo-home"
8ENV PATH="/cargo-home/bin:$PATH"8ENV PATH="/cargo-home/bin:$PATH"
modified.github/workflows/forkless-update-data.ymldiffbeforeafterboth
40 network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, runtime_features {quartz-runtime}, wasm_name {quartz}, fork_source {${{ env.QUARTZ_REPLICA_FROM }}}40 network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, runtime_features {quartz-runtime}, wasm_name {quartz}, fork_source {${{ env.QUARTZ_REPLICA_FROM }}}
41 network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, runtime_features {unique-runtime}, wasm_name {unique}, fork_source {${{ env.UNIQUE_REPLICA_FROM }}}41 network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, runtime_features {unique-runtime}, wasm_name {unique}, fork_source {${{ env.UNIQUE_REPLICA_FROM }}}
4242
43 forkless-data-build:43 forkless-data:
4444
45 needs: prepare-execution-matrix45 needs: prepare-execution-matrix
46 # The type of runner that the job will run on46 # The type of runner that the job will run on
47 runs-on: [self-hosted-ci,large]47 runs-on: [self-hosted-ci,large]
4848
49 timeout-minutes: 138049 timeout-minutes: 1380
5050
51 name: ${{ matrix.network }}-data-build51 name: ${{ matrix.network }}-data
5252
53 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.53 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.
5454
modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
40 network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, runtime_features {quartz-runtime}, wasm_name {quartz}40 network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, runtime_features {quartz-runtime}, wasm_name {quartz}
41 network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, runtime_features {unique-runtime}, wasm_name {unique}41 network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, runtime_features {unique-runtime}, wasm_name {unique}
4242
43 forkless-nodata-build:43 forkless-nodata:
4444
45 needs: prepare-execution-matrix45 needs: prepare-execution-matrix
46 # The type of runner that the job will run on46 # The type of runner that the job will run on
47 runs-on: [self-hosted-ci,large]47 runs-on: [self-hosted-ci,large]
4848
49 timeout-minutes: 138049 timeout-minutes: 1380
5050
51 name: ${{ matrix.network }}-nodata-build51 name: ${{ matrix.network }}-nodata
5252
53 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.53 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.
5454
modified.github/workflows/node-only-update.ymldiffbeforeafterboth
42 network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, runtime_features {quartz-runtime}42 network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, runtime_features {quartz-runtime}
43 network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, runtime_features {unique-runtime}43 network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, runtime_features {unique-runtime}
4444
45 node-only-update-build:45 node-only-update:
4646
47 needs: prepare-execution-matrix47 needs: prepare-execution-matrix
48 # The type of runner that the job will run on48 # The type of runner that the job will run on
49 runs-on: [self-hosted-ci]49 runs-on: [self-hosted-ci]
5050
51 timeout-minutes: 2880 # 48 hours for execution jobs.51 timeout-minutes: 2880 # 48 hours for execution jobs.
5252
53 name: ${{ matrix.network }}-build53 name: ${{ matrix.network }}
5454
55 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.55 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.
5656
modified.github/workflows/xcm.ymldiffbeforeafterboth
1name: xcm-testnet-build1name: xcm-testnet
22
3# Controls when the action will run.3# Controls when the action will run.
4on:4on:
44 network {quartz}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, acala_version {${{ env.KARURA_BUILD_BRANCH }}}, moonbeam_version {${{ env.MOONRIVER_BUILD_BRANCH }}}, cumulus_version {${{ env.STATEMINE_BUILD_BRANCH }}}, astar_version {${{ env.SHIDEN_BUILD_BRANCH }}}, polkadex_version {${{ env.POLKADEX_BUILD_BRANCH }}}, runtest {testXcmQuartz}, runtime_features {quartz-runtime}44 network {quartz}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, acala_version {${{ env.KARURA_BUILD_BRANCH }}}, moonbeam_version {${{ env.MOONRIVER_BUILD_BRANCH }}}, cumulus_version {${{ env.STATEMINE_BUILD_BRANCH }}}, astar_version {${{ env.SHIDEN_BUILD_BRANCH }}}, polkadex_version {${{ env.POLKADEX_BUILD_BRANCH }}}, runtest {testXcmQuartz}, runtime_features {quartz-runtime}
45 network {unique}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, acala_version {${{ env.ACALA_BUILD_BRANCH }}}, moonbeam_version {${{ env.MOONBEAM_BUILD_BRANCH }}}, cumulus_version {${{ env.STATEMINT_BUILD_BRANCH }}}, astar_version {${{ env.ASTAR_BUILD_BRANCH }}}, polkadex_version {${{ env.POLKADEX_BUILD_BRANCH }}}, runtest {testXcmUnique}, runtime_features {unique-runtime}45 network {unique}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, acala_version {${{ env.ACALA_BUILD_BRANCH }}}, moonbeam_version {${{ env.MOONBEAM_BUILD_BRANCH }}}, cumulus_version {${{ env.STATEMINT_BUILD_BRANCH }}}, astar_version {${{ env.ASTAR_BUILD_BRANCH }}}, polkadex_version {${{ env.POLKADEX_BUILD_BRANCH }}}, runtest {testXcmUnique}, runtime_features {unique-runtime}
4646
47 xcm-build:47 xcm:
4848
49 needs: prepare-execution-marix49 needs: prepare-execution-marix
50 # The type of runner that the job will run on50 # The type of runner that the job will run on
51 runs-on: [XL]51 runs-on: [XL]
5252
53 timeout-minutes: 60053 timeout-minutes: 600
5454
55 name: ${{ matrix.network }}-build55 name: ${{ matrix.network }}
5656
57 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.57 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.
5858
modifiedREADME.mddiffbeforeafterboth
5252
532. Remove all installed toolchains with `rustup toolchain list` and `rustup toolchain uninstall <toolchain>`.532. Remove all installed toolchains with `rustup toolchain list` and `rustup toolchain uninstall <toolchain>`.
5454
553. Install toolchain nightly-2022-11-15 and make it default:553. Install toolchain nightly-2023-05-22 and make it default:
5656
57```bash57```bash
58rustup toolchain install nightly-2022-11-1558rustup toolchain install nightly-2023-05-22
59rustup default nightly-2022-11-1559rustup default nightly-2023-05-22
60```60```
6161
624. Add wasm target for nightly toolchain:624. Add wasm target for nightly toolchain:
6363
64```bash64```bash
65rustup target add wasm32-unknown-unknown --toolchain nightly-2022-11-1565rustup target add wasm32-unknown-unknown --toolchain nightly-2023-05-22
66```66```
6767
685. Build:685. Build:
modifiedtests/README.mddiffbeforeafterboth
8git checkout release-v0.9.278git checkout release-v0.9.27
9```9```
1010
112. Build with nightly-2022-05-11112. Build with nightly-2023-05-22
12```bash12```bash
13cargo build --release13cargo build --release
14```14```