aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/JSONCompiler.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-03-13 22:21:38 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-04-04 18:37:04 +0800
commit0cbe55005de79b0f7c5c770d50c3eb87df019789 (patch)
treefc47c0c80cad0a7f70f57b5cefe9c9e7de413d76 /test/libsolidity/JSONCompiler.cpp
parentc63efebd4517d51f29082a8d0cff814a4922243d (diff)
downloaddexon-solidity-0cbe55005de79b0f7c5c770d50c3eb87df019789.tar.gz
dexon-solidity-0cbe55005de79b0f7c5c770d50c3eb87df019789.tar.zst
dexon-solidity-0cbe55005de79b0f7c5c770d50c3eb87df019789.zip
Create empty dynamic memory arrays more efficiently.
Diffstat (limited to 'test/libsolidity/JSONCompiler.cpp')
-rw-r--r--test/libsolidity/JSONCompiler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/libsolidity/JSONCompiler.cpp b/test/libsolidity/JSONCompiler.cpp
index aed0a370..cdcc22a6 100644
--- a/test/libsolidity/JSONCompiler.cpp
+++ b/test/libsolidity/JSONCompiler.cpp
@@ -111,12 +111,12 @@ BOOST_AUTO_TEST_CASE(basic_compilation)
BOOST_CHECK(contract["bytecode"].isString());
BOOST_CHECK_EQUAL(
dev::test::bytecodeSansMetadata(contract["bytecode"].asString()),
- "60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00"
+ "60806040523415600e57600080fd5b603580601b6000396000f3006080604052600080fd00"
);
BOOST_CHECK(contract["runtimeBytecode"].isString());
BOOST_CHECK_EQUAL(
dev::test::bytecodeSansMetadata(contract["runtimeBytecode"].asString()),
- "6060604052600080fd00"
+ "6080604052600080fd00"
);
BOOST_CHECK(contract["functionHashes"].isObject());
BOOST_CHECK(contract["gasEstimates"].isObject());
@@ -153,12 +153,12 @@ BOOST_AUTO_TEST_CASE(single_compilation)
BOOST_CHECK(contract["bytecode"].isString());
BOOST_CHECK_EQUAL(
dev::test::bytecodeSansMetadata(contract["bytecode"].asString()),
- "60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00"
+ "60806040523415600e57600080fd5b603580601b6000396000f3006080604052600080fd00"
);
BOOST_CHECK(contract["runtimeBytecode"].isString());
BOOST_CHECK_EQUAL(
dev::test::bytecodeSansMetadata(contract["runtimeBytecode"].asString()),
- "6060604052600080fd00"
+ "6080604052600080fd00"
);
BOOST_CHECK(contract["functionHashes"].isObject());
BOOST_CHECK(contract["gasEstimates"].isObject());