mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixing SolidityABIJSON test
This commit is contained in:
parent
4f97c89d4f
commit
765bd95a07
@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
])";
|
])";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user