Skip to content
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

Open
wants to merge 3 commits into
base: upcoming
Choose a base branch
from
Open

Conversation

nope-finance
Copy link
Member

No description provided.

@@ -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 =

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?

Copy link
Member Author

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([
Copy link
Member

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?

Copy link
Member Author

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

Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants