aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityParser.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-03-10 00:48:33 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-03-12 19:53:00 +0800
commit5abf18c27f48c70948876fca06b4a26a608454ce (patch)
tree2610bb29e89c2f62033b443a2d17aa7aab44d0a2 /SolidityParser.cpp
parentc72197a45315649b9d6d32c84d1cc94f2e8f0e84 (diff)
downloaddexon-solidity-5abf18c27f48c70948876fca06b4a26a608454ce.tar
dexon-solidity-5abf18c27f48c70948876fca06b4a26a608454ce.tar.gz
dexon-solidity-5abf18c27f48c70948876fca06b4a26a608454ce.tar.bz2
dexon-solidity-5abf18c27f48c70948876fca06b4a26a608454ce.tar.lz
dexon-solidity-5abf18c27f48c70948876fca06b4a26a608454ce.tar.xz
dexon-solidity-5abf18c27f48c70948876fca06b4a26a608454ce.tar.zst
dexon-solidity-5abf18c27f48c70948876fca06b4a26a608454ce.zip
Most EndToEndTests are now compliant with the Bytes renaming
Diffstat (limited to 'SolidityParser.cpp')
-rw-r--r--SolidityParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/SolidityParser.cpp b/SolidityParser.cpp
index 88b86e63..608e1707 100644
--- a/SolidityParser.cpp
+++ b/SolidityParser.cpp
@@ -307,7 +307,7 @@ BOOST_AUTO_TEST_CASE(mapping_in_struct)
" struct test_struct {\n"
" address addr;\n"
" uint256 count;\n"
- " mapping(hash => test_struct) self_reference;\n"
+ " mapping(bytes32 => test_struct) self_reference;\n"
" }\n"
"}\n";
ETH_TEST_CHECK_NO_THROW(parseText(text), "Parsing failed");
@@ -318,7 +318,7 @@ BOOST_AUTO_TEST_CASE(mapping_to_mapping_in_struct)
char const* text = "contract test {\n"
" struct test_struct {\n"
" address addr;\n"
- " mapping (uint64 => mapping (hash => uint)) complex_mapping;\n"
+ " mapping (uint64 => mapping (bytes32 => uint)) complex_mapping;\n"
" }\n"
"}\n";
ETH_TEST_CHECK_NO_THROW(parseText(text), "Parsing failed");