Skip to content

integration: ignore the tracer error field on debug_traceBlockByNumber latest tests - #598

Merged
lupin012 merged 1 commit into
mainfrom
lupin012/ignore_oog_error_in_call_tracers
Sep 12, 2026
Merged

integration: ignore the tracer error field on debug_traceBlockByNumber latest tests#598
lupin012 merged 1 commit into
mainfrom
lupin012/ignore_oog_error_in_call_tracers

Conversation

@lupin012

@lupin012 lupin012 commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

debug_traceBlockByNumber test_44 (callTracer) and test_47 (flatCallTracer) trace the latest block and compare the error field verbatim, so they fail whenever that block happens to contain an out-of-gas internal call and the two nodes format the error differently.

Ignore that field, as test_24 already does for the struct logger. callTracer needs one pattern per calls nesting level because ignoreFields has no recursive wildcard.

…r latest tests

The callTracer and flatCallTracer error field is compared verbatim, so a block
whose latest state contains an out-of-gas internal call makes test_44 and
test_47 fail on an error-string difference alone. Ignore that field, as test_24
already does for the struct logger. callTracer needs one pattern per calls
nesting level because ignoreFields has no recursive wildcard.
@lupin012
lupin012 merged commit 4a4a87f into main Sep 12, 2026
@lupin012
lupin012 deleted the lupin012/ignore_oog_error_in_call_tracers branch September 12, 2026 17:43
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