Skip to content

Constrain ticks_per_slot in block harness#412

Open
ripatel-fd wants to merge 1 commit intofiredancer-io:agave-v3.1.0-beta.0from
ripatel-fd:ripatel/ticks-per-slot
Open

Constrain ticks_per_slot in block harness#412
ripatel-fd wants to merge 1 commit intofiredancer-io:agave-v3.1.0-beta.0from
ripatel-fd:ripatel/ticks-per-slot

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
Copy link
Contributor Author

Need to rewrite test vectors to have correct ticks_per_slot

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.

3 participants