feat: catchup to agave@06464c5#424
Merged
ksn6 merged 3 commits intoanza-xyz:masterfrom Aug 28, 2025
Merged
Conversation
* Bump all crates * Update programs/sbf deps and lockfile * Update programs/sbf and tests * Update lockfile * Straightforward changes, updating type names and functions * VoteState -> VoteStateV3 * VoteStateVersions::convert_to_current -> convert_to_v3 * Sysvar -> SysvarSerialize * Import StakeHistory from solana_stake_interface * BorshIoError(String) -> BorshIoError * Import ClusterType from solana_cluster_tpe * Keypair::from_bytes -> Keypair::try_from * Hash.0 -> Hash::as_bytes * IMPORTANT: Update runtime / syscalls with new AccountInfo AccountInfo renamed `rent_epoch` to `_unused` and the entrypoint no longer deserializes the field at all, so make sure this won't cause any divergence in the runtime. * Update sol_to_lamports and lamports_to_sol in libs * zk-keygen: update to zk-sdk and v3 crates * watchtower: Update to v3 crates and sol_str_to_lamports * test-validator: Update sol string parsing with sol_str_to_lamports * gossip: Update to sdk v3 crates * Keypair::from_bytes -> try_from * Keypair::generate -> generate random bytes by hand * faucet: Use build_balance_message instead of floats * ledger-tool: Use build_balance_message and new imports * stake-accounts: Update to sol_str_to_lamports / build_balance_message * tokens: Use build_balance_message / sol_str_to_lamports * cli: Update dependencies and string treatment * Use sol_str_to_lamports, build_balance_message, and normal multiplication for tests * Update error logging to use TryFrom<u32> as well * Update to feature and config interface crates * Update VoteState -> VoteStateV3 * Fix clippy issue * Update lockfiles post-rebase * Enable crate features now required based on hack check * Run cargo sort * Update frozen-abi based on VoteState name change * Run cargo fmt on programs/sbf * Fixup expected strings in tests * Remove SysvarId where not needed * Update program-entrypoint to v3.1 * Fixup failing sbf tests * Fix rebase issue, use cluster-type from new crate * Fixup lockfile everywhere * Fix unused import error for non-solana builds * Update programs and tests
wen-coding
approved these changes
Aug 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Just a single commit that updates us to 3.0.0: anza-xyz/agave#7492