Skip to content

Conversation

peer2f00l
Copy link
Collaborator

Additionally, some ergonomics improvements for linked positions.

@peer2f00l peer2f00l linked an issue Mar 25, 2025 that may be closed by this pull request
Copy link

Staging contract is deployed to gh-86.templar-in-training.testnet account


Gas Report

harvest_yield

Iterations Gas
0 3.2 Tgas
10 4.0 Tgas
20 4.6 Tgas

Copy link
Collaborator

@petarvujovic98 petarvujovic98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

P.S. Pedantic nits
While simple to review (and a nice improvement), the PR title should probably have more detail.
The description points out the other changes, but it would still be nicer to see the topics of the PR in the title.

@peer2f00l peer2f00l changed the title Remove panic during loss liquidation Remove panic during loss liquidation, use Deref and explicit &mut Market in Linked types Mar 25, 2025
@peer2f00l peer2f00l merged commit fbf284d into dev Mar 25, 2025
5 checks passed
@peer2f00l peer2f00l deleted the 85-emit-event-when-protocol-takes-a-loss-on-a-liquidation branch March 25, 2025 15:28
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.

Handle taking a loss on liquidation

2 participants