Repository navigation
fix: make debank block replay protocol-correct - #4
littlehand26 wants to merge 7 commits into
Conversation
|
Companion warmup compatibility change: Chaintable/leafage-evm#209. Deploy the Leafage change before enabling warmup for BlockFiles produced by this writer change. |
|
Mainnet archive image validation passed on lihe-dev.
Remaining Phase 1 gates are StateDiff apply/state-root verification, a continuous 10,000-block run, performance measurements, and additional reverted-log/failed-CREATE fixtures. |
|
Additional continuous validation passed: 10,000 explicit mainnet blocks ( |
|
Added reusable BlockFile feature coverage in commit 1ff564a. Coverage now includes failed CREATE, internal CREATE2, EIP-6780 SELFDESTRUCT, reverted EIP-7708 and ordinary LOG events, PQ/P256 canonical transactions, ProtocolConfig/Denylist/NCC/Validator mutations, and EIP-7702 type-4 delegation. The fixtures use the current mainnet hardfork set (Zero3-Zero6 and Osaka active; Zero7/Zero8 inactive). Validation: scripts/test-debank-blockfile.sh passed 54/54 tests; cargo fmt, targeted Clippy, bash syntax, and git diff checks passed. |
Summary
State + BundleStatepath so EIP-161 touched-empty accounts, unchanged slots, and same-block net-zero changes are filtered correctlyparent call failed, while their own EVM errors take precedenceValidation
cargo fmt --all --checkcargo test -p debank-rpc --all-targets(39 passed)cargo test -p arc-execution-e2e --test debank_trace(2 passed; realtrace_debankBlockpre/transaction/post path)cargo clippy -p arc-execution-e2e --all-targets --no-deps -- -D warningscargo clippy -p debank-rpc --all-targets -- -D warningscargo test -p arc-evm-node --lib(87 passed)git diff --check582bc9e(test-only follow-up; runtime logic remains5fb88e2)blockchain/arc-x:5fb88e2@sha256:34543489497e5512f337e0deaf95c720f47869c8e02e42697d16f7cc880ac5beMainnet verification
f525595image passed the fixed 10,001-block and 20,001-block Arc mainnet corpora, with zeroT*,C*,D*, non-S22S*, WARN, or incomplete-block findingsamd64-5fb88e2@sha256:d1eb5da0b8769f79e7b4b29e105f575247f659062070212c3ba126a98a4095dfon the stopped-head Arc mainnet archiveparent call faileddescendant error while its StateDiff remains byte-identicalT*,C*,D*, or non-S22 failuresS22false positives on Arc EIP-7708 system logs; all 37 IDs were unique and all address/topics/data matched receipts, as did all 149 successful events in the affected blocksD09-D16findings, and zero state mismatchOperational notes
StorageCleared