forked from solana-labs/solana-program-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* copying kiplet's code * make flash loans more conservative * happy case test * adding more tests, fixed a bug * moar tests * clippy lints * fix assert * remove clock * remove old flash loan instruction, but keep the instruction packing code * saner flash loan fee calculation * add flash borrow ix arg to flash repay * cargo fmt * add cpi repay test * bump compute units, no idea why github actions is failing * test for malicious use case * remove unused variable * fix coverage, check reserve borrow limit in flash borrow * mark reserves as stale in flash borrow and repay * revert back to old nightly version, install grcov with stable * fix for [repay, borrow, repay] * refactor CPI * recheck stuff in flash repay * explicitly check for out of bounds in flash borrow loop * 0xripleys remove clock (solana-labs#99) * make clock sysvar optional * remove clock from instructions * add stack height check * fmt
- Loading branch information
Showing
10 changed files
with
2,282 additions
and
504 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.