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:
Yoichi Hirai 2017-02-25 13:20:17 +01:00 committed by chriseth
parent cee54deb3b
commit 3c4c4abc2f

View File

@ -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"(