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

Lost assets (no share price decrease) #5

Merged
merged 47 commits into from
Aug 18, 2024
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
a0934f8
feat: no share price decrease
MathisGD Jul 31, 2024
ea4dba7
chore: remove useless event
MathisGD Jul 31, 2024
edc11f8
test: add tests
MathisGD Jul 31, 2024
96849ba
test: verif first rule
MathisGD Jul 31, 2024
9dcf31b
fix: newHole bug
MathisGD Aug 1, 2024
a9b07cd
chore: add hole spec in ci
MathisGD Aug 1, 2024
fe6e723
refactor: factorize newTotalAssets computation
MathisGD Aug 3, 2024
8e35b4a
test: more tests
MathisGD Aug 4, 2024
f819848
test: fix one test
MathisGD Aug 5, 2024
e3204b8
style: rename hole
MathisGD Aug 5, 2024
3c9cfe9
refactor: minor improvement
MathisGD Aug 6, 2024
6964669
docs: update docs
MathisGD Aug 6, 2024
db71fbe
docs: typos
MathisGD Aug 7, 2024
7ab940b
test: add tests
MathisGD Aug 8, 2024
104ea2e
docs: add two comments
MathisGD Aug 8, 2024
04af7da
test: iterate on verif
MathisGD Aug 8, 2024
1b9089d
docs: force market removal
MathisGD Aug 8, 2024
41ac724
test: test forced market removal
MathisGD Aug 8, 2024
47fde56
test: certora fix patch
MathisGD Aug 8, 2024
9eeac63
test: fix certora munging
MathisGD Aug 9, 2024
e26638a
test: comment out not passing rule
MathisGD Aug 12, 2024
042d517
test: minor changes in certora
MathisGD Aug 12, 2024
4cd5c48
test: fix LostAssetsNoLink spec with summary
MathisGD Aug 12, 2024
66ad502
test: improvement certora linked rules
MathisGD Aug 13, 2024
7dca3a6
chore: update munging
QGarchery Aug 13, 2024
c7e987c
refactor: use vm.store cheatcode
QGarchery Aug 13, 2024
a482d30
chore: sort spec files by name
QGarchery Aug 13, 2024
bfd4e4b
chore: various non breaking improvements in src and tests
MathisGD Aug 13, 2024
6f95c79
test: iteration certora linked
MathisGD Aug 13, 2024
493273e
fix: verification signature
QGarchery Aug 13, 2024
2a1b3a1
style: rename internal function
MathisGD Aug 13, 2024
16bf70f
Merge pull request #11 from morpho-org/refactor/no-share-price
MathisGD Aug 13, 2024
29251fc
docs: document covering of lost funds
MathisGD Aug 13, 2024
5039521
Merge remote-tracking branch 'private/feat/no-share-price-decrease-2'…
MathisGD Aug 13, 2024
b007bfe
test: minor fixes certora linked
MathisGD Aug 13, 2024
950c187
test: certora improve LostAssetsLink
MathisGD Aug 15, 2024
7c54e1f
test: comment out two timing out rules
MathisGD Aug 15, 2024
4c1086e
fix: restore NotEnoughLiquidity error on overwithdraw
adhusson Aug 16, 2024
5ef4f07
test: check lost asset increase after bad debt
adhusson Aug 16, 2024
c05b8ac
Update test/forge/LostAssetsTest.sol
adhusson Aug 16, 2024
e43aaf1
Update test/forge/LostAssetsTest.sol
adhusson Aug 16, 2024
8ecd96a
fix: test fuzz params, collat min bound, collat max bound
adhusson Aug 16, 2024
e4c5a82
docs: add comment to explain clamp
adhusson Aug 16, 2024
ef6e92f
Merge pull request #21 from morpho-org/test/test-lost-asset-increase-…
adhusson Aug 16, 2024
64983d4
fix: proper collateral round up in testLostAssetsAfterBadDebt
adhusson Aug 16, 2024
c4f0c56
Merge pull request #18 from morpho-org/fix/restore-not-enough-liquidity
adhusson Aug 16, 2024
e54ab3a
docs: document lostAsset rounding accrual
MathisGD Aug 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/certora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
- Roles
- Timelock
- Tokens
- LostAssetsNoLink
- LostAssetsLink

steps:
- uses: actions/checkout@v4
Expand Down
Loading
Loading