diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-13 23:34:20 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-13 23:34:20 +0800 |
commit | 1cd179f0d2cec70afdde843927b68c16027f2b0c (patch) | |
tree | 486b347ba1f27b7eb72d622bb09c8dcfcd81d061 /SolidityABIJSON.cpp | |
parent | 0de5ff34fd14777740ac816d6866f7987f955bc6 (diff) | |
parent | 1bb7f3cbc3737bbdf6653d3721d01dc95a217707 (diff) | |
download | dexon-solidity-1cd179f0d2cec70afdde843927b68c16027f2b0c.tar dexon-solidity-1cd179f0d2cec70afdde843927b68c16027f2b0c.tar.gz dexon-solidity-1cd179f0d2cec70afdde843927b68c16027f2b0c.tar.bz2 dexon-solidity-1cd179f0d2cec70afdde843927b68c16027f2b0c.tar.lz dexon-solidity-1cd179f0d2cec70afdde843927b68c16027f2b0c.tar.xz dexon-solidity-1cd179f0d2cec70afdde843927b68c16027f2b0c.tar.zst dexon-solidity-1cd179f0d2cec70afdde843927b68c16027f2b0c.zip |
Merge pull request #1284 from LefterisJP/sol_SBHCleanup
Solidity StringXX and HashXX types change to BytesXX
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" }] }])"; |