perf(contracts): turn on solidity optimizer

Turn on solidity optimizer

re #740
This commit is contained in:
0xbok
2024-04-09 02:04:15 +04:00
parent a522fff448
commit 7c99c74fac

View File

@@ -14,7 +14,15 @@ import "./tasks/deploy"
dotenvConfig({ path: resolve(__dirname, "../../.env") })
const hardhatConfig: HardhatUserConfig = {
solidity: "0.8.23",
solidity: {
version: "0.8.23",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
networks: {
hardhat: {
chainId: 1337,