dapphub / dapptools

Dapp, Seth, Hevm, and more
https://dapp.tools
2.1k stars 325 forks source link

seth: decode revert reason strings starting with 0x08c379a0 #352

Open livnev opened 4 years ago

livnev commented 4 years ago

0x08c379a0 means we can decode an error message and display the string, see here

We should use this with seth call and seth send.

rainbreak commented 4 years ago

Might as well catch the new solc 0.8 Panic(uint256) codes as well as the Error(string) this refers to.