dapphub / dapphub/dapptools

seth: decode revert reason strings starting with 0x08c379a0

Open
#352 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Haskell
Stars
2.1k
Forks
320
PR merge metrics
No merged PRs in 30d

Description

`0x08c379a0` means we can decode an error message and display the string, see [here](https://solidity.readthedocs.io/en/latest/control-structures.html#revert)

We should use this with `seth call` and `seth send`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the seth call and seth send entry points and inspect how revert responses are currently handled. Use the documented 0x08c379a0 Solidity revert format as the reference; done means these commands decode the reason string and display it when present.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, solidity
Domain
blockchain, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.