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
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.Expectations
What done looks like:
prism diffoutput clearly separates ledger changes with old and new values side-by-side.For any question, reach me on Discord: emry_ss