Remove blockhash workaround in tests

This is now obsolete as final constantinople doesn't contain the blockhash EIP.

Revert 3e55aa3fa2.
This commit is contained in:
Alex Beregszaszi 2019-02-28 21:17:56 +00:00
parent ab33ff1408
commit c3ab43dca7

View File

@ -3084,9 +3084,6 @@ BOOST_AUTO_TEST_CASE(gasprice)
BOOST_AUTO_TEST_CASE(blockhash)
{
// depending on the aleth version, this test only works for pre-constantinople
if (Options::get().evmVersion() < langutil::EVMVersion::constantinople())
{
char const* sourceCode = R"(
contract C {
uint256 counter;
@ -3114,7 +3111,6 @@ BOOST_AUTO_TEST_CASE(blockhash)
hashes.emplace_back(0);
ABI_CHECK(callContractFunction("f()"), encodeDyn(hashes));
}
}
BOOST_AUTO_TEST_CASE(value_complex)