diff --git a/foundry.toml b/foundry.toml new file mode 100644 index 0000000..306a3be --- /dev/null +++ b/foundry.toml @@ -0,0 +1,6 @@ +[profile.default] +# seems to have no effect (?) +src = 'contracts' +test = 'test/foundry/' +solc_version = "0.8.19" +out = 'build/foundry' diff --git a/package.json b/package.json index 62fc29f..c60c4d0 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,8 @@ "scripts": { "build": "truffle compile --all", "test": "truffle test", + "test:foundry": "scripts/test-foundry.sh", + "test:foundry:fraction-on-op": "TOKEN=0xbd80cfa9d93a87d1bb895f810ea348e496611cd4 scripts/test-foundry.sh optimism-mainnet", "prepare": "husky install" }, "dependencies": {