Multidimensional uint arrays cause a throw in _decodeMethod(data).
10 fixed 1-dimensional arrays: new Web3().toBigNumber([1,2,3,4]).toString()
But multidimensional still fails: new Web3().toBigNumber([[1,2],[3,4]]).toString()
Issue is also mentioned in #6
An example function from the 0x project
batchFillOrKillOrders(address[5][] orderAddresses, uint256[6][] orderValues, uint256[] fillTakerTokenAmounts, uint8[] v, bytes32[] r, bytes32[] s)Example transaction
Closed because the current decodeParams doesn't handle this correctly either.
Currently using ethers.js Interface.decodeParmams to parse AbiV2 encoded input.
Multidimensional uint arrays cause a throw in
_decodeMethod(data)
.10 fixed 1-dimensional arrays:
new Web3().toBigNumber([1,2,3,4]).toString()
But multidimensional still fails:
new Web3().toBigNumber([[1,2],[3,4]]).toString()
Issue is also mentioned in #6
An example function from the 0x project
batchFillOrKillOrders(address[5][] orderAddresses, uint256[6][] orderValues, uint256[] fillTakerTokenAmounts, uint8[] v, bytes32[] r, bytes32[] s)
Example transaction