Quentin Garchery

Results 20 issues of Quentin Garchery

Two scenarios we could document: 1. the guardian suspects bad behavior from the curator/owner -> revoke everything continuously, explain the situation, and can advocate for removing funds if no solution...

We can also implement: - #38 - #36 _Originally posted by @QGarchery in https://github.com/morpho-dao/morpho-data-structures/issues/23#issuecomment-1195113603_

🔨 refactor

When doing the `_shiftUp` and `_shiftDown` operations, the path from the account to shift up to the root is potentially completely changed. This requires many storage writes which is gas...

🔨 refactor

Found by @MathisGD. Currently the heap size is changing at each `insert`, `remove`, and `decrease` operation. When it reaches `_maxSortedUsers`, it is divided by 2. The informal goal is to...

♻️ low priority
🔨 refactor

This PR: - completes #85 - simplifies the loop in insertSorted - simplifies the munging, notably extracting out MockDll

Improve assets accounting specification so that we don't have to assume that supply, borrow, and supplyCollateral start with an empty position

verif

Todo: - [ ] make sure that it goes through - [x] refactor the rule to align its style with the rest - [x] wait for it to pass on...

verif

[Isolate mode](https://twitter.com/gakonst/status/1762624475676454957) on forge could make it possible to have accurate gas tests. Todo: - [ ] check if it is really possible, potentially comparing with current hardhat tests -...

♻️ low priority
🧪 testing

### Component Forge ### Have you ensured that all of these are up to date? - [X] Foundry - [X] Foundryup ### What version of Foundry are you on? forge...

T-bug
T-needs-triage