mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
updated unit test
This commit is contained in:
parent
342afb10d5
commit
78a343d2ff
@ -60,10 +60,14 @@ std::unique_ptr<std::string> InterfaceHandler::getABIInterface(ContractDefinitio
|
|||||||
method["type"] = "function";
|
method["type"] = "function";
|
||||||
method["name"] = it.second->getDeclaration().getName();
|
method["name"] = it.second->getDeclaration().getName();
|
||||||
method["constant"] = it.second->isConstant();
|
method["constant"] = it.second->isConstant();
|
||||||
method["inputs"] = populateParameters(externalFunctionType->getParameterNames(),
|
method["inputs"] = populateParameters(
|
||||||
externalFunctionType->getParameterTypeNames());
|
externalFunctionType->getParameterNames(),
|
||||||
method["outputs"] = populateParameters(externalFunctionType->getReturnParameterNames(),
|
externalFunctionType->getParameterTypeNames()
|
||||||
externalFunctionType->getReturnParameterTypeNames());
|
);
|
||||||
|
method["outputs"] = populateParameters(
|
||||||
|
externalFunctionType->getReturnParameterNames(),
|
||||||
|
externalFunctionType->getReturnParameterTypeNames()
|
||||||
|
);
|
||||||
abi.append(method);
|
abi.append(method);
|
||||||
}
|
}
|
||||||
if (_contractDef.getConstructor())
|
if (_contractDef.getConstructor())
|
||||||
|
Loading…
Reference in New Issue
Block a user