aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-03-11 23:58:25 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-03-12 19:53:00 +0800
commit6e9d0d7345f06595b6890831e3cd80449b4d2201 (patch)
tree8ae496ba2b48376bbdaac3902743371d8eaa2882 /SolidityEndToEndTest.cpp
parent5e42f54f968eab2ca20812b7344577862ab75956 (diff)
downloaddexon-solidity-6e9d0d7345f06595b6890831e3cd80449b4d2201.tar
dexon-solidity-6e9d0d7345f06595b6890831e3cd80449b4d2201.tar.gz
dexon-solidity-6e9d0d7345f06595b6890831e3cd80449b4d2201.tar.bz2
dexon-solidity-6e9d0d7345f06595b6890831e3cd80449b4d2201.tar.lz
dexon-solidity-6e9d0d7345f06595b6890831e3cd80449b4d2201.tar.xz
dexon-solidity-6e9d0d7345f06595b6890831e3cd80449b4d2201.tar.zst
dexon-solidity-6e9d0d7345f06595b6890831e3cd80449b4d2201.zip
Fixing byte array index access code generation
Diffstat (limited to 'SolidityEndToEndTest.cpp')
-rw-r--r--SolidityEndToEndTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/SolidityEndToEndTest.cpp b/SolidityEndToEndTest.cpp
index b4704827..c3116a99 100644
--- a/SolidityEndToEndTest.cpp
+++ b/SolidityEndToEndTest.cpp
@@ -3016,7 +3016,6 @@ BOOST_AUTO_TEST_CASE(bytes_index_access)
10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
30, 31, 32, 33};
- cout << toHex(callContractFunction("direct(bytes,uint256)", u256(array.length()), 32, array)) << endl;
BOOST_CHECK(callContractFunction("direct(bytes,uint256)", u256(array.length()), 32, array) == encodeArgs(32));
BOOST_CHECK(callContractFunction("storageCopyRead(bytes,uint256)", u256(array.length()), 32, array) == encodeArgs(32));
BOOST_CHECK(callContractFunction("storageWrite()") == encodeArgs(0x193));