Skip to content

Conversation

@m4sterbunny
Copy link
Contributor

Description

Documents debug_traceCall State Overrides Support

Similar to eth_call - both methods use the same underlying mechanism to pass state overrides to the transaction simulator, allowing temporary state changes for testing and debugging without affecting the actual blockchain state.

Based on json in original pr, stateOverrides is nested inside the options object
Added debug_traceCall to the list of methods that accept state override objects

Issue(s) fixed

Fixes #1874

Preview

Signed-off-by: m4sterbunny <[email protected]>
@m4sterbunny m4sterbunny requested a review from a team as a code owner December 11, 2025 16:16
@vercel
Copy link

vercel bot commented Dec 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
besu-docs Ready Ready Preview, Comment Dec 19, 2025 11:13am

Copy link
Contributor

@macfarla macfarla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks fine.

When I searched the docs for "override", this is the first result: https://besu-docs-git-1722-consistent-syntax-clean-hyperledger.vercel.app/public-networks/how-to/send-transactions#override-state-values

so maybe that page should also have a link to the State Overrides object (and maybe mention the other RPCs, at least ethSimulateV1). Could be a separate PR.

@macfarla
Copy link
Contributor

Signed-off-by: m4sterbunny <[email protected]>
Copy link
Contributor

@bgravenorst bgravenorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@m4sterbunny m4sterbunny merged commit 32169b1 into main Dec 19, 2025
10 checks passed
@m4sterbunny m4sterbunny deleted the 1874=debug_traceCall-options branch December 19, 2025 11:14
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.

You can now do state overrides for debug_traceCall

4 participants