Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solana epoch-info mis-estimates epoch duration as epoch end nears #17472

Closed
bji opened this issue May 25, 2021 · 1 comment · Fixed by #18258
Closed

solana epoch-info mis-estimates epoch duration as epoch end nears #17472

bji opened this issue May 25, 2021 · 1 comment · Fixed by #18258

Comments

@bji
Copy link
Contributor

bji commented May 25, 2021

Problem

solana epoch-info is mis-estimating the current epoch duration, and it's getting less and less accurate as the end of epoch nears. This is epoch 184 on mainnet-beta. The epoch is lasting approximately 3 days 4 hours, and the solana epoch-info command roughly showed that estimate up to a couple of hours ago, but as the end of epoch approaches, the display has been getting less and less accurate.

$ solana epoch-info

Block height: 72629917
Slot: 79918511
Epoch: 184
Transaction Count: 18232557494
Epoch Slot Range: [79488000..79920000)
Epoch Completed Percent: 99.655%
Epoch Completed Slots: 430511/432000 (1489 remaining)
Epoch Completed Time: 2days 21h 28m 46s/2days 21h 43m 12s (14m 25s remaining)

/sandbox/b-hydra-mainline/home-working/srcroot$ solana block-time 79488000
Block: 79488000
Date: 2021-05-22T03:07:36Z

$ date -u
Tue 25 May 2021 06:58:09 AM UTC

As you can see, the epoch began 3 days 3 hours 51 minutes ago. And it has approximately 14 minutes remaining. But solana epoch-info is now showing an epoch completed time of 2 days 21 hours 28 minutes, with only 14 minutes left.

Proposed Solution

@github-actions
Copy link
Contributor

github-actions bot commented Apr 2, 2022

This issue has been automatically locked since there has not been any activity in past 7 days after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant