difftreelog
ci use state-version: 0 on forkless-with-data workflow
in: master
9 files changed
.docker/Dockerfile-parachain-upgrade-data.j2diffbeforeafterboth35COPY . /unique_parachain35COPY . /unique_parachain36WORKDIR /unique_parachain36WORKDIR /unique_parachain373738RUN cargo build --features={{ NETWORK }}-runtime --$PROFILE38RUN cargo build --features={{ NETWORK }}-runtime{{ EXTRA_FEATURES }} --$PROFILE393940# ===== RUN ======40# ===== RUN ======41FROM ubuntu:22.0441FROM ubuntu:22.04.github/workflows/forkless-update-data.ymldiffbeforeafterboth34 uses: CertainLach/create-matrix-action@v434 uses: CertainLach/create-matrix-action@v435 id: create_matrix35 id: create_matrix36 with:36 with:37 # TODO: Remove state-version-0 after mainnet upgrade37 matrix: |38 matrix: |38 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}39 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, extra_features {,state-version-0}39 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}40 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, extra_features {,state-version-0}40 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}41 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}, extra_features {,state-version-0}41 network {sapphire}, wasm_name {quartz}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, replica_from_address {${{ env.SAPPHIRE_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}42 network {sapphire}, wasm_name {quartz}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, replica_from_address {${{ env.SAPPHIRE_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}} extra_features {,state-version-0}424343 forkless-data-build:44 forkless-data-build:44 needs: prepare-execution-marix45 needs: prepare-execution-marix75 with:76 with:76 template: .docker/Dockerfile-parachain-upgrade-data.j277 template: .docker/Dockerfile-parachain-upgrade-data.j277 output_file: .docker/Dockerfile-parachain-upgrade-data.${{ matrix.network }}.yml78 output_file: .docker/Dockerfile-parachain-upgrade-data.${{ matrix.network }}.yml78 variables: |79 variables: |79 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}80 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}80 NETWORK=${{ matrix.network }}81 NETWORK=${{ matrix.network }}81 MAINNET_BRANCH=${{ matrix.mainnet_branch }}82 MAINNET_BRANCH=${{ matrix.mainnet_branch }}82 WASM_NAME=${{ matrix.wasm_name }}83 WASM_NAME=${{ matrix.wasm_name }}83 POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}84 POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}84 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}85 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}85 REPLICA_FROM=${{ matrix.replica_from_address }}86 REPLICA_FROM=${{ matrix.replica_from_address }}86 CHAINQL=${{ env.CHAINQL }}87 CHAINQL=${{ env.CHAINQL }}88 EXTRA_FEATURES=${{ env.extra_features }}878988 - name: Show build configuration90 - name: Show build configuration89 run: cat .docker/Dockerfile-parachain-upgrade-data.${{ matrix.network }}.yml91 run: cat .docker/Dockerfile-parachain-upgrade-data.${{ matrix.network }}.ymlnode/cli/Cargo.tomldiffbeforeafterboth105runtime-benchmarks = ['opal-runtime/runtime-benchmarks', 'polkadot-cli/runtime-benchmarks', 'polkadot-service/runtime-benchmarks', 'quartz-runtime?/runtime-benchmarks', 'sc-service/runtime-benchmarks', 'unique-runtime?/runtime-benchmarks']105runtime-benchmarks = ['opal-runtime/runtime-benchmarks', 'polkadot-cli/runtime-benchmarks', 'polkadot-service/runtime-benchmarks', 'quartz-runtime?/runtime-benchmarks', 'sc-service/runtime-benchmarks', 'unique-runtime?/runtime-benchmarks']106sapphire-runtime = ['quartz-runtime', 'quartz-runtime/become-sapphire']106sapphire-runtime = ['quartz-runtime', 'quartz-runtime/become-sapphire']107try-runtime = ['opal-runtime?/try-runtime', 'quartz-runtime?/try-runtime', 'try-runtime-cli/try-runtime', 'unique-runtime?/try-runtime']107try-runtime = ['opal-runtime?/try-runtime', 'quartz-runtime?/try-runtime', 'try-runtime-cli/try-runtime', 'unique-runtime?/try-runtime']108state-version-0 = ['opal-runtime?/state-version-0', 'quartz-runtime?/state-version-0', 'unique-runtime?/state-version-0']108109runtime/opal/Cargo.tomldiffbeforeafterboth171718[features]18[features]19default = ['opal-runtime', 'std']19default = ['opal-runtime', 'std']20state-version-0 = []20limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']21limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']21opal-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'pallet-test-utils', 'preimage', 'refungible']22opal-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'pallet-test-utils', 'preimage', 'refungible']22pov-estimate = []23pov-estimate = []runtime/opal/src/lib.rsdiffbeforeafterboth56 impl_version: 0,56 impl_version: 0,57 apis: RUNTIME_API_VERSIONS,57 apis: RUNTIME_API_VERSIONS,58 transaction_version: 3,58 transaction_version: 3,59 #[cfg(feature="state-version-0")]60 state_version: 0,61 #[cfg(not(feature="state-version-0"))]59 state_version: 1,62 state_version: 1,60};63};6164runtime/quartz/Cargo.tomldiffbeforeafterboth18[features]18[features]19become-sapphire = []19become-sapphire = []20default = ['quartz-runtime', 'std']20default = ['quartz-runtime', 'std']21state-version-0 = []21limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']22limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']22pov-estimate = []23pov-estimate = []23quartz-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'refungible']24quartz-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'refungible']runtime/quartz/src/lib.rsdiffbeforeafterboth59 impl_version: 0,59 impl_version: 0,60 apis: RUNTIME_API_VERSIONS,60 apis: RUNTIME_API_VERSIONS,61 transaction_version: 3,61 transaction_version: 3,62 #[cfg(feature="state-version-0")]63 state_version: 0,64 #[cfg(not(feature="state-version-0"))]62 state_version: 1,65 state_version: 1,63};66};6467runtime/unique/Cargo.tomldiffbeforeafterboth171718[features]18[features]19default = ['std', 'unique-runtime']19default = ['std', 'unique-runtime']20state-version-0 = []20limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']21limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']21pov-estimate = []22pov-estimate = []22runtime-benchmarks = [23runtime-benchmarks = [runtime/unique/src/lib.rsdiffbeforeafterboth56 impl_version: 0,56 impl_version: 0,57 apis: RUNTIME_API_VERSIONS,57 apis: RUNTIME_API_VERSIONS,58 transaction_version: 3,58 transaction_version: 3,59 #[cfg(feature="state-version-0")]60 state_version: 0,61 #[cfg(not(feature="state-version-0"))]59 state_version: 1,62 state_version: 1,60};63};6164