Skip to content

fix: disable block gas limit#18583

Merged
mattsse merged 2 commits intomainfrom
matt/disable-block-gas-limit
Sep 22, 2025
Merged

fix: disable block gas limit#18583
mattsse merged 2 commits intomainfrom
matt/disable-block-gas-limit

Conversation

@mattsse
Copy link
Collaborator

@mattsse mattsse commented Sep 19, 2025

attempts to close #18577

instead of setting the block's gas limit to the gas cap we should instead disable the check so that the gaslimit from within the evm context remains unchanged but disable the check and set the tx's gas to the gas cap instead.

@rakita can you confirm that this does

  • bypass tx.gaslimti vs block.gaslimit
  • no changes otherwise?

@mattsse mattsse added C-bug An unexpected or incorrect behavior A-rpc Related to the RPC implementation M-changelog This change should be included in the changelog labels Sep 19, 2025
@mattsse mattsse requested a review from rakita September 19, 2025 15:02
@rakita
Copy link
Collaborator

rakita commented Sep 19, 2025

@mattsse mattsse enabled auto-merge September 19, 2025 18:41
@mattsse mattsse added this pull request to the merge queue Sep 22, 2025
@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Sep 22, 2025
Merged via the queue into main with commit 39d5563 Sep 22, 2025
43 checks passed
@mattsse mattsse deleted the matt/disable-block-gas-limit branch September 22, 2025 10:22
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rpc Related to the RPC implementation C-bug An unexpected or incorrect behavior M-changelog This change should be included in the changelog

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

eth_call seemingly unable to use more than the gas limit even with gas cap set

3 participants