Skip to content

Commit

Permalink
fix some cli/testing nits
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahZinsmeister committed Mar 20, 2023
1 parent e8d52f7 commit f0f8ba1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v12
v16
4 changes: 2 additions & 2 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[default]
[profile.default]
src = 'contracts'
out = 'foundry-out'
solc_version = '0.8.13'
optimizer_runs = 800

[ci]
[profile.ci]
fuzz_runs = 100000

# See more config options https://github.com/foundry-rs/foundry/tree/master/config
8 changes: 4 additions & 4 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'hardhat-typechain'
import '@nomiclabs/hardhat-ethers'
import '@nomiclabs/hardhat-waffle'
import '@nomiclabs/hardhat-etherscan'
import '@nomiclabs/hardhat-waffle'
import 'hardhat-typechain'

const importToml = require('import-toml')
const foundryConfig = importToml.sync('foundry.toml')
Expand Down Expand Up @@ -33,11 +33,11 @@ export default {
apiKey: process.env.ETHERSCAN_API_KEY,
},
solidity: {
version: foundryConfig.default.solc_version,
version: foundryConfig.profile.default.solc_version,
settings: {
optimizer: {
enabled: true,
runs: foundryConfig.default.optimizer_runs,
runs: foundryConfig.profile.default.optimizer_runs,
},
metadata: {
// do not include the metadata hash, since this is machine dependent
Expand Down

0 comments on commit f0f8ba1

Please sign in to comment.