Open prietoestefi opened 2 years ago
Currently, when we use ABI.get(address) with an invalid argument it throw a MatchError.
ABI.get(address)
MatchError
To handle that we need that this method response be {:error, :invalid_argument}, when it receive an invalid argument.
{:error, :invalid_argument}
The method is defined in eth_client/lib/eth_client/abi.ex
eth_client/lib/eth_client/abi.ex
It requires update the tests.
Currently, when we use
ABI.get(address)
with an invalid argument it throw aMatchError
.To handle that we need that this method response be
{:error, :invalid_argument}
, when it receive an invalid argument.The method is defined in
eth_client/lib/eth_client/abi.ex
It requires update the tests.