Skip to content

Commit

Permalink
add staleness comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Dec 21, 2024
1 parent 0d3c376 commit 99d76f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/eigenda/src/eigenda.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ where
let stale_gap = 100 as u64;

// check staleness
// ToDo this would require the op-rollup to follow the same pattern
// but passing blockId to proxy which implement the logic,
// see https://github.com/ethereum-optimism/optimism/blob/0bb2ff57c8133f1e3983820c0bf238001eca119b/op-alt-da/damgr.go#L211
if rbn + stale_gap < l1_block_number {
// return error
unimplemented!()
Expand Down

0 comments on commit 99d76f0

Please sign in to comment.