Skip to content

fix(handler): use cfg gas_params in validate_initial_tx_gas#3512

Open
bluebluesaku wants to merge 1 commit intobluealloy:mainfrom
bluebluesaku:cfg
Open

fix(handler): use cfg gas_params in validate_initial_tx_gas#3512
bluebluesaku wants to merge 1 commit intobluealloy:mainfrom
bluebluesaku:cfg

Conversation

@bluebluesaku
Copy link
Copy Markdown
Contributor

validate_initial_tx_gas was constructing a fresh GasParams::new_spec(spec) instead of reading from cfg.gas_params(), ignoring custom gas parameter overrides. This causes validation to reject valid transactions on custom chains with modified gas schedules.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Mar 19, 2026

Merging this PR will not alter performance

✅ 176 untouched benchmarks


Comparing bluebluesaku:cfg (c7059d5) with main (e03804e)

Open in CodSpeed

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.

1 participant