diff options
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", |