Repository navigation
Tags
Tags
Week 12 smoke gate: RPCMarshalHeader + ExecutableData + SimulatedBeac… …on fixes. All 5 phases PASS.
fix(agnt2): Phase 7 review iteration — validateAGNT2InteractionFields…
… runs before stateless early-return
Codex /ship pre-landing review caught a P1 consensus bug: the AGNT2
interaction-fields validation in core/block_validator.go ran AFTER the
stateless mode early-return (line 168 → return nil), so a malicious
sequencer could forge Header.InteractionRoot/InteractionCount and pass
the stateless fault-proof validation path entirely.
Fix: move validateAGNT2InteractionFields BEFORE `if stateless { return
nil }`. Both rationale and ordering are now documented inline. The
function operates only on `header` + `res.Receipts` — neither a
StateDB nor a state trie is required, so this works on the stateless
witness path without breaking the original early-return contract for
the state-root / withdrawals checks below.
The receipts cross-check is a consensus rule that applies on BOTH the
full and stateless paths.
go test -race -count=1 ./core/vm/ ./core/types/ ./core/ all green.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Codex (gstack-review pre-ship gate) <noreply@openai.com>
AGNT2 Week 10 lock — protocol-lock.json op_geth_sha pinned here
all: Merge upstream v1.17.2 (ethereum-optimism#782) [Monorepo PR](ethereum-optimism/optimism#19844)
core: system txs result in invalid blocks after regolith (ethereum-op… …timism#777)
PreviousNext