Skip to content

Commit

Permalink
add to derivation batcher table
Browse files Browse the repository at this point in the history
  • Loading branch information
tchardin committed Mar 13, 2024
1 parent 1245a5b commit ce08b46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions specs/experimental/plasma.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ The [batching][batcher] and compression of input data remain unchanged. When a b
to be submitted to the inbox address, the data is uploaded to the DA storage layer instead, and a
commitment (keccak256 hash) is submitted as the bacher inbox transaction call data.

Commitment txdata introduces version `1` to the [transaction format](derivation.md#batcher-transaction-format),
in order to interpret the txdata as a commitment during the l1 retrieval step of the derivation pipeline:
Commitment txdata introduces version `1` to the [transaction format][batchertx], in order to interpret
the txdata as a commitment during the l1 retrieval step of the derivation pipeline:

| `version_byte` | `tx_data` |
| -------------- | -------------------- |
Expand All @@ -94,6 +94,7 @@ Input commitments submitted onchain without proper storage on the DA provider se
challenges if the input cannot be retrieved during the challenge window, as detailed in the following section.

[batcher]: ../protocol/derivation.md#batch-submission
[batchertx]: ../protocol/derivation.md#batcher-transaction-format

## Data Availability Challenge Contract

Expand Down
1 change: 1 addition & 0 deletions specs/protocol/derivation.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ Batcher transactions are encoded as `version_byte ++ rollup_payload` (where `++`
| `version_byte` | `rollup_payload` |
| -------------- | ---------------------------------------------- |
| 0 | `frame ...` (one or more frames, concatenated) |
| 1 | `plasma_commitment` (experimental, see [op-plasma](../experimental/plasma.md#input-commitment-submission) |

Unknown versions make the batcher transaction invalid (it must be ignored by the rollup node).
All frames in a batcher transaction must be parseable. If any one frame fails to parse, the all frames in the
Expand Down

0 comments on commit ce08b46

Please sign in to comment.