diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c64682a4..2379ca409 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-1cd6acdf --dev --rpc-external & + docker run -p 9944:9944 -p 9933:9933 -p 30333:30333 paritypr/substrate:master-c7bd8804 --dev --rpc-external & - name: Wait until node has started run: sleep 20s diff --git a/testing/async/examples/state_tests.rs b/testing/async/examples/state_tests.rs index b1051de80..98d287941 100644 --- a/testing/async/examples/state_tests.rs +++ b/testing/async/examples/state_tests.rs @@ -57,8 +57,15 @@ async fn main() { .unwrap(); let _account_info: AccountData = api.get_storage_map("System", "Account", &alice, None).await.unwrap().unwrap(); - let _era_stakers: ErasStakers = api - .get_storage_double_map("Staking", "ErasStakers", EraIndex::default(), alice_stash, None) + + let era_stakers: ErasStakers = api + .get_storage_double_map( + "Staking", + "ErasStakersOverview", + EraIndex::default(), + alice_stash, + None, + ) .await .unwrap() .unwrap();