dapphub / dapphub/dapptools

Support specific block ranges in seth-logs

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

Description

Right now `seth logs --block $N $CONTRACT` yields logs from `$N` to the latest block.
I expected it to just print the logs _in_ `$N`.

Maybe it makes sense to add `--from-block` and `--to-block` as constraints for the range, and the current `--block=$N` could be shorthand for `--from-block=$N --to-block=$N`.

This may also affect other commands that use `--block`, like `events`.

@nanexcool

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.