diff options
author | chriseth <chris@ethereum.org> | 2017-09-01 19:37:40 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-09-16 19:31:12 +0800 |
commit | c5063d315583270e88a01a0a82a84a68190f6ba1 (patch) | |
tree | ba738fb253932ad7cb81bae6d27352aa06de4c7f /test/libsolidity/SolidityABIJSON.cpp | |
parent | 70d70e78160069d28a6b4931c995d0b24c2b09d5 (diff) | |
download | dexon-solidity-c5063d315583270e88a01a0a82a84a68190f6ba1.tar dexon-solidity-c5063d315583270e88a01a0a82a84a68190f6ba1.tar.gz dexon-solidity-c5063d315583270e88a01a0a82a84a68190f6ba1.tar.bz2 dexon-solidity-c5063d315583270e88a01a0a82a84a68190f6ba1.tar.lz dexon-solidity-c5063d315583270e88a01a0a82a84a68190f6ba1.tar.xz dexon-solidity-c5063d315583270e88a01a0a82a84a68190f6ba1.tar.zst dexon-solidity-c5063d315583270e88a01a0a82a84a68190f6ba1.zip |
Use "tuple" for struct types in ABI JSON.
Only use tuple as a type in the ABI (and remove all "anonymous struct" references too)
Diffstat (limited to 'test/libsolidity/SolidityABIJSON.cpp')
-rw-r--r-- | test/libsolidity/SolidityABIJSON.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/libsolidity/SolidityABIJSON.cpp b/test/libsolidity/SolidityABIJSON.cpp index e4ab54ec..e5d9e99c 100644 --- a/test/libsolidity/SolidityABIJSON.cpp +++ b/test/libsolidity/SolidityABIJSON.cpp @@ -973,11 +973,11 @@ BOOST_AUTO_TEST_CASE(return_structs) } ], "name" : "sub", - "type" : "[]" + "type" : "tuple[]" } ], "name" : "s", - "type" : "" + "type" : "tuple" } ], "payable" : false, @@ -1015,7 +1015,7 @@ BOOST_AUTO_TEST_CASE(return_structs_with_contracts) } ], "name": "s", - "type": "" + "type": "tuple" }, { "name": "c", @@ -1052,7 +1052,7 @@ BOOST_AUTO_TEST_CASE(event_structs) ], "indexed": false, "name": "t", - "type": "" + "type": "tuple" }, { "components": [ @@ -1068,7 +1068,7 @@ BOOST_AUTO_TEST_CASE(event_structs) } ], "name": "sub", - "type": "[]" + "type": "tuple[]" }, { "name": "b", @@ -1077,7 +1077,7 @@ BOOST_AUTO_TEST_CASE(event_structs) ], "indexed": false, "name": "s", - "type": "" + "type": "tuple" } ], "name": "E", @@ -1115,7 +1115,7 @@ BOOST_AUTO_TEST_CASE(structs_in_libraries) } ], "name": "sub", - "type": "[]" + "type": "tuple[]" }, { "name": "b", @@ -1123,7 +1123,7 @@ BOOST_AUTO_TEST_CASE(structs_in_libraries) } ], "name": "s", - "type": "" + "type": "tuple" } ], "name": "g", |