dapphub / dapphub/dapptools

seth sig / seth calldata: handle tuple types

Open
#861 2 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

The abi parser in hevm does not currenlty support tuple types ([ref](https://github.com/dapphub/dapptools/blob/1729e1d87319fc0112e18536d9bc600cb1f3f623/src/hevm/src/EVM/ABI.hs#L511)).

We need to implement this to be able to handle tuple types for `seth sig` and `seth calldata`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the ABI parser in src/hevm/src/EVM/ABI.hs at the referenced location, then trace how it is used by the seth sig and seth calldata entry points. Implement tuple type handling so both commands can process tuple types; done means those commands accept and encode or describe tuple-based ABI inputs without parser failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.