mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
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:
parent
ab33ff1408
commit
c3ab43dca7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user