ethereum / ethereumj

DEPRECATED! Java implementation of the Ethereum yellowpaper. For JSON-RPC and other client features check Ethereum Harmony
GNU Lesser General Public License v3.0
2.18k stars 1.09k forks source link

CallTransaction.Function.decode(byte[] encoded) method ,when params contains string type,decode result is blank #1293

Open xiajikaluli opened 4 years ago

xiajikaluli commented 4 years ago

CallTransaction.Function.decode(byte[] encoded) method ,when params contains string type,decode result is blank. version 1.12.0-RELEASE contract code: event LogCreate(address dataContract,string contractName,string version); java code: CallTransaction.Function logEvent = CallTransaction.Function.fromSignature(logType.getName(), logType.getParams()); Object[] result = logEvent.decode(ByteUtil.hex2byte(data)); The arrary result ,secord and third param decode result is ""