diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-11 18:38:11 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-12 19:53:00 +0800 |
commit | 5e42f54f968eab2ca20812b7344577862ab75956 (patch) | |
tree | f632619a43dc285a755a511273fe9781de199de6 /SolidityABIJSON.cpp | |
parent | 125a1bb670a4e1b0d1e6816928957142d24b4830 (diff) | |
download | dexon-solidity-5e42f54f968eab2ca20812b7344577862ab75956.tar dexon-solidity-5e42f54f968eab2ca20812b7344577862ab75956.tar.gz dexon-solidity-5e42f54f968eab2ca20812b7344577862ab75956.tar.bz2 dexon-solidity-5e42f54f968eab2ca20812b7344577862ab75956.tar.lz dexon-solidity-5e42f54f968eab2ca20812b7344577862ab75956.tar.xz dexon-solidity-5e42f54f968eab2ca20812b7344577862ab75956.tar.zst dexon-solidity-5e42f54f968eab2ca20812b7344577862ab75956.zip |
Changes in Solidity Tests to use the new bytesXX type
Diffstat (limited to 'SolidityABIJSON.cpp')
-rw-r--r-- | SolidityABIJSON.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/SolidityABIJSON.cpp b/SolidityABIJSON.cpp index 5f67a566..19527013 100644 --- a/SolidityABIJSON.cpp +++ b/SolidityABIJSON.cpp @@ -339,10 +339,10 @@ BOOST_AUTO_TEST_CASE(inherited) char const* sourceCode = " contract Base { \n" " function baseFunction(uint p) returns (uint i) { return p; } \n" - " event baseEvent(string32 indexed evtArgBase); \n" + " event baseEvent(bytes32 indexed evtArgBase); \n" " } \n" " contract Derived is Base { \n" - " function derivedFunction(string32 p) returns (string32 i) { return p; } \n" + " function derivedFunction(bytes32 p) returns (bytes32 i) { return p; } \n" " event derivedEvent(uint indexed evtArgDerived); \n" " }"; @@ -369,12 +369,12 @@ BOOST_AUTO_TEST_CASE(inherited) "inputs": [{ "name": "p", - "type": "string32" + "type": "bytes32" }], "outputs": [{ "name": "i", - "type": "string32" + "type": "bytes32" }] }, { @@ -394,7 +394,7 @@ BOOST_AUTO_TEST_CASE(inherited) [{ "indexed": true, "name": "evtArgBase", - "type": "string32" + "type": "bytes32" }] }])"; |