From ef4f759f0f3c95b18ca5d25b0f73cab6641bf374 Mon Sep 17 00:00:00 2001 From: Theo Date: Tue, 6 Jun 2023 03:52:21 -0700 Subject: [PATCH] Add test commands, change configuration --- .gitignore | 1 + foundry.toml | 2 +- package.json | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 419c8cd..73fcc5d 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ docs/ # Node modules node_modules/ +package-lock.json # yarn yarn.lock diff --git a/foundry.toml b/foundry.toml index f9deeb3..a592896 100644 --- a/foundry.toml +++ b/foundry.toml @@ -1,5 +1,6 @@ [profile.default] # General +solc-version = "0.8.19" src = 'src' out = 'out' libs = ["node_modules", "lib"] @@ -14,7 +15,6 @@ optimizer_runs = 200 chain_id = 1 # Tests -[profile.ci] verbosity = 3 [rpc_endpoints] diff --git a/package.json b/package.json index a8d7527..1811baa 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,9 @@ "author": "AlienTornadosaurusHex", "license": "MIT", "private": false, + "scripts": { + "test": "forge test --fork-url https://rpc.mevblocker.io --fork-block-number 17415610" + }, "dependencies": { "@ensdomains/ens-contracts": "^0.0.21", "@openzeppelin/contracts": "^4.9.0",