From 8dbdd714ae952aa760c19efa7b459ae5008d277b Mon Sep 17 00:00:00 2001 From: Sam Johnson Date: Wed, 15 May 2024 15:04:47 -0400 Subject: [PATCH] try with subxt --- .github/workflows/deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b9598967a..1bfed418c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -41,9 +41,12 @@ jobs: with: toolchain: stable + - name: Install subxt + run: cargo install subxt-cli + - name: try on its own run: | - wscat -c wss://test.chain.opentensor.ai:443 -x '{"id":1, "jsonrpc":"2.0", "method": "state_getRuntimeVersion"}' -w 30 --show-ping-pong + PATH=$PATH:$HOME/.cargo/.bin subxt metadata --url wss://test.chain.opentensor.ai:443 --format json - name: Get live spec_version for ${{ github.event.inputs.network }} run: |