Summary
During parachain bootstrap (bootstrap_parachain_consensus), the two Aura call proofs are fetched sequentially:
- Download
AuraApi_slot_duration call proof → execute
- Download
AuraApi_authorities call proof → execute
These are independent of each other. Fire both downloads in parallel with join, then execute sequentially. Saves one P2P round-trip on every start (cold and warm).
Context
Part of a series of architectural improvements to parachain startup time. See also:
Effort
Trivial — change two sequential awaits to a join.
Summary
During parachain bootstrap (
bootstrap_parachain_consensus), the two Aura call proofs are fetched sequentially:AuraApi_slot_durationcall proof → executeAuraApi_authoritiescall proof → executeThese are independent of each other. Fire both downloads in parallel with
join, then execute sequentially. Saves one P2P round-trip on every start (cold and warm).Context
Part of a series of architectural improvements to parachain startup time. See also:
Effort
Trivial — change two sequential awaits to a
join.