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

extract poh-config crate #3855

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kevinheavey
Copy link

@kevinheavey kevinheavey commented Dec 2, 2024

Problem

solana_sdk::poh_config blocks moving out solana_sdk::genesis_config and imposes a solana_sdk dep on svm crates

Summary of Changes

  • Move to its own crate and re-export with deprecation
  • Make serde optional in the new crate
  • Replace unchecked_div_by_const with regular const division and a check for non-zero denominator, to avoid a solana-program dep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant