-
Notifications
You must be signed in to change notification settings - Fork 15
chore: upgrade jito-solana deps to 2.3 - remove legacy operator client #171
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
Conversation
@@ -793,7 +794,11 @@ mod tests { | |||
vote_account: &Pubkey, | |||
delegation_amount: u64, | |||
) -> Pubkey { | |||
let minimum_delegation = solana_stake_program::get_minimum_delegation(&bank.feature_set); | |||
let minimum_delegation = solana_stake_program::get_minimum_delegation( |
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.
@@ -351,7 +193,10 @@ async fn test_merkle_tree_generation() -> Result<(), Box<dyn std::error::Error>> | |||
const PROTOCOL_FEE_BPS: u64 = 300; | |||
const VALIDATOR_FEE_BPS: u16 = 1000; | |||
const TOTAL_TIPS: u64 = 1_000_000; | |||
let ncn_address = Pubkey::new_unique(); |
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.
I compared some debug output between master branch and this branch and found the NCN address generated by new_unique
are different between these versions of solana-pubkey.
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.
Master:
Protocol fee recipient: De5mc7vkzwhCSWLeesKEJVxTTRyYJGiCjQmA9FnQ6Whd
Protocol fee amount: 30000
Validator fee amount: 100000
NCN address: 1111111QLbz7JHiBTspS962RLKV8GndWFwiEaqKM
Epoch + 1: 10000
TIP_ROUTER_ID: RouterBmuRBkPUbgEDMtdvTZ75GBdSREZR5uGUxxxpb
new_unique on solana-pubkey 2.4.0
Protocol fee recipient: 4x5nU6aZWuoRBcJvjnC3RAUdPeDwngRs8afnn34byK4d
Protocol fee amount: 30000
Validator fee amount: 100000
NCN address: 11157t3sqMV725NVRLrVQbAu98Jjfk1uCKehJnXXQs
Epoch + 1: 10000
TIP_ROUTER_ID: RouterBmuRBkPUbgEDMtdvTZ75GBdSREZR5uGUxxxpb
Problem
Solution