foundry.toml 733 B

123456789101112131415161718192021
  1. [profile.default]
  2. solc_version = '0.8.29'
  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 = ['lib', 'node_modules']
  10. # This doesn't work on ../../../node_modules alone because the sources from
  11. # parent directories are also represented as absolute paths and won't doesn't
  12. # match the relative paths in the source files. Therefore, we are adding
  13. # the absolute path for the node_modules directory in the github CI to
  14. # make sure that the CI runs successfully.
  15. ignored_warnings_from = [
  16. "lib",
  17. "node_modules/",
  18. "/home/runner/work/pyth-crosschain/pyth-crosschain/node_modules",
  19. ]