From 1011c0d67b51aebd7ab81c04f24a9754a350caae Mon Sep 17 00:00:00 2001 From: Thomas Niederberger Date: Mon, 1 Jul 2024 09:52:54 +0200 Subject: [PATCH 1/2] - Use stabilized transaction calls - Use newer docker image --- .github/workflows/ci.yml | 2 +- examples/async/examples/unstable_rpc_api_calls.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2379ca409..bd6f6fe07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -216,7 +216,7 @@ jobs: - name: Run latest node run: | - docker run -p 9944:9944 -p 9933:9933 -p 30333:30333 paritypr/substrate:master-c7bd8804 --dev --rpc-external & + docker run -p 9944:9944 -p 9933:9933 -p 30333:30333 paritypr/substrate:master-1680977e --dev --rpc-external & - name: Wait until node has started run: sleep 20s diff --git a/examples/async/examples/unstable_rpc_api_calls.rs b/examples/async/examples/unstable_rpc_api_calls.rs index 60f31072d..e3e92f4fd 100644 --- a/examples/async/examples/unstable_rpc_api_calls.rs +++ b/examples/async/examples/unstable_rpc_api_calls.rs @@ -52,8 +52,8 @@ async fn main() { // available: let chain_name_request = "chainSpec_v1_chainName"; let chain_genesis_hash_request = "chainSpec_v1_genesisHash"; - let transaction_submit_watch = "transaction_unstable_submitAndWatch"; - let transaction_unwatch = "transaction_unstable_unwatch"; + let transaction_submit_watch = "transaction_v1_submitAndWatch"; + let transaction_unwatch = "transaction_v1_unwatch"; let request_vec = [ chain_name_request, From 092bc6391a1b44570b466548216b914324157586 Mon Sep 17 00:00:00 2001 From: Thomas Niederberger Date: Mon, 1 Jul 2024 10:54:51 +0200 Subject: [PATCH 2/2] Call names have changed --- examples/async/examples/unstable_rpc_api_calls.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/async/examples/unstable_rpc_api_calls.rs b/examples/async/examples/unstable_rpc_api_calls.rs index e3e92f4fd..46b32985a 100644 --- a/examples/async/examples/unstable_rpc_api_calls.rs +++ b/examples/async/examples/unstable_rpc_api_calls.rs @@ -52,8 +52,8 @@ async fn main() { // available: let chain_name_request = "chainSpec_v1_chainName"; let chain_genesis_hash_request = "chainSpec_v1_genesisHash"; - let transaction_submit_watch = "transaction_v1_submitAndWatch"; - let transaction_unwatch = "transaction_v1_unwatch"; + let transaction_submit_watch = "transactionWatch_v1_submitAndWatch"; + let transaction_unwatch = "transactionWatch_v1_unwatch"; let request_vec = [ chain_name_request,