BAC-L2-TIA-111Celestia and modular blockchains
Building a sovereign rollup I — execution
Defining the rollup's state machine: transactions, state transition, blocks. The part that belongs entirely to the team building it.
- Level
- L2 — Appchain developer
- Duration
- 4 h
- Maintainer
- Modular Blockchain / Celestia Architect
Learning objectives
- 01Implement a deterministic state transition
- 02Produce blocks from a set of transactions
- 03Test the state machine in isolation from the data layer
Guided lab
Implement the state machine of an attestation registry and cover it with tests.
Independent lab
Add a business rule and prove state remains deterministic and reproducible.
Security angle
A non-deterministic transition makes the rollup unverifiable: hunt it before any integration.
Assessment
Tested state machine, with a reproducibility demonstration.
