aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2015-04-08 01:15:46 +0800
committersubtly <subtly@users.noreply.github.com>2015-04-08 01:15:46 +0800
commitf08eb06c7ac0a4f126777599c0826b6e78f60ab4 (patch)
treebc0984135a7443f004fda53bf2429dd5092cc879 /SolidityEndToEndTest.cpp
parent571a2c85e22fd5943af19222ef73e4c89dd27f28 (diff)
parent68b61432aea5f99f179b74f5a7a63138a5d2b09a (diff)
downloaddexon-solidity-f08eb06c7ac0a4f126777599c0826b6e78f60ab4.tar
dexon-solidity-f08eb06c7ac0a4f126777599c0826b6e78f60ab4.tar.gz
dexon-solidity-f08eb06c7ac0a4f126777599c0826b6e78f60ab4.tar.bz2
dexon-solidity-f08eb06c7ac0a4f126777599c0826b6e78f60ab4.tar.lz
dexon-solidity-f08eb06c7ac0a4f126777599c0826b6e78f60ab4.tar.xz
dexon-solidity-f08eb06c7ac0a4f126777599c0826b6e78f60ab4.tar.zst
dexon-solidity-f08eb06c7ac0a4f126777599c0826b6e78f60ab4.zip
Merge branch 'p2p' into whisper
Diffstat (limited to 'SolidityEndToEndTest.cpp')
-rw-r--r--SolidityEndToEndTest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/SolidityEndToEndTest.cpp b/SolidityEndToEndTest.cpp
index b4da0789..b169263d 100644
--- a/SolidityEndToEndTest.cpp
+++ b/SolidityEndToEndTest.cpp
@@ -1414,6 +1414,8 @@ BOOST_AUTO_TEST_CASE(sha3)
testSolidityAgainstCpp("a(bytes32)", f, u256(-1));
}
+#ifdef PRECOMPILED_CONTRACTS_GAS_FIXED_IN_SOLIDITY
+
BOOST_AUTO_TEST_CASE(sha256)
{
char const* sourceCode = "contract test {\n"
@@ -1468,6 +1470,8 @@ BOOST_AUTO_TEST_CASE(ecrecover)
BOOST_CHECK(callContractFunction("a(bytes32,uint8,bytes32,bytes32)", h, v, r, s) == encodeArgs(addr));
}
+#endif
+
BOOST_AUTO_TEST_CASE(inter_contract_calls)
{
char const* sourceCode = R"(