Skip to content

EELS Update EIP-7623: Apply floor gas cost after refund #1076

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

marioevz
Copy link
Member

What was wrong?

EIP-7623 Spec needs update to latest version changed by this PR: ethereum/EIPs#9227

Calldata floor gas cost is now compared to the execution gas cost minus the refund, instead of the refund being applied to the floor data cost in case it was higher than the execution gas cost.

How was it fixed?

I updated the logic and moved some of the variables to make the change easier and more readable. Let me know if this is ok, or rather we should leave the original structure.

I'm writing the EEST tests tomorrow and will run them to verify the changes.

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@gurukamath
Copy link
Contributor

LGTM!

@nerolation
Copy link

Lgtm.

@gurukamath gurukamath merged commit 951fc43 into ethereum:devnets/prague/5 Jan 10, 2025
4 checks passed
@gurukamath gurukamath changed the title Update EIP-7623 according to spec EELS Update EIP-7623: Apply floor gas cost after refund Jan 10, 2025
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.

4 participants