From 34b054e2489a3ef1f64095f8d6021fa41c8448af Mon Sep 17 00:00:00 2001 From: Samuel Laferriere Date: Mon, 10 Feb 2025 17:10:08 -0500 Subject: [PATCH 1/3] chore: change default confirmation-depth to 5 blocks (from 0 blocks) This is a very important change. Reorgs of 1 block are quite common and can cause a da cert to be submitted to the rollup inbox with a wrong confirmationBlock! It's important to wait a few blocks for the confirmBatch to have landed onchain before submitting the dacert to the batcher inbox. --- README.md | 8 ++++---- flags/eigendaflags/cli.go | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2f70ea64..6e70ab47 100644 --- a/README.md +++ b/README.md @@ -152,10 +152,10 @@ To target this feature, use the CLI flags `--eigenda-svc-manager-addr`, `--eigen #### Soft Confirmations -An optional `--eigenda-eth-confirmation-depth` flag can be provided to specify a number of ETH block confirmations to wait before verifying the blob certificate. This allows for blobs to be accredited upon `confirmation` versus waiting (e.g, 25-30m) for `finalization`. The following integer expressions are supported: -`-1`: Wait for blob finalization -`0`: Verify the cert immediately upon blob confirmation and return the blob -`N where N>0`: Wait `N` blocks before verifying the cert and returning the blob +An optional `--eigenda.confirmation-depth` flag can be provided to specify a number of ETH block confirmations to wait for the confirmBatch to have landed onchain before returning the cert to the batcher after having dispersed a blob in the put route. The flag value can either be the string 'finalized' or a number: +`finalized`: Wait for the confirmBatch transaction to be finalized on-chain before returning the cert to the batcher +`0`: Verify the cert immediately upon blob confirmation and return the cert +`N where 0 Date: Mon, 10 Feb 2025 21:00:18 -0500 Subject: [PATCH 2/3] docs: add troubleshooting guide with first section on the batch-hash-mismatch error --- README.md | 2 ++ docs/troubleshooting_v1.md | 51 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 docs/troubleshooting_v1.md diff --git a/README.md b/README.md index 6e70ab47..f219c315 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,8 @@ An optional `--eigenda.confirmation-depth` flag can be provided to specify a num `0`: Verify the cert immediately upon blob confirmation and return the cert `N where 0 Date: Tue, 11 Feb 2025 12:45:01 -0500 Subject: [PATCH 3/3] chore: bump default confirmationDepth 5->8 --- README.md | 4 ++-- flags/eigendaflags/cli.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f219c315..7ac6e644 100644 --- a/README.md +++ b/README.md @@ -155,9 +155,9 @@ To target this feature, use the CLI flags `--eigenda-svc-manager-addr`, `--eigen An optional `--eigenda.confirmation-depth` flag can be provided to specify a number of ETH block confirmations to wait for the confirmBatch to have landed onchain before returning the cert to the batcher after having dispersed a blob in the put route. The flag value can either be the string 'finalized' or a number: `finalized`: Wait for the confirmBatch transaction to be finalized on-chain before returning the cert to the batcher `0`: Verify the cert immediately upon blob confirmation and return the cert -`N where 0