Skip to content
Snippets Groups Projects
Unverified Commit e44f61af authored by Sebastian Kunert's avatar Sebastian Kunert Committed by GitHub
Browse files

Introduce basic slot-based collator (#4097)

Part of #3168 
On top of #3568

### Changes Overview
- Introduces a new collator variant in
`cumulus/client/consensus/aura/src/collators/slot_based/mod.rs`
- Two tasks are part of that module, one for block building and one for
collation building and submission.
- Introduces a new variant of `cumulus-test-runtime` which has 2s slot
duration, used for zombienet testing
- Zombienet tests for the new collator

**Note:** This collator is considered experimental and should only be
used for testing and exploration for now.

### Comparison with `lookahead` collator
- The new variant is slot based, meaning it waits for the next slot of
the parachain, then starts authoring
- The search for potential parents remains mostly unchanged from
lookahead
- As anchor, we use the current best relay parent
- In general, the new collator tends to be anchored to one relay parent
earlier. `lookahead` generally waits for a new relay block to arrive
before it attempts to build a block. ...
parent 924728cf
Branches
No related merge requests found
Pipeline #484056 waiting for manual action with stages
in 1 hour, 26 minutes, and 42 seconds
Showing
with 1979 additions and 507 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment