Skip to content

Implement StateDiff table (Old Value | New Value) #20

Description

@Emrys02

Implement a table to display state changes, comparing "Old Value" and "New Value" for modified ledger entries.

Context

Understanding how a contract's storage changed is the core of debugging state-related bugs.

Implementation Guidelines

Key Files: crates/cli/src/output/renderers.rs.

  • Use tabled to create a 3-column table: Key, Before, After.
  • Highlight differences (e.g., red for old, green for new).

Expectations

What done looks like: prism diff output clearly separates ledger changes with old and new values side-by-side.

For any question, reach me on Discord: emry_ss

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions