lambdaclass / ethereum_war_game_tooling

We are slow while using the UI/UX of crypto wallets so we created our CLI version
MIT License
5 stars 2 forks source link

Handle response of ABI get method #82

Open prietoestefi opened 2 years ago

prietoestefi commented 2 years ago

Currently, when we use ABI.get(address) with an invalid argument it throw a MatchError.

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.