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

Fix indexes caching issue #1666

Merged
merged 12 commits into from
Jun 8, 2023
Merged

Fix indexes caching issue #1666

merged 12 commits into from
Jun 8, 2023

Conversation

MathisGD
Copy link
Collaborator

@MathisGD MathisGD commented Jun 6, 2023

This pull request fixes the index caching issue, on both AaveV2 and Compound Optimizers. The fix consists on recomputing the indexes each time (even if there has been an interaction with Morpho in the same block).

test/aave-v2/TestLens.t.sol Show resolved Hide resolved
@MathisGD MathisGD linked an issue Jun 7, 2023 that may be closed by this pull request
test/compound/TestLens.t.sol Show resolved Hide resolved
@MerlinEgalite
Copy link
Contributor

can be merged IMO

@MathisGD MathisGD merged commit 2b4993c into main Jun 8, 2023
@MathisGD MathisGD deleted the fix/indexes-caching-issue branch June 8, 2023 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sync repo
6 participants