Skip to content

Commit

Permalink
Use stabilized chainSpec calls in unstable_rpc_api_calls (#783)
Browse files Browse the repository at this point in the history
* - Use newer docker image
- Use stabilized versions of chainSpec calls

* Use newer docker image
  • Loading branch information
Niederb authored Jun 27, 2024
1 parent 455020b commit ed9cef3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ jobs:

- name: Run latest node
run: |
docker run -p 9944:9944 -p 9933:9933 -p 30333:30333 paritypr/substrate:master-0400ed90 --dev --rpc-external &
docker run -p 9944:9944 -p 9933:9933 -p 30333:30333 paritypr/substrate:master-1cd6acdf --dev --rpc-external &
- name: Wait until node has started
run: sleep 20s
Expand Down
4 changes: 2 additions & 2 deletions examples/async/examples/unstable_rpc_api_calls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ async fn main() {

// Since it's an unstable api and might change anytime, we first check if our calls are still
// available:
let chain_name_request = "chainSpec_unstable_chainName";
let chain_genesis_hash_request = "chainSpec_unstable_genesisHash";
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";

Expand Down

0 comments on commit ed9cef3

Please sign in to comment.