[profile.default] solc_version = '0.8.4' optimizer = true optimizer_runs = 200 src = 'contracts' # We put the tests into the forge-test directory (instead of test) so that # truffle doesn't try to build them test = 'forge-test' libs = [ 'lib', '../../../node_modules', ] # This doesn't work on ../../../node_modules alone because the sources from # parent directories are also represented as absolute paths and won't doesn't # match the relative paths in the source files. Therefore, we are adding # the absolute path for the node_modules directory in the github CI to # make sure that the CI runs successfully. ignored_warnings_from = [ "lib", "../../../node_modules/", "/home/runner/work/pyth-crosschain/pyth-crosschain/node_modules" ]