diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-02-25 20:20:17 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-04-25 22:47:44 +0800 |
commit | 3c4c4abc2f39293ea4b8af52d00774323f9aac0f (patch) | |
tree | f423e97ba3b060f84b6633913ee0a4f1f6714a13 | |
parent | cee54deb3b6504bebceec129a51cd1a93a68d56b (diff) | |
download | dexon-solidity-3c4c4abc2f39293ea4b8af52d00774323f9aac0f.tar.gz dexon-solidity-3c4c4abc2f39293ea4b8af52d00774323f9aac0f.tar.zst dexon-solidity-3c4c4abc2f39293ea4b8af52d00774323f9aac0f.zip |
Remove a test about SELFDESTRUCT because the test harness obtains refund while the gas meter should not assume the refund.
-rw-r--r-- | test/libsolidity/GasMeter.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
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<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"( |