Skip to content

Commit

Permalink
Enable metadata comparisons with Testnet & Mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov authored and beqaabu committed Oct 1, 2024
1 parent 5bc96e9 commit b5fbda3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/check-extrinsics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:"
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5fbda3

Please sign in to comment.