Skip to content

Fix getEpochInfo to use the cluster’s epoch schedule - #280

Open
NeerajGodiyal wants to merge 3 commits into
alpenglow-devfrom
feature/epoch-info
Open

NeerajGodiyal wants to merge 3 commits into
alpenglow-devfrom
feature/epoch-info

Conversation

@NeerajGodiyal

Copy link
Copy Markdown
Collaborator

Use the cluster’s epoch schedule in getEpochInfo instead of a fixed 432,000-slot epoch. Derive the epoch and slot index from the same captured slot to keep the response consistent.

Testing

  • HTTP regression tests cover custom, standard and warmup schedules, including epoch boundaries.
  • RPC/global race tests and repository-wide go vet pass.
  • Live Mithril checks on Hetzner confirm correct 128-slot reporting and unchanged 432,000-slot reporting.
  • The additional replay run stopped at slot 501 with identical bank-hash mismatches on both baseline and patched binaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant