Skip to content

Commit

Permalink
Attempt fix fuzz 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jgur-psyops committed Aug 22, 2024
1 parent 628d32e commit 67c78c4
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 15 deletions.
128 changes: 114 additions & 14 deletions programs/marginfi/fuzz/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions programs/marginfi/fuzz/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ impl<'state> MarginfiFuzzContext<'state> {
))?,
bank_liquidity_vault_authority: ails(bank.liquidity_vault_authority.clone()),
bank_liquidity_vault: InterfaceAccount::try_from(airls(&bank.liquidity_vault))?,
fee_vault: InterfaceAccount::try_from(airls(&bank.fee_vault))?,
},
aisls(&remaining_accounts),
Default::default(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ pub fn lending_account_borrow<'info>(
},
bank: bank_loader.key(),
mint: bank.mint,
amount_pre_fee: amount_pre_fee,
amount_pre_fee,
fee: origination_fee_u64
});
}
Expand Down

0 comments on commit 67c78c4

Please sign in to comment.