aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-02-25 20:20:17 +0800
committerchriseth <chris@ethereum.org>2017-04-25 22:47:44 +0800
commit3c4c4abc2f39293ea4b8af52d00774323f9aac0f (patch)
treef423e97ba3b060f84b6633913ee0a4f1f6714a13 /test
parentcee54deb3b6504bebceec129a51cd1a93a68d56b (diff)
downloaddexon-solidity-3c4c4abc2f39293ea4b8af52d00774323f9aac0f.tar
dexon-solidity-3c4c4abc2f39293ea4b8af52d00774323f9aac0f.tar.gz
dexon-solidity-3c4c4abc2f39293ea4b8af52d00774323f9aac0f.tar.bz2
dexon-solidity-3c4c4abc2f39293ea4b8af52d00774323f9aac0f.tar.lz
dexon-solidity-3c4c4abc2f39293ea4b8af52d00774323f9aac0f.tar.xz
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.
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/GasMeter.cpp13
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"(