Open roynalnaruto opened 5 years ago
I was trying to get the function arguments for a function with bytes32[] as the argument type.
bytes32[]
ABI.decode goes into an infinite loop.
ABI.decode
Is this not supported yet?
The command I tried:
ABI.decode("myTempFunction(bytes32[],bytes32[])", "4251d89700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000176a5ced4b86db8f44cb702405947e3d0b672980608810bb4d922702bbe1809440000000000000000000000000000000000000000000000000000000000000001e1ba3868e0fb3c2af6ad53db380ac069165eb51ae5b6f5ea3f574c2f79b81a08" |> Base.decode16!(case: :lower))
A couple of months ago I re-wrote encoder and decoder of abi n https://github.com/poanetwork/ex_abi . it should be fixed there
I was trying to get the function arguments for a function with
bytes32[]
as the argument type.ABI.decode
goes into an infinite loop.Is this not supported yet?
The command I tried: