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

estimateGas: generate gas info in the corpus #1170

Open
montyly opened this issue Jan 19, 2024 · 1 comment
Open

estimateGas: generate gas info in the corpus #1170

montyly opened this issue Jan 19, 2024 · 1 comment

Comments

@montyly
Copy link
Member

montyly commented Jan 19, 2024

When running the estimageGas mode we should save the gas information somewhere. For example:

  • Generate a reproducer per worst case gas
  • Create a (json?) file that associated the reproducer with the gas info (in case the gas info is not already in the corpus format, if its the case this can be skipped)

Ideally we could even generate more reproducers, including

  • The lowest gas execution
  • One that is within the mean and average ( /- 10%, to have a "typical gas usage" reproducer)
@ggrieco-tob
Copy link
Member

The issue with the gas estimation features is that it does not have a input miniminization, so it is unusable in practice 😞 We should solve that one first before tackling these.

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

No branches or pull requests

2 participants