From c0f51295d67fda7fbb70a307f122ac47beb8c753 Mon Sep 17 00:00:00 2001 From: Roman Date: Mon, 5 May 2025 11:04:19 -0500 Subject: [PATCH 1/2] Add `start-call` patch for non-fast-blocks node --- .github/workflows/docker-localnet.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/docker-localnet.yml b/.github/workflows/docker-localnet.yml index c2afccae66..37e82460ff 100644 --- a/.github/workflows/docker-localnet.yml +++ b/.github/workflows/docker-localnet.yml @@ -57,6 +57,10 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Patch non-fast-block node + run: | + sed -i 's|7 \* 24 \* 60 \* 60 / 12 // 7 days|5 // Only 5 blocks for tests|' runtime/src/lib.rs + - name: Build and push Docker image uses: docker/build-push-action@v6 with: From 1fe18cb0b67644034081397ded2f794361e0448f Mon Sep 17 00:00:00 2001 From: Roman Date: Mon, 5 May 2025 11:11:02 -0500 Subject: [PATCH 2/2] bumping spec_version --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 5f41341546..4c257129aa 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -208,7 +208,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 265, + spec_version: 266, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,