-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dex: Close open orders accounts (#112)
* dex: Close open orders accounts * Zero out open orders account data on close * Fix length assertion * Remove token account parsing * Remove rent from close ix * Add close open orders to whole shebang * Add close open orders to fuzz test * Fix fuzz * Update u128 * Cancel orders in whole shebang * Update docker iamge * travis: Update solana cli * json compact output * Add error logging and move free slot bits check * Add Closed AccountFlag * Replace .bits() with as u64 cast * Skip errors instead of removing owner from set * Fix derive ordering * Skip WrongOrdersAccount error if account is closed Co-authored-by: Sebastian Conybeare <sebastian@alameda-research.com>
- Loading branch information
1 parent
60f9a32
commit 2d4a7a9
Showing
7 changed files
with
265 additions
and
24 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
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.