foundry.toml 736 B

123456789101112131415161718192021222324252627
  1. [profile.default]
  2. solc_version = "0.8.4"
  3. optimizer = true
  4. optimizer_runs = 200
  5. via_ir = false
  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. evm_version = "istanbul"
  11. out = 'build-forge'
  12. libs = ['lib', 'node_modules']
  13. remappings = [
  14. '@openzeppelin/=node_modules/@openzeppelin/',
  15. '@solidity-parser/=node_modules/@solidity-parser/',
  16. 'ds-test/=lib/forge-std/lib/ds-test/src/',
  17. 'forge-std/=lib/forge-std/src/',
  18. 'truffle/=node_modules/truffle/',
  19. ]
  20. [fmt]
  21. line_length = 100
  22. multiline_func_header = "params_first"
  23. # wrap_comments = true
  24. # See more config options https://github.com/foundry-rs/foundry/tree/master/config