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

CT failed to identify gas computation issue in LOG operations #542

Open
HerbertJordan opened this issue Jun 16, 2024 · 1 comment
Open

Comments

@HerbertJordan
Copy link
Collaborator

Recent initial attempts to introduce fuzzing to the portfolio of our test infrastructure has revealed an issue in LFVM's implementation of the LOG operations. The issue has been fixed by #541.

It would be interesting to understand why this issue was not detected by the CT infrastructure - and if possible this issue should be fixed. Furthermore, if it is an example for a general class of issues, the CT test case generation process may be improved to cover those types of issues for a wider range of situations.

@facuMH
Copy link
Contributor

facuMH commented Jul 3, 2024

While looking into increasing lfvm coverage I came upon a similar issue, where a branch was not reached because of the combination of parameters between Gas samples and MemoryOffset sizes would always exit with not enough gas, before even trying to ensure capacity. An attempted fix is presented in #564

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