foundry.toml 742 B

123456789101112131415161718192021222324
  1. [profile.default]
  2. solc_version = '0.8.4'
  3. optimizer = true
  4. optimizer_runs = 200
  5. src = 'contracts'
  6. # We put the tests into the forge-test directory (instead of test) so that
  7. # truffle doesn't try to build them
  8. test = 'forge-test'
  9. libs = [
  10. 'lib',
  11. 'node_modules',
  12. ]
  13. # This doesn't work on ../../../node_modules alone because the sources from
  14. # parent directories are also represented as absolute paths and won't doesn't
  15. # match the relative paths in the source files. Therefore, we are adding
  16. # the absolute path for the node_modules directory in the github CI to
  17. # make sure that the CI runs successfully.
  18. ignored_warnings_from = [
  19. "lib",
  20. "node_modules/",
  21. "/home/runner/work/pyth-crosschain/pyth-crosschain/node_modules"
  22. ]