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