revert(l1): drop blockTimestamp from RPC log objects (#7142) - #7234
revert(l1): drop blockTimestamp from RPC log objects (#7142)#7234ilitteri wants to merge 1 commit into
Conversation
…rpc-compat cases This reverts commit 5a4c2bf ("fix(l1): populate blockTimestamp on RPC log objects (#7142)"). The field made eight hive rpc-compat cases fail byte-exact comparison: the pinned execution-apis corpus (d08382ae) predates blockTimestamp on log objects, and the pin cannot move (every revision carrying the field also carries a pre-merge test chain, which ethrex does not support). The daily hive report has flagged RPC at 88/96 ever since. The revert makes log objects match the recorded fixtures exactly, so the KNOWN_EXCLUDED_TESTS entries and the docs/known_issues.md section introduced by #7142 are removed along with the field.
|
🤖 Kimi Code ReviewOverall Assessment: The PR mechanically removes the Major Concerns1. API Compatibility Break (Design Decision)
2. Empty Array in CI Script
Code Quality3. Test Coverage Gap
4. Documentation Cleanup
Correctness VerificationThe changes are internally consistent:
No security vulnerabilities or memory safety issues identified. Automated review by Kimi (Moonshot AI) · kimi-k2.5 · custom prompt |
🤖 Claude Code ReviewThat's fine — I've already verified consistency by reading the code directly; no need to force approval for a build. The static analysis is sufficient given how small and mechanical this diff is. Review: PR 7234 — revert(l1): drop
|
🤖 Codex Code Review
No EVM, gas-accounting, trie, RLP, or memory-safety concerns stood out in this diff; the main problems are RPC correctness/compatibility and CI behavior. Automated review by OpenAI Codex · gpt-5.4 · custom prompt |
Lines of code reportTotal lines added: Detailed view |
MegaRedHand
left a comment
There was a problem hiding this comment.
LGTM. Let's revert this while we look for a workaround
Motivation
Reverts #7142.
The
blockTimestampkey that #7142 added to RPC log objects makes eight hiverpc-compatcases fail: the simulation compares responses byte-exactly against a corpus pinned to execution-apisd08382ae, which predates the field. The pin cannot move forward (every revision whose fixtures carryblockTimestampalso carries a pre-merge test chain, which ethrex does not support), so the daily hive report has been stuck atRPC API Compatibility: 88/96 (91.67%)since the change landed. #7142 anticipated this and excluded the eight cases inKNOWN_EXCLUDED_TESTS, but the coverage loss is real — all foureth_getLogscases are in the excluded set, leaving that method with no rpc-compat coverage at all.Description
Removes
block_timestampfromRpcLog(one struct change coverseth_getLogs,eth_getTransactionReceiptandeth_getBlockReceipts, which all build the same type), and drops the eightKNOWN_EXCLUDED_TESTSentries plus thedocs/known_issues.mdsection that #7142 introduced.Trade-off, kept explicit: log objects no longer carry
blockTimestamp, diverging from the other clients that populate it. Hive conformance and fulleth_getLogsrpc-compat coverage win over the convenience field.How to test
End to end, validated locally with hive at the CI-pinned commit (
7c4c99e) against a locally built image of this branch:Result:
tests=96 failed=0— including all eight previously excluded cases (fixture diff analysis of the failing daily run showed the extrablockTimestampkey was the only difference in every case).Checklist
Storeschema change, soSTORE_SCHEMA_VERSIONis untouched.