foundry-rs / foundry-rs/foundry

feat(`cast`): add support for "cast decode-event" with indexed parameters

Open
#12,588 4 comments 0 reactions 1 assignee Claimed by @dipanshuhappy View on GitHub
C-cast T-feature
Dominant language
Rust
Stars
10.6k
Forks
2.6k
Avg merge
18h 20m
Merged PRs (30d)
510

Description

### Component

Cast

### Describe the feature you would like

I want to do
```
cast decode-event --sig "MyEvent(indexed bytes32 id, indexed address user, string name)"
```
but there is no way I can pass in the topics: the command only accepts the "data", which contains only the non-indexed parameters of the event.

(and as a side-issue, what I really want is also add "--sig" parameter to "cast logs")

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.