Description
Ledger state is not just contract storage. It also includes protocol version, sequence numbers, and timestamps.
Requirements
- Extract the current
LedgerInfo and Env configuration from the host in simulator/src/state.rs.
- Store these as a sub-struct
HostEnv in the snapshot.
- Allow detection of changes to these variables (e.g., protocol upgrades during block boundaries).
Acceptance Criteria
- Env variables are captured alongside storage entries.
- Snapshot diff can identify changes to ledger parameters.
Estimated File Changes: 2 (simulator/src/types.rs, simulator/src/state.rs)