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

ethclient: add maxUsedGas to simulate call results#34820
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
Copy link
Copy Markdown
Contributor

@s1na s1na left a comment

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
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