aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityExecutionFramework.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-23 00:21:26 +0800
committerchriseth <chris@ethereum.org>2018-03-02 00:19:35 +0800
commitf2f61f1c2f3b4d553c07fcf1746f49e799cb7aa4 (patch)
tree80555ec0e8139a30bfd7bc83cc1acf811eada487 /test/libsolidity/SolidityExecutionFramework.h
parent83515eadcf21decc9355c69c621c4d530a62b04e (diff)
downloaddexon-solidity-f2f61f1c2f3b4d553c07fcf1746f49e799cb7aa4.tar.gz
dexon-solidity-f2f61f1c2f3b4d553c07fcf1746f49e799cb7aa4.tar.zst
dexon-solidity-f2f61f1c2f3b4d553c07fcf1746f49e799cb7aa4.zip
Test both EVM versions.
Diffstat (limited to 'test/libsolidity/SolidityExecutionFramework.h')
-rw-r--r--test/libsolidity/SolidityExecutionFramework.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libsolidity/SolidityExecutionFramework.h b/test/libsolidity/SolidityExecutionFramework.h
index f562721d..12687dd1 100644
--- a/test/libsolidity/SolidityExecutionFramework.h
+++ b/test/libsolidity/SolidityExecutionFramework.h
@@ -68,6 +68,7 @@ public:
m_compiler.reset(false);
m_compiler.addSource("", sourceCode);
m_compiler.setLibraries(_libraryAddresses);
+ m_compiler.setEVMVersion(m_evmVersion);
m_compiler.setOptimiserSettings(m_optimize, m_optimizeRuns);
if (!m_compiler.compile())
{