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
@ -3083,9 +3083,6 @@ BOOST_AUTO_TEST_CASE(gasprice)
|
|||||||
}
|
}
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(blockhash)
|
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"(
|
char const* sourceCode = R"(
|
||||||
contract C {
|
contract C {
|
||||||
@ -3115,7 +3112,6 @@ BOOST_AUTO_TEST_CASE(blockhash)
|
|||||||
|
|
||||||
ABI_CHECK(callContractFunction("f()"), encodeDyn(hashes));
|
ABI_CHECK(callContractFunction("f()"), encodeDyn(hashes));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(value_complex)
|
BOOST_AUTO_TEST_CASE(value_complex)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user