dapptools icon indicating copy to clipboard operation
dapptools copied to clipboard

Throw error with seth 4byte if no matching signatures

Open transmissions11 opened this issue 4 years ago • 0 comments

right now if you search up a 4byte sig with no matches the command just succeeds but returns nothing:

❯ seth 4byte 0xd0a164fb

can see why with verbose:

❯ seth 4byte 0xd0a164fb -v
{
  "count": 0,
  "next": null,
  "previous": null,
  "results": []
}

it should show an error message and exit with an error code like 1 if no results are found instead

transmissions11 avatar Sep 14 '21 02:09 transmissions11