-
Notifications
You must be signed in to change notification settings - Fork 123
Solana upgrades to get reward manager cli working #12926
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
base: main
Are you sure you want to change the base?
Conversation
|
| num-traits = "0.2" | ||
| num_enum = "0.5.1" | ||
| solana-program = "=1.8.14" | ||
| solana-program = "=1.16.27" |
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.
holy upgrade batman
| check_fee_payer_balance( | ||
| config, | ||
| fee_calculator.calculate_fee(&transaction.message()) + additional_balance_required, | ||
| 5000 * transaction.message().header.num_required_signatures as u64 + additional_balance_required, |
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.
magic number?
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.
Yeah also curious about this. Do we want to be hard-coding a fee here?
Description
Version upgrades + minor code changes that allow local reward manager cli to work.
How Has This Been Tested?
Ran through full init, submit, transfer process using cli locally for a new mint