Skip to content

Implement Slot <-> Time conversion #799

@golddydev

Description

@golddydev

Description

In order to to Phase 2 validation, we need to convert Slot (validity_start, ttl) to PosixTime.

We need to have EraHistory which stores each era's summary with SystemStartTime.

Acceptance Criteria

  • Make EraHistory struct to manage Slot <-> Time conversion.
  • Make era_state module to store EraHistory and publish it to downstream module.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions