mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
Fix multi collator setup (#133)
* Start * Fix compilation * Fix chainspec * Don't set best 2 times for the same block * Check the status of a block before building on it * Check that the block exists before setting it as the new best * Reorder code * Fork choice depends on sync status * Switch branch again
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -123,6 +123,7 @@ pub fn run_collator(
|
||||
proposer_factory,
|
||||
inherent_data_providers,
|
||||
block_import,
|
||||
client.clone(),
|
||||
id,
|
||||
client,
|
||||
announce_block,
|
||||
|
||||
@@ -292,7 +292,6 @@ async fn integration_test() {
|
||||
.unwrap_or(2) as u64;
|
||||
let tip = 0;
|
||||
let extra: SignedExtra = (
|
||||
TransactionCallFilter::<IsCallable, polkadot_runtime::Call>::new(),
|
||||
frame_system::CheckSpecVersion::<Runtime>::new(),
|
||||
frame_system::CheckTxVersion::<Runtime>::new(),
|
||||
frame_system::CheckGenesis::<Runtime>::new(),
|
||||
|
||||
Reference in New Issue
Block a user