Skip to content

Commit

Permalink
docs(alt-da): add full input commitment examples (#462)
Browse files Browse the repository at this point in the history
* docs(alt-da): add full input commitment examples

* Update alt-da.md
  • Loading branch information
samlaf authored Jan 13, 2025
1 parent 1f00bb1 commit 7566baf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions specs/experimental/alt-da.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- [Overview](#overview)
- [Input Commitment Submission](#input-commitment-submission)
- [Example Commitments](#example-commitments)
- [DA Server](#da-server)
- [Data Availability Challenge Contract](#data-availability-challenge-contract)
- [Parameters](#parameters)
Expand Down Expand Up @@ -78,6 +79,17 @@ store the request payload so as to signal to the batcher to retry.
Input commitments submitted onchain without proper storage on the DA provider service are subject to
challenges if the input cannot be retrieved during the challenge window, as detailed in the following section.

### Example Commitments

| `version_byte` | `commitment_type` | `da_layer_byte` | `payload` |
| -------------- | ----------------- | --------------- | ------------------- |
| 0 | | | frames |
| 1 | 0 | | keccak_commitment |
| 1 | 1 | 0 | eigenda_commitment |
| 1 | 1 | 0x0a | avail_commitment |
| 1 | 1 | 0x0c | celestia_commitment |
| 1 | 1 | ... | altda_commitment |

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

Expand Down

0 comments on commit 7566baf

Please sign in to comment.