Skip to content

Commit

Permalink
Merge pull request #813 from UniqueNetwork/release-v936040
Browse files Browse the repository at this point in the history
Release v936040
  • Loading branch information
kozyrevdev authored Dec 28, 2022
2 parents 2f34937 + 3c2e49b commit 3105d4f
Show file tree
Hide file tree
Showing 33 changed files with 337 additions and 291 deletions.
3 changes: 2 additions & 1 deletion .docker/Dockerfile-parachain-node-only
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ FROM ubuntu:20.04

ARG NETWORK
ARG POLKADOT_LAUNCH_BRANCH
ARG WASM_NAME

RUN apt-get -y update && \
apt-get -y install curl git && \
Expand All @@ -82,7 +83,7 @@ RUN echo "$NETWORK"

COPY --from=builder-unique-current /unique_parachain/target/release/unique-collator /unique-chain/current/release/
COPY --from=builder-unique-target /unique_parachain/target/release/unique-collator /unique-chain/target/release/
COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$NETWORK"-runtime/"$NETWORK"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$NETWORK"-runtime/"$NETWORK"_runtime.compact.compressed.wasm
COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$WASM_NAME"-runtime/"$WASM_NAME"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$WASM_NAME"-runtime/"$WASM_NAME"_runtime.compact.compressed.wasm

COPY --from=polkadot /unique_parachain/polkadot/target/release/polkadot /polkadot/target/release/
COPY --from=polkadot /unique_parachain/polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm /polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm
Expand Down
3 changes: 2 additions & 1 deletion .docker/Dockerfile-parachain-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ FROM ubuntu:20.04

ARG NETWORK
ARG POLKADOT_LAUNCH_BRANCH
ARG WASM_NAME

RUN apt-get -y update && \
apt-get -y install curl git && \
Expand All @@ -80,7 +81,7 @@ RUN echo "$NETWORK"

COPY --from=builder-unique-current /unique_parachain/target/release/unique-collator /unique-chain/current/release/
COPY --from=builder-unique-target /unique_parachain/target/release/unique-collator /unique-chain/target/release/
COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$NETWORK"-runtime/"$NETWORK"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$NETWORK"-runtime/"$NETWORK"_runtime.compact.compressed.wasm
COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$WASM_NAME"-runtime/"$WASM_NAME"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$WASM_NAME"-runtime/"$WASM_NAME"_runtime.compact.compressed.wasm

COPY --from=polkadot /unique_parachain/polkadot/target/release/polkadot /polkadot/target/release/
COPY --from=polkadot /unique_parachain/polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm /polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm
Expand Down
3 changes: 2 additions & 1 deletion .docker/Dockerfile-parachain-upgrade-data
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ ARG NETWORK
ARG REPLICA_FROM
ENV REPLICA_FROM=${REPLICA_FROM}
ARG POLKADOT_LAUNCH_BRANCH
ARG WASM_NAME

RUN apt-get -y update && \
apt-get -y install curl git && \
Expand All @@ -85,7 +86,7 @@ RUN echo "$REPLICA_FROM"

COPY --from=builder-unique-current /unique_parachain/target/release/unique-collator /unique-chain/current/release/
COPY --from=builder-unique-target /unique_parachain/target/release/unique-collator /unique-chain/target/release/
COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$NETWORK"-runtime/"$NETWORK"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$NETWORK"-runtime/"$NETWORK"_runtime.compact.compressed.wasm
COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$WASM_NAME"-runtime/"$WASM_NAME"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$WASM_NAME"-runtime/"$WASM_NAME"_runtime.compact.compressed.wasm

COPY --from=uniquenetwork/builder-chainql:latest /chainql/target/release/chainql /chainql/target/release/

Expand Down
4 changes: 3 additions & 1 deletion .docker/Dockerfile-try-runtime
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ FROM rust-builder as builder-unique
ARG PROFILE=release
ARG NETWORK
ARG REPLICA_FROM
ARG WASM_NAME
ENV NETWORK $NETWORK
ENV REPLICA_FROM $REPLICA_FROM
ENV WASM_NAME $WASM_NAME

COPY . /unique_parachain
WORKDIR /unique_parachain
Expand All @@ -46,4 +48,4 @@ RUN echo "Requested features: ${NETWORK}-runtime\n" && \
echo "Fork from: $REPLICA_FROM\n" && \
cargo build --features=try-runtime,${NETWORK}-runtime --release

CMD cargo run --release --features ${NETWORK}-runtime,try-runtime -- try-runtime --runtime target/release/wbuild/${NETWORK}-runtime/${NETWORK}_runtime.compact.compressed.wasm -lruntime=debug -ltry-runtime::cli=debug on-runtime-upgrade --checks live --uri $REPLICA_FROM
CMD cargo run --release --features ${NETWORK}-runtime,try-runtime -- try-runtime --runtime target/release/wbuild/${WASM_NAME}-runtime/${WASM_NAME}_runtime.compact.compressed.wasm -lruntime=debug -ltry-runtime::cli=debug on-runtime-upgrade --checks live --uri $REPLICA_FROM
1 change: 1 addition & 0 deletions .docker/docker-compose.tmp-forkless-data.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ services:
- "MAINNET_TAG={{ MAINNET_TAG }}"
- "MAINNET_BRANCH={{ MAINNET_BRANCH }}"
- "REPLICA_FROM={{ REPLICA_FROM }}"
- "WASM_NAME={{ WASM_NAME }}"
context: ../
dockerfile: .docker/Dockerfile-parachain-upgrade-data
image: node-parachain
Expand Down
1 change: 1 addition & 0 deletions .docker/docker-compose.tmp-forkless-nodata.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
- "POLKADOT_LAUNCH_BRANCH={{ POLKADOT_LAUNCH_BRANCH }}"
- "MAINNET_TAG={{ MAINNET_TAG }}"
- "MAINNET_BRANCH={{ MAINNET_BRANCH }}"
- "WASM_NAME={{ WASM_NAME }}"
context: ../
dockerfile: .docker/Dockerfile-parachain-upgrade
image: node-parachain
Expand Down
1 change: 1 addition & 0 deletions .docker/docker-compose.tmp-node.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
- "POLKADOT_LAUNCH_BRANCH={{ POLKADOT_LAUNCH_BRANCH }}"
- "MAINNET_TAG={{ MAINNET_TAG }}"
- "MAINNET_BRANCH={{ MAINNET_BRANCH }}"
- "WASM_NAME={{ WASM_NAME }}"
context: ../
dockerfile: .docker/Dockerfile-parachain-node-only
image: node-parachain
Expand Down
3 changes: 2 additions & 1 deletion .docker/docker-compose.tmp-try-runtime.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ services:
args:
- "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}"
- "NETWORK={{ NETWORK }}"
- "REPLICA_FROM={{ REPLICA_FROM }}"
- "REPLICA_FROM={{ REPLICA_FROM }}"
- "WASM_NAME={{ WASM_NAME }}"
image: try-runtime
container_name: try-runtime
expose:
Expand Down
2 changes: 1 addition & 1 deletion .docker/forkless-config/launch-config-forkless-data.j2
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
{
"bin": "/unique-chain/current/release/unique-collator",
"upgradeBin": "/unique-chain/target/release/unique-collator",
"upgradeWasm": "/unique-chain/target/release/wbuild/{{ NETWORK }}-runtime/{{ NETWORK }}_runtime.compact.compressed.wasm",
"upgradeWasm": "/unique-chain/target/release/wbuild/{{ WASM_NAME }}-runtime/{{ WASM_NAME }}_runtime.compact.compressed.wasm",
"id": "1000",
"balance": "1000000000000000000000000",
"chainRawInitializer": [
Expand Down
2 changes: 1 addition & 1 deletion .docker/forkless-config/launch-config-forkless-nodata.j2
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
{
"bin": "/unique-chain/current/release/unique-collator",
"upgradeBin": "/unique-chain/target/release/unique-collator",
"upgradeWasm": "/unique-chain/target/release/wbuild/{{ NETWORK }}-runtime/{{ NETWORK }}_runtime.compact.compressed.wasm",
"upgradeWasm": "/unique-chain/target/release/wbuild/{{ WASM_NAME }}-runtime/{{ WASM_NAME }}_runtime.compact.compressed.wasm",
"id": "1000",
"balance": "1000000000000000000000000",
"nodes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
{
"bin": "/unique-chain/current/release/unique-collator",
"upgradeBin": "/unique-chain/target/release/unique-collator",
"upgradeWasm": "/unique-chain/target/release/wbuild/{{ NETWORK }}-runtime/{{ NETWORK }}_runtime.compact.compressed.wasm",
"upgradeWasm": "/unique-chain/target/release/wbuild/{{ WASM_NAME }}-runtime/{{ WASM_NAME }}_runtime.compact.compressed.wasm",
"id": "1000",
"balance": "1000000000000000000000000",
"nodes": [
Expand Down
14 changes: 9 additions & 5 deletions .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
RUST_TOOLCHAIN=nightly-2022-10-09
POLKADOT_BUILD_BRANCH=release-v0.9.34
RUST_TOOLCHAIN=nightly-2022-11-15
POLKADOT_BUILD_BRANCH=release-v0.9.36
POLKADOT_LAUNCH_BRANCH=unique-network

POLKADOT_MAINNET_BRANCH=release-v0.9.30
STATEMINT_BUILD_BRANCH=release-parachains-v9320
Expand All @@ -8,16 +9,19 @@ MOONBEAM_BUILD_BRANCH=runtime-1901
UNIQUE_MAINNET_BRANCH=release-v930033-fix-gas-price
UNIQUE_REPLICA_FROM=wss://eu-ws.unique.network:443

KUSAMA_MAINNET_BRANCH=release-v0.9.35
KUSAMA_MAINNET_BRANCH=release-v0.9.36
STATEMINE_BUILD_BRANCH=release-parachains-v9330
KARURA_BUILD_BRANCH=release-karura-2.11.0
MOONRIVER_BUILD_BRANCH=runtime-2000
QUARTZ_MAINNET_BRANCH=release-v930034-fix-gas-price
QUARTZ_REPLICA_FROM=wss://eu-ws-quartz.unique.network:443

UNQWND_MAINNET_BRANCH=release-v0.9.30
UNIQUEWEST_MAINNET_BRANCH=release-v0.9.36
WESTMINT_BUILD_BRANCH=parachains-v9330
OPAL_MAINNET_BRANCH=release-v930034-fix-gas-price
OPAL_REPLICA_FROM=wss://eu-ws-opal.unique.network:443

POLKADOT_LAUNCH_BRANCH=unique-network
UNIQUEEAST_MAINNET_BRANCH=release-v0.9.32
SAPPHIRE_MAINNET_BRANCH=release-v930034-fix-gas-price
SAPPHIRE_REPLICA_FROM=wss://eu-ws-sapphire.unique.network:443

17 changes: 10 additions & 7 deletions .github/workflows/forkless-update-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ jobs:
id: create_matrix
with:
matrix: |
network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}
network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}
network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}
network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}
network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}
network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
network {sapphire}, wasm_name {opal}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, replica_from_address {${{ env.SAPPHIRE_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}
forkless-update-data:
needs: execution-marix
Expand Down Expand Up @@ -72,14 +73,15 @@ jobs:
variables: |
REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}
POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}
POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
MAINNET_TAG=${{ matrix.mainnet_tag }}
# POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
# MAINNET_TAG=${{ matrix.mainnet_tag }}
MAINNET_BRANCH=${{ matrix.mainnet_branch }}
NETWORK=${{ matrix.network }}
BRANCH=${{ github.head_ref }}
# BRANCH=${{ github.head_ref }}
REPLICA_FROM=${{ matrix.replica_from_address }}
WASM_NAME=${{ matrix.wasm_name }}
- name: Show build configuration
run: cat .docker/docker-compose-forkless-data.${{ matrix.network }}.yml
Expand All @@ -92,6 +94,7 @@ jobs:
variables: |
NETWORK=${{ matrix.network }}
REPLICA_FROM=${{ matrix.replica_from_address }}
WASM_NAME=${{ matrix.wasm_name}}
- name: Show launch-config-forkless configuration
run: cat .docker/launch-config-forkless-data.json
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/forkless-update-nodata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ jobs:
id: create_matrix
with:
matrix: |
network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}
network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}
network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}
network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}
network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}
network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
network {sapphire}, wasm_name {opal}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}
forkless-update-nodata:
Expand Down Expand Up @@ -74,13 +75,14 @@ jobs:
variables: |
REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}
POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}
POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
MAINNET_TAG=${{ matrix.mainnet_tag }}
# POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
# MAINNET_TAG=${{ matrix.mainnet_tag }}
MAINNET_BRANCH=${{ matrix.mainnet_branch }}
NETWORK=${{ matrix.network }}
BRANCH=${{ github.head_ref }}
# BRANCH=${{ github.head_ref }}
WASM_NAME=${{ matrix.wasm_name }}
- name: Show build configuration
run: cat .docker/docker-compose.${{ matrix.network }}.yml
Expand All @@ -92,6 +94,7 @@ jobs:
output_file: .docker/launch-config-forkless-nodata.json
variables: |
NETWORK=${{ matrix.network }}
WASM_NAME=${{ matrix.wasm_name }}
- name: Show launch-config-forkless configuration
run: cat .docker/launch-config-forkless-nodata.json
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ jobs:
id: create_matrix
with:
matrix: |
network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}
network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}
network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}
network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}
network {sapphire}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}
network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}
network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}
parallel-test:
needs: nodes-execution-matrix
Expand Down Expand Up @@ -82,6 +83,7 @@ jobs:
MAINNET_BRANCH=${{ matrix.mainnet_branch }}
NETWORK=${{ matrix.network }}
BRANCH=${{ github.head_ref }}
WASM_NAME=${{ matrix.wasm_name }}
- name: Show build configuration
run: cat .docker/docker-compose.node.${{ matrix.network }}.yml
Expand Down Expand Up @@ -230,6 +232,7 @@ jobs:
MAINNET_BRANCH=${{ matrix.mainnet_branch }}
NETWORK=${{ matrix.network }}
BRANCH=${{ github.head_ref }}
WASM_NAME=${{ matrix.wasm_name }}
- name: Show build configuration
run: cat .docker/docker-compose.node.${{ matrix.network }}.yml
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/node-only-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ jobs:
id: create_matrix
with:
matrix: |
network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}
network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}
network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}
network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
network {sapphire}, wasm_name {opal}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}
network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}
network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}
nodes-only-update:
needs: nodes-execution-matrix
# The type of runner that the job will run on
runs-on: [self-hosted-ci,large]
runs-on: [self-hosted-ci]

timeout-minutes: 2880 # 48 hours for execution jobs.

Expand Down Expand Up @@ -79,13 +79,14 @@ jobs:
variables: |
REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}
POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}
POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
MAINNET_TAG=${{ matrix.mainnet_tag }}
# POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
# MAINNET_TAG=${{ matrix.mainnet_tag }}
MAINNET_BRANCH=${{ matrix.mainnet_branch }}
NETWORK=${{ matrix.network }}
BRANCH=${{ github.head_ref }}
WASM_NAME=${{ matrix.wasm_name }}
# BRANCH=${{ github.head_ref }}
- name: Show build configuration
run: cat .docker/docker-compose.node.${{ matrix.network }}.yml
Expand All @@ -97,6 +98,7 @@ jobs:
output_file: .docker/launch-config-forkless-nodata.json
variables: |
NETWORK=${{ matrix.network }}
WASM_NAME=${{ matrix.wasm_name }}
- name: Show launch-config-forkless configuration
run: cat .docker/launch-config-forkless-nodata.json
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/try-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ jobs:
id: create_matrix
with:
matrix: |
network {opal}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}
network {quartz}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}
network {unique}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}
network {opal}, wasm_name {opal}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}
network {sapphire}, wasm_name {opal}, replica_from_address {${{ env.SAPPHIRE_REPLICA_FROM }}}
network {quartz}, wasm_name {quartz}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}
network {unique}, wasm_name {unique}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}
try-runtime:
needs: prepare-execution-marix
Expand Down Expand Up @@ -70,6 +71,7 @@ jobs:
variables: |
RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
NETWORK=${{ matrix.network }}
WASM_NAME=${{ matrix.wasm_name }}
REPLICA_FROM=${{ matrix.replica_from_address }}
- name: Show build configuration
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/yarn-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
matrix:
include:
- network: "opal"
- network: "sapphire"
- network: "quartz"
- network: "unique"

Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,5 @@ bench-app-promotion:
make _bench PALLET=app-promotion PALLET_DIR=app-promotion

.PHONY: bench
bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip bench-foreign-assets
# Disabled: bench-scheduler, bench-rmrk-core, bench-rmrk-equip
bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-foreign-assets
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ curl https://sh.rustup.rs -sSf | sh

2. Remove all installed toolchains with `rustup toolchain list` and `rustup toolchain uninstall <toolchain>`.

3. Install toolchain nightly-2022-10-09 and make it default:
3. Install toolchain nightly-2022-11-15 and make it default:

```bash
rustup toolchain install nightly-2022-10-09
rustup default nightly-2022-10-09
rustup toolchain install nightly-2022-11-15
rustup default nightly-2022-11-15
```

4. Add wasm target for nightly toolchain:

```bash
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-10-09
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-11-15
```

5. Build:
Expand Down
Loading

0 comments on commit 3105d4f

Please sign in to comment.