File tree 2 files changed +4
-2
lines changed
testing/integration-tests/src/full_client/client
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ impl StorageEntryDiff {
230
230
. type_hash ( value_1_ty_id)
231
231
. expect ( "type is in metadata; qed" ) ;
232
232
let value_2_ty_id = storage_entry_2. entry_type ( ) . value_ty ( ) ;
233
- let value_2_hash = metadata_1
233
+ let value_2_hash = metadata_2
234
234
. type_hash ( value_2_ty_id)
235
235
. expect ( "type is in metadata; qed" ) ;
236
236
let value_different = value_1_hash != value_2_hash;
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ use crate::{
10
10
utils:: { node_runtime, TestNodeProcess } ,
11
11
} ;
12
12
use codec:: Encode ;
13
- use futures:: { Stream , StreamExt } ;
13
+ use futures:: { stream, Stream , StreamExt } ;
14
+ use std:: task:: Poll ;
14
15
use subxt:: {
15
16
blocks:: Block ,
16
17
client:: OnlineClient ,
@@ -33,6 +34,7 @@ async fn fetch_finalized_blocks<T: Config>(
33
34
. subscribe_finalized ( )
34
35
. await
35
36
. expect ( "issue subscribing to finalized in fetch_finalized_blocks" )
37
+ . skip ( 1 ) // <- skip first block incase next is close to being ready already.
36
38
. take ( n)
37
39
. map ( |r| r. expect ( "issue fetching block in fetch_finalized_blocks" ) )
38
40
}
You can’t perform that action at this time.
0 commit comments