diff options
author | Gav Wood <i@gavwood.com> | 2014-12-21 23:28:46 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-12-21 23:28:46 +0800 |
commit | bba4398e48653dbf8a451bb18e04149a858a0308 (patch) | |
tree | 82217adf69d94b58a43a3cc28e6c604388c4672a /SolidityABIJSON.cpp | |
parent | 7c09dcd1bdcd1311dca854ae4bd915f8d752d6b6 (diff) | |
download | dexon-solidity-bba4398e48653dbf8a451bb18e04149a858a0308.tar.gz dexon-solidity-bba4398e48653dbf8a451bb18e04149a858a0308.tar.zst dexon-solidity-bba4398e48653dbf8a451bb18e04149a858a0308.zip |
Fixed #683
Diffstat (limited to 'SolidityABIJSON.cpp')
-rw-r--r-- | SolidityABIJSON.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/SolidityABIJSON.cpp b/SolidityABIJSON.cpp index 62ab0458..4c7c2381 100644 --- a/SolidityABIJSON.cpp +++ b/SolidityABIJSON.cpp @@ -76,7 +76,7 @@ BOOST_AUTO_TEST_CASE(basic_test) char const* interface = R"([ { "name": "f", - "const": false, + "constant": false, "inputs": [ { "name": "a", @@ -115,7 +115,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods) char const* interface = R"([ { "name": "f", - "const": false, + "constant": false, "inputs": [ { "name": "a", @@ -131,7 +131,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods) }, { "name": "g", - "const": false, + "constant": false, "inputs": [ { "name": "b", @@ -159,7 +159,7 @@ BOOST_AUTO_TEST_CASE(multiple_params) char const* interface = R"([ { "name": "f", - "const": false, + "constant": false, "inputs": [ { "name": "a", @@ -193,7 +193,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods_order) char const* interface = R"([ { "name": "c", - "const": false, + "constant": false, "inputs": [ { "name": "b", @@ -209,7 +209,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods_order) }, { "name": "f", - "const": false, + "constant": false, "inputs": [ { "name": "a", @@ -238,7 +238,7 @@ BOOST_AUTO_TEST_CASE(const_function) char const* interface = R"([ { "name": "boo", - "const": true, + "constant": true, "inputs": [{ "name": "a", "type": "uint32" @@ -252,7 +252,7 @@ BOOST_AUTO_TEST_CASE(const_function) }, { "name": "foo", - "const": false, + "constant": false, "inputs": [ { "name": "a", |