mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove a test about SELFDESTRUCT because the test harness obtains refund while the gas meter should not assume the refund.
This commit is contained in:
parent
cee54deb3b
commit
3c4c4abc2f
@ -278,19 +278,6 @@ BOOST_AUTO_TEST_CASE(balance_gas)
|
||||
testRunTimeGas("lookup_balance(address)", vector<bytes>{encodeArgs(2), encodeArgs(100)});
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(selfdestruct_gas)
|
||||
{
|
||||
char const* sourceCode = R"(
|
||||
contract A {
|
||||
function f() {
|
||||
selfdestruct(0x30);
|
||||
}
|
||||
}
|
||||
)";
|
||||
testCreationTimeGas(sourceCode);
|
||||
testRunTimeGas("f()", vector<bytes>{encodeArgs()});
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(extcodesize_gas)
|
||||
{
|
||||
char const* sourceCode = R"(
|
||||
|
Loading…
Reference in New Issue
Block a user