Skip to content

Conversation

@ripatel-fd
Copy link
Contributor

  • Fixes bug where slots_per_year parameter differs between bank
    and genesis config (U.B. in the SVM)
  • Fixes bug where slots_per_year is taken from epoch context even
    though it can be fully derived from genesis config
  • Constrains ticks_per_slot (a hardcoded genesis parameter) to
    reasonable values, which would otherwise cause invalid floating
    points (denormals, infinite values) in epoch bounaries

- Fixes bug where slots_per_year parameter differs between bank
  and genesis config (U.B. in the SVM)
- Fixes bug where slots_per_year is taken from epoch context even
  though it can be fully derived from genesis config
- Constrains ticks_per_slot (a hardcoded genesis parameter) to
  reasonable values, which would otherwise cause invalid floating
  points (denormals, infinite values) in epoch bounaries
@ripatel-fd ripatel-fd force-pushed the ripatel/block-harness-tick-per-slot branch from 18209e6 to 318f47d Compare November 20, 2025 23:03
@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.053168 s 0.053569 s 0.754%
backtest mainnet-368528500-perf snapshot load 2.665 s 1.787 s -32.946%
backtest mainnet-368528500-perf total elapsed 53.167673 s 53.569136 s 0.755%
firedancer mem usage with mainnet.toml 1001.1 GiB 1001.1 GiB 0.000%

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.

4 participants