-
Notifications
You must be signed in to change notification settings - Fork 255
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
sdk: evict hard_forks #3962
sdk: evict hard_forks #3962
Conversation
Note CI is broken on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall! Just tiny things. I hesitated about whether we should use the Slot
type from solana_clock
for better clarity.
It's such a tiny type that it seems silly to add the dependency for a type alias, and the API is clear enough that they're slots, so I lean towards your approach.
Yeah I feel like the dependency for just a type alias is silly, too. I noticed we've moved to |
468c58b
to
8958213
Compare
Will this end up being used anywhere that the solana-genesis-config crate is not used? If not we could just put them in the same crate #3860 No strong feelings though, I consider crates cheap |
There are a few places it's used without |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the last bit to fix, then we can get this in. @yihau can you accept solana-hard-forks
?
According to the failing test, looks like a frozen-abi digest needs to be updated:
|
Sorry, I didn't see this was failing after I committed your suggestion. Will fix. |
Co-authored-by: Jon C <[email protected]>
Co-authored-by: Jon C <[email protected]>
c97755c
to
0f5aa14
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, one last thing to gate this properly on the full
feature as it was before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Problem
Moving toward evicting
rent_collector
from the SDK,hard_forks
stands in the way.#3932
Summary of Changes
Extract it into
solana-hard-forks
standalone crate.