Skip to content

[Certora+code change] spec liquidation lock effect#664

Closed
adhusson wants to merge 9 commits into
mainfrom
iterate-liquidation-lock-2
Closed

[Certora+code change] spec liquidation lock effect#664
adhusson wants to merge 9 commits into
mainfrom
iterate-liquidation-lock-2

Conversation

@adhusson
Copy link
Copy Markdown
Contributor

@adhusson adhusson commented Apr 5, 2026

No description provided.

@adhusson adhusson marked this pull request as ready for review April 5, 2026 22:36
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e2683bb7fa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread certora/specs/NoSellerLiquidationInTake.spec Outdated
Comment thread certora/specs/NoSellerLiquidationInTake.spec Outdated
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 71055c4935

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread certora/specs/NoSellerLiquidationInTake.spec Outdated
@adhusson adhusson requested a review from MathisGD April 5, 2026 23:05
@adhusson adhusson changed the title spec liquidation lock effect [Certora] spec liquidation lock effect Apr 5, 2026
Base automatically changed from fix/liquidate-deferred-health-check-20260404-173318 to main April 6, 2026 14:40
@adhusson adhusson changed the title [Certora] spec liquidation lock effect [Certora+code change] spec liquidation lock effect Apr 8, 2026
@adhusson adhusson requested review from QGarchery and bhargavbh April 8, 2026 15:12
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a04dff4ad4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Midnight.sol
Comment on lines +44 to +46
ghost bool lockedBeforeCallbacks;

ghost bool unlockedBeforeCallbacks;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Could do expectLockStateBeforeCallbacks + lockStateViolationObserved but I find this clearer

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 12c3b8db9e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread certora/specs/LiquidationLock.spec
@adhusson adhusson requested a review from jhoenicke April 8, 2026 15:56
@adhusson adhusson requested a review from lilCertora April 8, 2026 16:04
@adhusson
Copy link
Copy Markdown
Contributor Author

adhusson commented Apr 9, 2026

closing #664 because #679 is cleaner, and among the properties here, 1) and 2) do not matter once we know that isHealthy | locked is strongly preserved, and 3) and 4) don’t seem to add safety once we know lock off is weakly preserved

@adhusson adhusson closed this Apr 9, 2026
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.

1 participant