From b5fbda3180af56b611e4f89b6f25b66b00be2f39 Mon Sep 17 00:00:00 2001 From: Alex Todorov Date: Wed, 25 Sep 2024 14:46:45 +0300 Subject: [PATCH] Enable metadata comparisons with Testnet & Mainnet --- .github/check-extrinsics.sh | 4 ++-- .github/workflows/ci.yml | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/check-extrinsics.sh b/.github/check-extrinsics.sh index d3b846b47..16a1ead14 100755 --- a/.github/check-extrinsics.sh +++ b/.github/check-extrinsics.sh @@ -72,8 +72,8 @@ for RUNTIME in "${runtimes[@]}"; do # compare to mainnet and testnet explicitly b/c latest release could be any of them # for now this comparison is only used to provide more info in CI - # polkadot-js-metadata-cmp wss://rpc.cc3-mainnet.creditcoin.network/ws "$HEAD_WS" > metadata-cmp-with-mainnet.txt - # polkadot-js-metadata-cmp wss://rpc.cc3-testnet.creditcoin.network/ws "$HEAD_WS" > metadata-cmp-with-testnet.txt + polkadot-js-metadata-cmp wss://rpc.cc3-mainnet.creditcoin.network/ws "$HEAD_WS" > metadata-cmp-with-mainnet.txt + polkadot-js-metadata-cmp wss://rpc.cc3-testnet.creditcoin.network/ws "$HEAD_WS" > metadata-cmp-with-testnet.txt if [ -n "$changed_extrinsics" ]; then echo "[!] Extrinsics indexing/ordering has changed in the ${RUNTIME} runtime! If this change is intentional, please bump transaction_version in lib.rs. Changed extrinsics:" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05e11ccdb..7d88621b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -548,9 +548,8 @@ jobs: path: | head-node.log release-node.log - # disabled until we have mainnet and testnet - # metadata-cmp-with-mainnet.txt - # metadata-cmp-with-testnet.txt + metadata-cmp-with-mainnet.txt + metadata-cmp-with-testnet.txt unit-test-cli: runs-on: ubuntu-24.04