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

Separate call for loading code size from database #2268

Open
arnetheduck opened this issue May 31, 2024 · 0 comments
Open

Separate call for loading code size from database #2268

arnetheduck opened this issue May 31, 2024 · 0 comments
Labels
EVM Security Security vulnerability or security related

Comments

@arnetheduck
Copy link
Member

In the current version, code size requests load the full code instead of just the size.

Using EXTCODESIZE in contracts is cheap gasfee-wise - this can be used to increase memory usage of the client by loading lots of code that later doesn't get used.

@arnetheduck arnetheduck added Security Security vulnerability or security related EVM labels May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EVM Security Security vulnerability or security related
Projects
None yet
Development

No branches or pull requests

1 participant