Solidity version bump & viaIR compilation

This commit is contained in:
PedroCailleret
2023-05-14 22:31:12 -03:00
parent 8ebef3aaf1
commit d8147bd58e
30 changed files with 44 additions and 42 deletions

View File

@@ -121,16 +121,18 @@ const config: HardhatUserConfig = {
tests: "./test",
},
solidity: {
version: "0.8.9",
version: "0.8.19",
settings: {
// viaIR: true,
metadata: {
bytecodeHash: "none",
},
viaIR: true,
optimizer: {
enabled: true,
// max val = 4_294_967_295
runs: 20_000,
details: {
yul: true,
yulDetails: {
stackAllocation: true,
},
},
},
},
},