Consensys / abi-decoder

Nodejs and Javascript library for decoding data params and events from ethereum transactions
GNU General Public License v3.0
640 stars 223 forks source link

fixed decoding uint or int arrays #10

Closed nionis closed 6 years ago

nionis commented 6 years ago

When trying to decode a uint[] or int[] it errors because it tries to do this:

new Web3().toBigNumber("1,2,3").toString()

and results to a throw from BigNumber,

this is a fix, also updates tests, and missing dependency "transform-runtime"

denisgranha commented 6 years ago

Thank you for the contribution :)