Skip to content

ethclient: add maxUsedGas to simulate call results - #34820

Merged
s1na merged 1 commit into
ethereum:masterfrom
RekCuy63:ethclient-simulate-max-used-gas
May 1, 2026
Merged

s1na merged 1 commit into
ethereum:masterfrom
RekCuy63:ethclient-simulate-max-used-gas

Conversation

@RekCuy63

Copy link
Copy Markdown
Contributor

This updates the typed ethclient model for eth_simulateV1 call results to include maxUsedGas, matching the field already returned by the server-side RPC response.

The generated JSON codec now marshals and unmarshals maxUsedGas as a hex quantity, and TestSimulateV1 checks that the field is populated through the client path.

Follow-up to #32789.

@RekCuy63
RekCuy63 requested a review from fjl as a code owner April 24, 2026 15:31

@s1na s1na left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@s1na s1na added this to the 1.17.3 milestone May 1, 2026
@s1na
s1na merged commit 41b856d into ethereum:master May 1, 2026
9 checks passed
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jun 30, 2026
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jun 30, 2026
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jul 6, 2026
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jul 9, 2026
gzliudan added a commit to XinFinOrg/XDPoSChain that referenced this pull request Jul 11, 2026
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