foundry.toml 755 B

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