Skip to content

Feat/autodetect trace rawtx and storage values#825

Merged
a10zn8 merged 2 commits into
masterfrom
feat/autodetect-trace-rawtx-and-storage-values
May 5, 2026
Merged

Feat/autodetect trace rawtx and storage values#825
a10zn8 merged 2 commits into
masterfrom
feat/autodetect-trace-rawtx-and-storage-values

Conversation

@a10zn8
Copy link
Copy Markdown
Contributor

@a10zn8 a10zn8 commented May 5, 2026

No description provided.

a10zn8 and others added 2 commits May 5, 2026 16:09
Match the main project's JVM target (build.gradle:39-42, 126-131) so the
mavenLocal artifact compiled by `make build-foundation` is consumable on
machines whose default JDK is newer than 21. Mirrors the
compileKotlin/compileTestKotlin jvmTarget pattern from the root build.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Register eth_getStorageValues in DefaultEthereumMethods.firstValueMethods
and add explicit empty-params probes for both methods to the Ethereum RPC
methods detector, matching the existing pattern for debug_storageRangeAt /
eth_callBundle. The probe result wins over the rpc_modules prefix match
in the merge step, so a node that exposes the eth/trace namespaces without
these specific methods is correctly reported as not supporting them.

Spec: trace_rawTransaction is part of the OpenEthereum/Erigon/Nethermind
trace API; eth_getStorageValues is the proposed batch storage read from
ethereum/execution-apis#752.

Tests: extends the three existing scenarios in
BasicEthUpstreamRpcMethodsDetectorTest and adds a fourth scenario where
rpc_modules reports eth/trace but the explicit probe correctly marks the
two methods disabled.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@a10zn8 a10zn8 merged commit 5f454f5 into master May 5, 2026
1 check passed
@a10zn8 a10zn8 deleted the feat/autodetect-trace-rawtx-and-storage-values branch May 5, 2026 13:25
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.

1 participant