Skip to content

core: refactor IntrinsicGas function to accept rules parameter#279

Draft
ceyonur wants to merge 1 commit intomainfrom
ceyonur/cherry-pick-intrinsic-gas-conflicts
Draft

core: refactor IntrinsicGas function to accept rules parameter#279
ceyonur wants to merge 1 commit intomainfrom
ceyonur/cherry-pick-intrinsic-gas-conflicts

Conversation

@ceyonur
Copy link
Copy Markdown

@ceyonur ceyonur commented Mar 30, 2026

Updated the IntrinsicGas function signature to take a pointer to rules instead of multiple boolean flags for gas calculations. This change simplifies the function calls across various components, including transaction validation and gas computation in state transitions, enhancing code readability and maintainability.

Why this should be merged

How this works

How this was tested

@ceyonur ceyonur force-pushed the ceyonur/cherry-pick-intrinsic-gas-conflicts branch from ad261e4 to 5c5eccc Compare March 30, 2026 10:55
Updated the IntrinsicGas function signature to take a pointer to rules instead of multiple boolean flags for gas calculations. This change simplifies the function calls across various components, including transaction validation and gas computation in state transitions, enhancing code readability and maintainability.
@ceyonur ceyonur force-pushed the ceyonur/cherry-pick-intrinsic-gas-conflicts branch from 5c5eccc to ddb4dc8 Compare March 30, 2026 10:56
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