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

bringing latest program release into deploy 24.3->dev->main->deploy-next->deplot #1002

Merged
merged 20 commits into from
Aug 28, 2024

Conversation

microwavedcola1
Copy link
Collaborator

No description provided.

microwavedcola1 and others added 20 commits August 9, 2024 09:46
This ensures casts of local variables don't run into alignment
differences.

(cherry picked from commit d9c4f69)
(cherry picked from commit 676da3a)
Co-authored-by: microwavedcola1 <[email protected]>
(cherry picked from commit ec2d10a)
* Programs: remove anchor close has it is done manually anyway

* Programs: fix a bug where a pegged order might be skipped even if it was valid

(cherry picked from commit 905cc01)
(cherry picked from commit 47c2707)
liquidator: split TCS triggering and liquidation job

Concurrent execution of candidate lookup and tx building/sending
- Also added an health assertion IX to protect liqor in multi liquidation scenario
- And a timeout for jupiter v6 queries (avoid blocking liquidation because of slow TCS)
liquidator: add a sequence check in rebalancing
This is necessary for new liquidator feature of rebalancing using limit orders:
We need to close the token and market slot so that it's available for new liquidation, but at the same time, it's possible that the min order quantity for a given market is still bigger than allowed max withdrawal.
liquidator: rebalance with limit order
Signed-off-by: microwavedcola1 <[email protected]>
(cherry picked from commit 1e86640)
Signed-off-by: microwavedcola1 <[email protected]>
@microwavedcola1 microwavedcola1 merged commit 0ffc40c into deploy Aug 28, 2024
14 of 16 checks passed
@microwavedcola1 microwavedcola1 deleted the deploy-next branch August 28, 2024 19:20
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.

4 participants