--- a/.docker/docker-compose.gov.j2 +++ b/.docker/docker-compose.gov.j2 @@ -21,4 +21,4 @@ options: max-size: "1m" max-file: "3" - command: cargo run --release --features={{ NETWORK }}-runtime,{{ WASM_NAME }}-runtime/gov-test-timings -- --dev -linfo --rpc-cors=all --unsafe-rpc-external + command: cargo run --release --features={{ NETWORK }}-runtime,gov-test-timings -- --dev -linfo --rpc-cors=all --unsafe-rpc-external --- a/.github/workflows/collator-selection.yml +++ b/.github/workflows/collator-selection.yml @@ -40,9 +40,9 @@ id: create_matrix with: matrix: | - network {opal}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}, wasm_name {opal} - network {quartz}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, wasm_name {quartz} - network {sapphire}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}, wasm_name {quartz} + network {opal}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}} + network {quartz}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}} + network {sapphire}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}} collator-selection: @@ -139,7 +139,7 @@ context: . dockerfile: .docker/Dockerfile-unique args: | - --build-arg RUNTIME_FEATURES=${{ matrix.runtime_features }},${{ matrix.wasm_name }}-runtime/session-test-timing + --build-arg RUNTIME_FEATURES=${{ matrix.runtime_features }},session-test-timing --build-arg RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }} dockerhub_username: ${{ secrets.CORE_DOCKERHUB_USERNAME }} dockerhub_token: ${{ secrets.CORE_DOCKERHUB_TOKEN }} --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -103,6 +103,8 @@ [features] default = ["opal-runtime"] +session-test-timing = ['opal-runtime/session-test-timing', 'quartz-runtime?/session-test-timing', 'unique-runtime?/session-test-timing'] +gov-test-timings = ['opal-runtime/gov-test-timings', 'quartz-runtime?/gov-test-timings', 'unique-runtime?/gov-test-timings'] all-runtimes = ['opal-runtime', 'quartz-runtime', 'unique-runtime'] pov-estimate = ['opal-runtime/pov-estimate', 'quartz-runtime?/pov-estimate', 'uc-rpc/pov-estimate', 'unique-rpc/pov-estimate', 'unique-runtime?/pov-estimate'] runtime-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']