Enable solidity optimizer
Contract size was becoming too large without optimization.
This commit is contained in:
parent
b8ce6c3682
commit
169a446769
|
@ -3,7 +3,15 @@ require("hardhat-deploy")
|
||||||
require("hardhat-deploy-ethers")
|
require("hardhat-deploy-ethers")
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
solidity: "0.8.4",
|
solidity: {
|
||||||
|
version: "0.8.4",
|
||||||
|
settings: {
|
||||||
|
optimizer: {
|
||||||
|
enabled: true,
|
||||||
|
runs: 1000,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
namedAccounts: {
|
namedAccounts: {
|
||||||
deployer: { default: 0 },
|
deployer: { default: 0 },
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue