Skip to content

Commit

Permalink
Added compiler version to truffle config
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineRondelet committed Apr 28, 2021
1 parent d4b140a commit 498b183
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions zeth_contracts/truffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,15 @@ module.exports = {
useColors: true,
enableTimeouts: false
},
solc: {
optimizer: {
enabled: true,
runs: 200
compilers: {
solc: {
version: "^0.8.0",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
}
}
};

0 comments on commit 498b183

Please sign in to comment.