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

Update filterFallbacks to be selective rather than all-or-nothing #1200

Merged
merged 4 commits into from
Apr 25, 2024

Conversation

samalws-tob
Copy link
Collaborator

This PR changes the filterFallbacks function so that it filters out fallbacks selectively, rather than either removing fallbacks from all contracts or none. It also removes the first argument of the function, which was unused.

Fixes issue 1 of #1134 (now it's 1000 calls/s in both cases, rather than 1000 in one and 10000 in the other; the performance only improved before because it was trying a bunch of fallback calls, which executed quickly because they didn't do anything)

@samalws-tob samalws-tob changed the title Update filterFallbacks Update filterFallbacks to be selective rather than all-or-nothing Mar 7, 2024
@samalws-tob samalws-tob marked this pull request as draft March 7, 2024 17:57
@samalws-tob samalws-tob marked this pull request as ready for review March 7, 2024 19:20
lib/Echidna.hs Outdated Show resolved Hide resolved
@arcz arcz merged commit 27ad095 into crytic:master Apr 25, 2024
18 checks passed
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

Successfully merging this pull request may close these issues.

2 participants