hswick / exw3

High level Ethereum RPC Client for Elixir
Apache License 2.0
151 stars 45 forks source link

Error when decoding array of uint256 #131

Open guidomb opened 2 years ago

guidomb commented 2 years ago

I'm getting a MatchError raised by ex_abi when I use this library to call a contract's method that returns an array of uint256. Initially I thought it was a bug in ex_abi but based on the evidence provided in https://github.com/poanetwork/ex_abi/issues/98 it seems that there might something wrong on how this library is handling the response from the RPC call and passing that to ex_abi for decoding.

The issue I reference in ex_abi has all the required information to reproduce the bug

BrandtHill commented 2 years ago

Relevant issue reported here: https://github.com/Metalink-App/web3x/issues/7

Since web3x is forked form exw3 they appear to be identical issues.