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 epoch-schedule crate #3021

Merged
merged 6 commits into from
Oct 10, 2024
Merged

Conversation

kevinheavey
Copy link

Problem

solana_program::epoch_schedule imposes a solana_program dependency on solana_feature_set and also blocks ripping out solana_program::sysvar

Summary of Changes

  • Move to its own crate
  • Re-export for backwards compatibility
  • Make serde optional in the new crate
  • Add #![no_std] to the new crate

@kevinheavey kevinheavey force-pushed the extract-epoch-schedule branch 3 times, most recently from ac4914e to 5bdd363 Compare October 7, 2024 21:13
@kevinheavey kevinheavey force-pushed the extract-epoch-schedule branch from b1167a9 to 88d1d4b Compare October 8, 2024 08:07
@kevinheavey kevinheavey requested a review from febo October 8, 2024 13:04
@febo
Copy link

febo commented Oct 9, 2024

Looks good – missing only the crate so we can get crate-check to pass.

cc: @yihau

@yihau
Copy link
Member

yihau commented Oct 10, 2024

green!

@febo febo merged commit aefeb0e into anza-xyz:master Oct 10, 2024
50 checks passed
ray-kast pushed a commit to abklabs/agave that referenced this pull request Nov 27, 2024
* extract epoch-schedule crate

* make epoch-schedule crate no-std

* simplify features

* update digest

* update digest

* add deprecation to re-exports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants