|
@ -236,20 +236,6 @@ BOOST_AUTO_TEST_CASE(const_function) |
|
|
"}\n"; |
|
|
"}\n"; |
|
|
|
|
|
|
|
|
char const* interface = R"([ |
|
|
char const* interface = R"([ |
|
|
{ |
|
|
|
|
|
"name": "boo", |
|
|
|
|
|
"constant": true, |
|
|
|
|
|
"inputs": [{ |
|
|
|
|
|
"name": "a", |
|
|
|
|
|
"type": "uint32" |
|
|
|
|
|
}], |
|
|
|
|
|
"outputs": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "b", |
|
|
|
|
|
"type": "uint256" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
"name": "foo", |
|
|
"name": "foo", |
|
|
"constant": false, |
|
|
"constant": false, |
|
@ -269,6 +255,20 @@ BOOST_AUTO_TEST_CASE(const_function) |
|
|
"type": "uint256" |
|
|
"type": "uint256" |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "boo", |
|
|
|
|
|
"constant": true, |
|
|
|
|
|
"inputs": [{ |
|
|
|
|
|
"name": "a", |
|
|
|
|
|
"type": "uint32" |
|
|
|
|
|
}], |
|
|
|
|
|
"outputs": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "b", |
|
|
|
|
|
"type": "uint256" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
} |
|
|
} |
|
|
])"; |
|
|
])"; |
|
|
|
|
|
|
|
|