Skip to content

Conversation

@SangIlMo
Copy link
Contributor

@SangIlMo SangIlMo commented May 8, 2024

Fix the issue (#29695)

We can just recap the args.Gas with block GasLimit when gas is over block GasLimit.

It still enables check the case when args.Gas == nil, and makes args.Gas is capped with block GasLimit

@fjl fjl removed the status:triage label May 28, 2024
@karalabe karalabe added this to the 1.14.4 milestone Jun 3, 2024
Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

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

SGTM

@karalabe karalabe merged commit 682ae83 into ethereum:master Jun 4, 2024
jorgemmsilva pushed a commit to iotaledger/go-ethereum that referenced this pull request Jun 17, 2024
…ateGas (ethereum#29738)

* internal/ethapi: recap higher args.Gas with block GasLimit in DoEstimateGas

* internal/ethapi: fix gas estimator capping code

* internal/ethapi: fix test

* fix goimports lint (remove space)

---------

Co-authored-by: Péter Szilágyi <[email protected]>
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.

3 participants