Add replay-witness-test job to L2 CI workflow#6364
Add replay-witness-test job to L2 CI workflow#6364avilagaston9 wants to merge 1 commit intorefactor/remove-keys-from-execution-witnessfrom
Conversation
patches its ethrex dependencies with the current PR's local checkout using Cargo [patch], then sends a transaction to a dev L1 node and replays the block to verify the execution witness end-to-end.
🤖 Kimi Code ReviewReview of PR #6364: Replay Witness Test CI JobSecurity & Correctness Issues
Performance & Reliability Issues
Code Quality & Maintainability
Minor Issues
The workflow addition is generally well-structured, but addressing the security issue with the private key and the reliability issues with transaction polling should be prioritized. Automated review by Kimi (Moonshot AI) · custom prompt |
🤖 Codex Code Review
No Rust/EVM/state-transition code changed in this PR, so consensus/opcode/gas/state-trie/RLP correctness is not directly impacted here. Automated review by OpenAI Codex · custom prompt |
🤖 Claude Code ReviewHere is my review of PR 6364: PR Review: Add
|
| Severity | Item |
|---|---|
| Medium | sleep 3 is a race — poll for receipt with retry logic |
| Medium | rex binary not checksum-verified |
| Low | TX_HASH not validated before use |
| Low | cargo build --release is slow; debug build suffices for CI |
| Info | ethrex-replay pinned to latest main |
| Info | TOML heredoc indentation |
The core design (Cargo [patch], docker image reuse, dev node setup) is solid. Addressing the receipt polling race and the binary checksum are the most important fixes before merging.
Automated review by Claude (Anthropic) · custom prompt
Motivation
We need CI coverage to verify that ethrex-replay works against the current ethrex code. This catches breaking changes to
ExecutionWitness, thedebug_executionWitnessRPC endpoint, or any VM/blockchain APIs that ethrex-replay depends on. Follows up on #6356.Description
Add a
replay-witness-testjob to the L2 CI workflow that:[patch]rexand replays the block containing it with--no-zkvmThe
[patch]approach means ethrex-replay'sCargo.tomlalways points to ethrexmain, but CI overrides the dependencies with the local checkout. No pinned SHAs or branch name assumptions.Checklist
STORE_SCHEMA_VERSION— N/A, CI-only change