mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-31 07:59:49 +00:00
Companion for Substrate#8472 (#2759)
* Companion for Substrate#8472 https://github.com/paritytech/substrate/pull/8472 * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
1 parent
0bc42785b4
commit
c047a2bde2
4 files changed
+157
-149
No files matched your search
@@ -94,7 +94,7 @@ mod tests{
|
||||
let block_builder = client.init_polkadot_block_builder();
|
||||
let block = block_builder.build().expect("Finalizes the block").block;
|
||||
|
||||
client.import(BlockOrigin::Own, block).expect("Imports the block");
|
||||
futures::executor::block_on(client.import(BlockOrigin::Own, block)).expect("Imports the block");
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -112,6 +112,6 @@ mod tests{
|
||||
|
||||
let block = block_builder.build().expect("Finalizes the block").block;
|
||||
|
||||
client.import(BlockOrigin::Own, block).expect("Imports the block");
|
||||
futures::executor::block_on(client.import(BlockOrigin::Own, block)).expect("Imports the block");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user