Skip to content

EpochSchedule::get() returns incorrect first_slot_in_epoch #434

@aoikurokawa

Description

@aoikurokawa

EpochSchedule::get()? is returning an incorrect first_slot_in_epoch value that doesn't match the actual network epoch boundaries.

Actual Network Data (Solana Explorer - Epoch 886):

  • First Slot: 382,752,000
  • Last Slot: 383,183,999
  • Slots per Epoch: 432,000

https://solscan.io/epoch/886

Program Logs (using EpochSchedule::get()?):

Current epoch: 886
Current slot: 382964502
Slots in epoch: 432000
First slot in epoch: 377228256  ❌ INCORRECT
Slot index: 5736246

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions