From 3c4c4abc2f39293ea4b8af52d00774323f9aac0f Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Sat, 25 Feb 2017 13:20:17 +0100 Subject: Remove a test about SELFDESTRUCT because the test harness obtains refund while the gas meter should not assume the refund. --- test/libsolidity/GasMeter.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'test') diff --git a/test/libsolidity/GasMeter.cpp b/test/libsolidity/GasMeter.cpp index 35aa998d..f90cb105 100644 --- a/test/libsolidity/GasMeter.cpp +++ b/test/libsolidity/GasMeter.cpp @@ -278,19 +278,6 @@ BOOST_AUTO_TEST_CASE(balance_gas) testRunTimeGas("lookup_balance(address)", vector{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{encodeArgs()}); -} - BOOST_AUTO_TEST_CASE(extcodesize_gas) { char const* sourceCode = R"( -- cgit