Skip to content

Commit

Permalink
fix: package.json and foundry.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
0xOneTony committed Aug 28, 2024
1 parent 3ce91e2 commit cf9085e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
12 changes: 0 additions & 12 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,6 @@ libs = ['node_modules', 'lib']
test = 'test'
cache_path = 'cache_forge'

# Hedgey Profile
[profile.hedgey]
solc-version = "0.8.19"
optimizer = true
optimizer-runs = 1_000
src = 'none'
out = 'out'
libs = ['node_modules', 'lib']
test = 'test-0_8_19/foundry'
cache_path = 'cache_forge'
remappings = []

# Gas reporting
gas_reports = [
"ContractFactory",
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"license": "MIT",
"private": true,
"scripts": {
"compile": "FOUNDRY_PROFILE=hedgey forge compile && forge compile",
"build": "FOUNDRY_PROFILE=hedgey forge build && forge build",
"test": "FOUNDRY_PROFILE=hedgey forge test && forge test",
"fmt": "forge fmt contracts/**/*.sol && forge fmt test/**/*.sol && forge fmt test-0_8_19/**/*.sol",
"compile": "forge compile",
"build": "forge build",
"test": "forge test",
"fmt": "forge fmt contracts/**/*.sol && forge fmt test/**/*.sol",
"fork": "anvil --fork-url",
"chain": "anvil --block-time 10",
"snap": "forge snapshot --snap ./snapshots/snapshot.json",
Expand Down

0 comments on commit cf9085e

Please sign in to comment.