Summary
The ledgerToTimestamp helper converts a ledger sequence number to an estimated UTC date. An integration test using known reference values should confirm the conversion is accurate before the helper is used in production UI.
Scope
- Call the helper with a reference ledger and timestamp equal to each other — assert the result equals the reference timestamp
- Call with a ledger 100 ahead of reference — assert result is approximately 500 seconds later
- Call with a ledger 100 behind reference — assert result is approximately 500 seconds earlier
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The
ledgerToTimestamphelper converts a ledger sequence number to an estimated UTC date. An integration test using known reference values should confirm the conversion is accurate before the helper is used in production UI.Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram