mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
use max_block_proposal_slot_portion (#499)
* use max_block_proposal_slot_portion * remove patch now that Substrate PR is merged Co-authored-by: Robert Habermeier <rphmeier@gmail.com>
This commit is contained in:
@@ -483,6 +483,8 @@ pub async fn start_rococo_parachain_node(
|
||||
slot_duration,
|
||||
// We got around 500ms for proposing
|
||||
block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32),
|
||||
// And a maximum of 750ms if slots are skipped
|
||||
max_block_proposal_slot_portion: Some(SlotProportion::new(1f32 / 16f32)),
|
||||
telemetry,
|
||||
}))
|
||||
},
|
||||
@@ -899,6 +901,8 @@ where
|
||||
slot_duration,
|
||||
// We got around 500ms for proposing
|
||||
block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32),
|
||||
// And a maximum of 750ms if slots are skipped
|
||||
max_block_proposal_slot_portion: Some(SlotProportion::new(1f32 / 16f32)),
|
||||
telemetry: telemetry2,
|
||||
})
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user