foundry.toml 784 B

123456789101112131415161718192021222324252627
  1. [profile.default]
  2. solc_version = '0.8.29'
  3. evm_version = "paris"
  4. optimizer = true
  5. optimizer_runs = 200
  6. src = 'contracts'
  7. # Tests are in the test directory
  8. test = '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. ]
  20. [rpc_endpoints]
  21. testnet="${RPC_URL}"
  22. local = "http://localhost:8545"
  23. etherscan_api_key="${ETHERSCAN_API_KEY}"