-
Notifications
You must be signed in to change notification settings - Fork 71
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
whitelist liquidations #61
base: upcoming
Are you sure you want to change the base?
Conversation
@@ -40,7 +40,8 @@ async fn test_success() { | |||
const USDC_RESERVE_LIQUIDITY_FRACTIONAL: u64 = 2 * USDC_BORROW_AMOUNT_FRACTIONAL; | |||
|
|||
let user_accounts_owner = Keypair::new(); | |||
let user_transfer_authority = Keypair::new(); | |||
let user_transfer_authority = |
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.
have you tested with a non whitelisted liquidator?
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.
good point yeh let me add
114, 60, 166, 205, 191, 247, 88, 195 | ||
]), | ||
// 8i3ufSbnCDi3ZGyGJxDco26AQTGB5G81G1SBsUD55mK6 this is for tests | ||
solana_program::pubkey::Pubkey::new_from_array([ |
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.
This account has on-chain transactions from a year ago. Is that account's private key leaked?
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.
it's literally in the repo so yeah
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.
its the account they use for tests in repo
8a92aab
to
87f6ca2
Compare
No description provided.