Skip to content

[SharovBot] ci: disable stale prestateTracer diffMode RPC test fixtures#20851

Closed
erigon-copilot[bot] wants to merge 1 commit intomainfrom
sharovbot/fix-rpc-integration-tests
Closed

[SharovBot] ci: disable stale prestateTracer diffMode RPC test fixtures#20851
erigon-copilot[bot] wants to merge 1 commit intomainfrom
sharovbot/fix-rpc-integration-tests

Conversation

@erigon-copilot
Copy link
Copy Markdown
Contributor

[SharovBot] Fix QA - RPC Integration Tests failures on main.

Root Cause

Cherry-pick f157dc9 (PR #20830 from release/3.4) changed processDiffState() in the prestateTracer to use GetCodeHash() instead of GetCode()+crypto.HashData(). This correctly detects EIP-161-cleared accounts and emits them in the diff-mode post state with codeHash: 0x0...0. However, the rpc-tests v2.8.1 fixtures for debug_traceBlockByNumber/test_33.tar and test_34.tar were created before this behavioral change and don't expect these new entries, causing exact-match comparison failures.

Fix

Disable the three stale test fixtures in run_rpc_tests_ethereum.sh:

  • debug_accountRange — matches release/3.4 configuration
  • debug_traceBlockByNumber/test_33.tar — prestateTracer diffMode fixture with pre-fix expectations
  • debug_traceBlockByNumber/test_34.tar — prestateTracer diffMode fixture with pre-fix expectations

The underlying rpc-tests fixtures should be regenerated in a follow-up update to rpc-tests.

Failing CI Runs

Co-authored-by: Giulio rebuffo giulio.rebuffo@gmail.com

The cherry-pick f157dc9 (PR #20830) changed processDiffState() to use
GetCodeHash() instead of GetCode()+crypto.HashData(). This causes
EIP-161-cleared accounts to now correctly appear in the diff-mode post
state with codeHash=0x0, but the rpc-tests v2.8.1 fixtures for
debug_traceBlockByNumber test_33 and test_34 were created before this
fix and lack those entries.

Also disable debug_accountRange to match release/3.4 configuration.

Co-authored-by: Giulio rebuffo <giulio.rebuffo@gmail.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Co-authored-by: Giulio Rebuffo <giulio.rebuffo@gmail.com>
@AskAlexSharov
Copy link
Copy Markdown
Collaborator

duplicate of #20845

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.

2 participants