-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Description:
Currently, the tool only supports inspecting a single slot (via CLI arguments: contract address + slot + block A + block B).
It would be useful to support passing multiple slots (e.g. a list or a file) so that a user can compare many storage positions in one invocation. For example:
- Accept a comma-separated list of slot indices (or hex),
- Or accept a JSON / text file with an array of slots, address, and block pairs.
Benefits:
- Avoid running the tool repeatedly for every slot.
- More efficient workflows for snapshot comparisons of many variables.
- Closer to a “bulk diff / bulk commitment” mode — more practical for real-world contract auditing or state tracking.
Suggested changes:
- Extend CLI (or add a new subcommand) like --slots 0x0,0x1,0xa,5.
- Internally loop over slots, produce a Merkle tree (or list of pair-commitments).
- Output aggregated result (e.g. a JSON array, or a combined commitment root).
Metadata
Metadata
Assignees
Labels
No labels