Skip to content

add op-replay-seq & op-replay cmd line tools#28

Open
KyrinCode wants to merge 1 commit intodevfrom
kyrin/local-replay
Open

add op-replay-seq & op-replay cmd line tools#28
KyrinCode wants to merge 1 commit intodevfrom
kyrin/local-replay

Conversation

@KyrinCode
Copy link
Copy Markdown

Add 2 replay cmds to op-chain-ops

  • op-replay-seq cmd follows the logic of sequencer's EL
  • op-replay cmd enum follows the logic of rpc's EL

sieniven pushed a commit that referenced this pull request Apr 3, 2026
…nd oversized payloads (ethereum-optimism#19904)

Add two bounds checks to `read_tx_data` before indexing into the slice:

1. Reject payloads exceeding `MAX_SPAN_BATCH_ELEMENTS` with
   `TooBigSpanBatchSize`, matching op-node's `rlp.NewStream(r,
   MaxSpanBatchElementCount)` behavior. Without this, kona accepts
   oversized transactions that op-node rejects, causing a consensus
   divergence. (Cantina finding #28)

2. Reject truncated payloads where `payload_length_with_header` exceeds
   the remaining buffer, preventing a panic on malformed input. (Cantina
   finding #25, item 4)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant