Block structure & serialization
A zkopru block is submitted to the layer1 in a serialized form. Then, the checksum of the proposal becomes the proposal ID and is used for the challenge system.
Block structure
The zkopru block includes a header and a body.
Edit diagram here
Header
The first 340 bytes of the data should be the block header. The block header contains the following data:
Body
A block body consists of transactions, mass deposits, and mass migrations. Moreover, the block header should contain correct information from the body. If the header does not have the correct value, the proposer will get slashed through the challenge system.
Transactions
Mass deposits
Mass migrations
Last updated