difftreelog
fix simplify test timings features
in: master
3 files changed
.docker/docker-compose.gov.j2diffbeforeafterboth1version: "3.5"23services:4 node-dev:5 build:6 args:7 - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}"8 - "NETWORK={{ NETWORK }}"9 - "WASM_NAME={{ WASM_NAME }}"10 context: ../11 dockerfile: .docker/Dockerfile-chain-dev12 image: node-dev13 container_name: node-dev14 expose:15 - 994416 - 993317 ports:18 - 127.0.0.1:9944:994419 - 127.0.0.1:9933:993320 logging:21 options:22 max-size: "1m"23 max-file: "3"24 command: cargo run --release --features={{ NETWORK }}-runtime,gov-test-timings -- --dev -linfo --rpc-cors=all --unsafe-rpc-external.github/workflows/collator-selection.ymldiffbeforeafterboth--- 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 }}
node/cli/Cargo.tomldiffbeforeafterboth--- 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']