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

chore: caches circuit compilation using circuit hash #13

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

johngrantuk
Copy link

Attempts to implement solution for #12

  • In foundry.toml read access must be given to circuit file
  • A hash is taken of the circuit file plus the mock boolean flag. If mock isn't taken into account it will fail to recompile when flag is changed
  • Wanted to check for hash file existence using vm.isFile but this is throwing an error [FAIL. Reason: Setup failed: Invalid data], I'm not sure why and perhaps I'm missing something

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.

1 participant