Skip to content

refactor(handler): validate_initial_tx_gas takes &mut Evm #3235

Merged
rakita merged 2 commits intomainfrom
rakita/validate-init-mut-evm
Dec 18, 2025
Merged

refactor(handler): validate_initial_tx_gas takes &mut Evm #3235
rakita merged 2 commits intomainfrom
rakita/validate-init-mut-evm

Conversation

@rakita
Copy link
Member

@rakita rakita commented Dec 18, 2025

Asked here:

Change the `validate_initial_tx_gas` function signature to take
`&mut EVM` instead of individual parameters (tx, spec, is_eip7623_disabled).

This makes the API more consistent with other handler functions and
allows the function to extract what it needs from the EVM context.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rakita rakita changed the title Rakita/validate init mut evm refactor(handler): validate_initial_tx_gas takes &mut Evm Dec 18, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Dec 18, 2025

CodSpeed Performance Report

Merging #3235 will not alter performance

Comparing rakita/validate-init-mut-evm (69fc38c) with main (3377d5b)

Summary

✅ 173 untouched

@rakita rakita force-pushed the rakita/validate-init-mut-evm branch from 95e4f59 to 69fc38c Compare December 18, 2025 06:14
@rakita rakita merged commit b397fd1 into main Dec 18, 2025
31 checks passed
@github-actions github-actions bot mentioned this pull request Dec 18, 2025
@rakita rakita deleted the rakita/validate-init-mut-evm branch February 16, 2026 10:11
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