Skip to content

Commit

Permalink
Clarify RLP Extra-Data as Acceptable for Batch Decoding (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
axelKingsley authored Dec 3, 2024
1 parent c0c5042 commit 8637f50
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions specs/protocol/derivation.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,11 @@ The Delta upgrade introduced an additional batch type, [span batches][span-batch

Unknown versions make the batch invalid (it must be ignored by the rollup node), as do malformed contents.

> **Note** if the batch version and contents can be RLP decoded correctly but extra content exists beyond the batch,
> the additional data may be ignored during parsing. Data _between_ RLP encoded batches may not be ignored
> (as they are seen as malformed batches), but if a batch can be fully described by the RLP decoding,
> extra content does not invalidate the decoded batch.
The `epoch_number` and the `timestamp` must also respect the constraints listed in the [Batch Queue][batch-queue]
section, otherwise the batch is considered invalid and will be ignored.

Expand Down

0 comments on commit 8637f50

Please sign in to comment.