From d17d8b47eeb9f0b1b00cf9ee99b735f7e51f25fa Mon Sep 17 00:00:00 2001 From: jaypan Date: Thu, 5 Jun 2025 14:18:55 +0200 Subject: [PATCH 1/2] Update spec --- runtime/krest/src/lib.rs | 2 +- runtime/peaq-dev/src/lib.rs | 2 +- runtime/peaq/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/krest/src/lib.rs b/runtime/krest/src/lib.rs index cf2dbc73..aaf5a7d8 100644 --- a/runtime/krest/src/lib.rs +++ b/runtime/krest/src/lib.rs @@ -183,7 +183,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: 104, + spec_version: 105, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/runtime/peaq-dev/src/lib.rs b/runtime/peaq-dev/src/lib.rs index 15d5bb92..35ba33ef 100644 --- a/runtime/peaq-dev/src/lib.rs +++ b/runtime/peaq-dev/src/lib.rs @@ -184,7 +184,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: 104, + spec_version: 105, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/runtime/peaq/src/lib.rs b/runtime/peaq/src/lib.rs index 2781709e..e5b66e9c 100644 --- a/runtime/peaq/src/lib.rs +++ b/runtime/peaq/src/lib.rs @@ -210,7 +210,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: 105, + spec_version: 106, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 528ada92c11f6653f931d2c538cdd720bfab898d Mon Sep 17 00:00:00 2001 From: niazhussain Date: Thu, 5 Jun 2025 16:22:26 +0200 Subject: [PATCH 2/2] debugging --- .github/workflows/preview-upgrade.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/preview-upgrade.yml b/.github/workflows/preview-upgrade.yml index f9d94d98..c5947b83 100755 --- a/.github/workflows/preview-upgrade.yml +++ b/.github/workflows/preview-upgrade.yml @@ -125,14 +125,6 @@ jobs: files: | ./peaq_runtime.compact.compressed.wasm outPath: peaq-node-runtime-${{ steps.tag.outputs.tag }}.tar.gz - - name: Run runtime-upgrade script - working-directory: ./deploy/upgrade - run: | - WS_URL="wss://${{ steps.tag-title.outputs.target_tag }}-peaq-network-node.cisys.xyz" - echo "Using URL: $WS_URL" - npm install - npm run runtime-upgrade -- ../../target/release/wbuild/peaq-runtime/peaq_runtime.compact.compressed.wasm "$WS_URL" - - name: Release uses: softprops/action-gh-release@v1 with: @@ -140,4 +132,11 @@ jobs: draft: true files: | peaq-node-runtime-${{ steps.tag.outputs.tag }}.tar.gz + - name: Run runtime-upgrade script + working-directory: ./deploy/upgrade + run: | + WS_URL="wss://${{ steps.tag-title.outputs.target_tag }}-peaq-network-node.cisys.xyz" + echo "Using URL: $WS_URL" + npm install + npm run runtime-upgrade -- ../../target/release/wbuild/peaq-runtime/peaq_runtime.compact.compressed.wasm "$WS_URL"