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

Low gas stipend precompile calls #1730

Open
lorenzogentile404 opened this issue Jan 22, 2025 · 0 comments
Open

Low gas stipend precompile calls #1730

lorenzogentile404 opened this issue Jan 22, 2025 · 0 comments
Assignees
Labels

Comments

@lorenzogentile404
Copy link
Collaborator

lorenzogentile404 commented Jan 22, 2025

For every precompile, write a test where the ROOT performs a call to the said precompile, providing a gas parameter that is insufficient. The transaction should have a huge amount of gas (e.g., 1_000_000), but we are interested in the failure due to out of gas in the precompile (that is insufficient deliberately).

Perform this test both with zero value and non-zero value as an argument of the CALL to the precompile.

An advanced version of this test is described in #1153.

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