aboutsummaryrefslogtreecommitdiffstats
path: root/test/RPCSession.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-04-05 17:55:46 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-04-05 18:11:24 +0800
commitac6a30442f4096d1d3b0ca97b0f1d086c1056bcd (patch)
treee71bfa624fb7b50f6ba9bbb5388f8236c6314b54 /test/RPCSession.cpp
parentefa0ccaf9e25a257e1ee6b36c0b77b1532131077 (diff)
downloaddexon-solidity-ac6a30442f4096d1d3b0ca97b0f1d086c1056bcd.tar.gz
dexon-solidity-ac6a30442f4096d1d3b0ca97b0f1d086c1056bcd.tar.zst
dexon-solidity-ac6a30442f4096d1d3b0ca97b0f1d086c1056bcd.zip
Support constantinople in soltest
Diffstat (limited to 'test/RPCSession.cpp')
-rw-r--r--test/RPCSession.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp
index 03b1341c..7d4b8924 100644
--- a/test/RPCSession.cpp
+++ b/test/RPCSession.cpp
@@ -226,6 +226,8 @@ void RPCSession::test_setChainParams(vector<string> const& _accounts)
forks += "\"EIP158ForkBlock\": \"0x00\",\n";
if (test::Options::get().evmVersion() >= solidity::EVMVersion::byzantium())
forks += "\"byzantiumForkBlock\": \"0x00\",\n";
+ if (test::Options::get().evmVersion() >= solidity::EVMVersion::constantinople())
+ forks += "\"constantinopleForkBlock\": \"0x00\",\n";
static string const c_configString = R"(
{
"sealEngine": "NoProof",