aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-02-25 03:09:38 +0800
committerchriseth <chris@ethereum.org>2017-04-25 22:47:44 +0800
commitcee54deb3b6504bebceec129a51cd1a93a68d56b (patch)
tree8ce692985af012536882c8229f5f34f788511e82
parent5176784b18fda79e0634af4f817bedca80048eaf (diff)
downloaddexon-solidity-cee54deb3b6504bebceec129a51cd1a93a68d56b.tar.gz
dexon-solidity-cee54deb3b6504bebceec129a51cd1a93a68d56b.tar.zst
dexon-solidity-cee54deb3b6504bebceec129a51cd1a93a68d56b.zip
test: fix invalid signatures
-rw-r--r--test/libsolidity/GasMeter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/GasMeter.cpp b/test/libsolidity/GasMeter.cpp
index 220d27cf..35aa998d 100644
--- a/test/libsolidity/GasMeter.cpp
+++ b/test/libsolidity/GasMeter.cpp
@@ -261,8 +261,8 @@ BOOST_AUTO_TEST_CASE(exponent_size)
}
)";
testCreationTimeGas(sourceCode);
- testRunTimeGas("f(uint256)", vector<bytes>{encodeArgs(2)});
testRunTimeGas("g(uint256)", vector<bytes>{encodeArgs(2)});
+ testRunTimeGas("h(uint256)", vector<bytes>{encodeArgs(2)});
}
BOOST_AUTO_TEST_CASE(balance_gas)
@@ -275,7 +275,7 @@ BOOST_AUTO_TEST_CASE(balance_gas)
}
)";
testCreationTimeGas(sourceCode);
- testRunTimeGas("f(uint256)", vector<bytes>{encodeArgs(2), encodeArgs(100)});
+ testRunTimeGas("lookup_balance(address)", vector<bytes>{encodeArgs(2), encodeArgs(100)});
}
BOOST_AUTO_TEST_CASE(selfdestruct_gas)