Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(alt-da): add full input commitment examples #462

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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