From 062ca4a19abc127db41e84ba6f01811247073de7 Mon Sep 17 00:00:00 2001 From: nolash Date: Fri, 14 Feb 2020 14:31:02 +0100 Subject: [PATCH 1/2] Specify solc version in truffle config --- solidity/truffle-config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/solidity/truffle-config.js b/solidity/truffle-config.js index 55356bb23..c1c8ccae1 100644 --- a/solidity/truffle-config.js +++ b/solidity/truffle-config.js @@ -34,5 +34,10 @@ module.exports = { enabled: true, runs: 200 } + }, + compilers: { + solc: { + version: '0.4.24' + } } }; From b72175011768684294172b438dc794683b6bdcf6 Mon Sep 17 00:00:00 2001 From: nolash Date: Sat, 22 Feb 2020 15:24:52 +0100 Subject: [PATCH 2/2] Update to version successfully compiled 0.4.26 is first version after 0.4.24 that compiles without stack exchaustion --- solidity/truffle-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solidity/truffle-config.js b/solidity/truffle-config.js index c1c8ccae1..0e1e863f8 100644 --- a/solidity/truffle-config.js +++ b/solidity/truffle-config.js @@ -37,7 +37,7 @@ module.exports = { }, compilers: { solc: { - version: '0.4.24' + version: '0.4.26' } } };