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

feat: calculate epoch length from pparams #211

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

agaffney
Copy link
Contributor

@agaffney agaffney commented Nov 4, 2024

  • add per-era functions for calculating epoch length
  • store slot length in milliseconds
  • remove era DB table
  • handle initial era change for genesis block

Fixes #208

* add per-era functions for calculating epoch length
* store slot length in milliseconds
* remove era DB table
* handle initial era change for genesis block

Fixes #208
@agaffney agaffney merged commit 8097e15 into main Nov 4, 2024
6 checks passed
@agaffney agaffney deleted the feat/epoch-calc-from-params branch November 4, 2024 13:26
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.

Calculate epoch length based on protocol parameters
2 participants