diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-04-05 17:55:46 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-04-05 18:11:24 +0800 |
commit | ac6a30442f4096d1d3b0ca97b0f1d086c1056bcd (patch) | |
tree | e71bfa624fb7b50f6ba9bbb5388f8236c6314b54 /test | |
parent | efa0ccaf9e25a257e1ee6b36c0b77b1532131077 (diff) | |
download | dexon-solidity-ac6a30442f4096d1d3b0ca97b0f1d086c1056bcd.tar.gz dexon-solidity-ac6a30442f4096d1d3b0ca97b0f1d086c1056bcd.tar.zst dexon-solidity-ac6a30442f4096d1d3b0ca97b0f1d086c1056bcd.zip |
Support constantinople in soltest
Diffstat (limited to 'test')
-rw-r--r-- | test/RPCSession.cpp | 2 |
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", |