Module data_serialization

Source

Structsยง

BatchProofMethodId ๐Ÿ”’
A new batch proof method_id starting to be applied from the l2_block_number (inclusive).
BatchProofMethodIdBody ๐Ÿ”’
Body of the batch proof method id update for light client
SequencerCommitment ๐Ÿ”’
Commitments made to the DA layer from the sequencer. Has merkle root of l2 block hashes from L1 start block to L1 end block (inclusive)

Enumsยง

DataOnDa ๐Ÿ”’
Data written to DA and read from DA must be the borsh serialization of this enum WARNING: This type has to be the exact same as the one used in citrea repo, so that the borsh serializations are the same. citrea/crates/sovereign-sdk/rollup-interface/src/state_machine/da.rs

Constantsยง

SECURITY_COUNCIL_SIGNATURE_SIZE ๐Ÿ”’
Size of a signature in bytes.
SECURITY_COUNCIL_SIGNATURE_THRESHOLD ๐Ÿ”’
Minimum number of verified signatures required to approve a method id upgrade.

Type Aliasesยง

Proof ๐Ÿ”’
The ZK proof generated by the [ZkvmHost::run] method.