Merge pull request #1546 from chriseth/sol_assumeContractNotCreated

Retain more gas for the case that the called contract is not yet created
This commit is contained in:
Gav Wood 2015-04-08 22:45:13 +02:00
commit 8665d76f52

View File

@ -1468,8 +1468,6 @@ BOOST_AUTO_TEST_CASE(sha3)
testSolidityAgainstCpp("a(bytes32)", f, u256(-1)); testSolidityAgainstCpp("a(bytes32)", f, u256(-1));
} }
#ifdef PRECOMPILED_CONTRACTS_GAS_FIXED_IN_SOLIDITY
BOOST_AUTO_TEST_CASE(sha256) BOOST_AUTO_TEST_CASE(sha256)
{ {
char const* sourceCode = "contract test {\n" char const* sourceCode = "contract test {\n"
@ -3685,5 +3683,3 @@ BOOST_AUTO_TEST_SUITE_END()
} }
} }
} // end namespaces } // end namespaces
#endif