dapphub / dapphub/dapptools

Abi-decode the return value of `hevm exec` in `seth run-tx`

Open
#809 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
2.1k
Forks
320
PR merge metrics
No merged PRs in 30d

Description

atm `run-tx` prints the call's return value in the raw bytes form `hevm exec` outputs, which is a bit confusing (demo'd below)

```
❯ seth run-tx 0x41ccbab4d7d0cd55f481df7fce449986364bf13e655dddfb30aa9b38a4340db7
0x00000000000000000000000028d2df1e3481ba90d75e14b9c02cea85b7d6fa2c
```

after #808 we'll have the access to root call's abi, so should be able to abi-decode these return bytes and clear things up

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.