File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 2222 libs = [' node_modules' , ' lib' ]
2323 test = ' test'
2424 cache_path = ' cache_forge'
25- solc = " 0.8.27"
25+ solc = " 0.8.30"
26+ evm_version = " cancun"
2627 optimizer = true
27- optimizer_runs = 10_000
28+ optimizer_runs = 200
2829 gas_reports = [" *" ]
2930 fuzz = { runs = 1_000 }
3031 auto_detect_solc = false
Original file line number Diff line number Diff line change @@ -5,14 +5,19 @@ import type { HardhatUserConfig } from "hardhat/config";
55
66const config : HardhatUserConfig = {
77 solidity : {
8- version : "0.8.27" ,
9- settings : {
10- viaIR : true ,
11- optimizer : {
12- enabled : true ,
13- runs : 10_000 ,
8+ compilers : [
9+ {
10+ version : "0.8.30" ,
11+ settings : {
12+ evmVersion : "cancun" ,
13+ viaIR : true ,
14+ optimizer : {
15+ enabled : true ,
16+ runs : 200 ,
17+ } ,
18+ } ,
1419 } ,
15- } ,
20+ ] ,
1621 } ,
1722 networks : {
1823 hardhat : { } ,
You can’t perform that action at this time.
0 commit comments