Skip to content
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

Implement gas cost changes to JUMP* for touching code chunks #8150

Open
lu-pinto opened this issue Jan 21, 2025 · 1 comment
Open

Implement gas cost changes to JUMP* for touching code chunks #8150

lu-pinto opened this issue Jan 21, 2025 · 1 comment
Labels

Comments

@lu-pinto
Copy link
Contributor

lu-pinto commented Jan 21, 2025

gballet/go-ethereum#530

The above changes were done in Geth to now charge code chunk loading even if destination of the JUMP is not a valid JUMPDEST opcode.
This will only be needed for the devnet-8, in the meantime some new reference tests might be created.

@lu-pinto
Copy link
Contributor Author

I did some initially investigation and it looks like we can use MessageFrame.wasCreatedInTransaction(Address) to see if contract is deployment and will have to change the way JUMP* opcodes compute the cost which is now a static cost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant