Skip to content

[Certora] Blue Bundles: no residue#13

Merged
QGarchery merged 15 commits into
mainfrom
certora/no-residue
Jul 2, 2026
Merged

[Certora] Blue Bundles: no residue#13
QGarchery merged 15 commits into
mainfrom
certora/no-residue

Conversation

@bhargavbh

Copy link
Copy Markdown
Contributor

every entry point preserves the bundler's balance of every token (delta 0).
Morpho is abstract, modelled by its token moves below; its own correctness is verified upstream.

@bhargavbh bhargavbh self-assigned this Jun 15, 2026
@QGarchery QGarchery marked this pull request as draft June 17, 2026 12:06
Comment thread certora/confs/NoResidue.conf Outdated
MathisGD added 4 commits June 30, 2026 10:59
Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
@MathisGD MathisGD marked this pull request as ready for review June 30, 2026 09:06
@QGarchery QGarchery changed the base branch from feat/refinance-onRepay to main June 30, 2026 09:22
@QGarchery QGarchery marked this pull request as draft June 30, 2026 09:25
@QGarchery QGarchery marked this pull request as ready for review June 30, 2026 10:43
@QGarchery

Copy link
Copy Markdown
Collaborator

@codex review


// No token residue: every entry point preserves the bundler's balance of every token (delta 0).
// Stated as preservation, not "== 0", because donations could increase the balance of the bundler.
// Scope: all entry points, excluding migrate borrow position.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why excluding this?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good question. I think it's because requires another setup, because of the callback: the current model of repay is too simplistic. Adding this to the wish list

Comment thread certora/specs/NoResidue.spec Outdated
Co-authored-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
Signed-off-by: Quentin Garchery <garchery.quentin@gmail.com>
@QGarchery QGarchery merged commit 4c71ac5 into main Jul 2, 2026
9 checks passed
@QGarchery QGarchery mentioned this pull request Jul 2, 2026
4 tasks
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.

3 participants