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

Improving skip of updateState() by time, and caching dynamics for indexes #725

Merged
merged 3 commits into from
Nov 14, 2022

Conversation

eboadom
Copy link
Collaborator

@eboadom eboadom commented Nov 1, 2022

Closes #723

- Improved caching flow on next_ indexes
Copy link
Contributor

@kartojal kartojal left a comment

Choose a reason for hiding this comment

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

LGTM, it is a good optimization. Just added a comment about the styling changes in some lines.

Comment on lines 351 to 352
)
.scaledTotalSupply();
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the way your prettier tooling formatted this two lines are a bit messy for readability.
The .scaledTotalSupply() contains an extra new line and also an extra tab, so is like floating over there.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think the issue is on the pre-commit hook because it auto-formats this way even when forcing a different format. Any idea?

@miguelmtzinf miguelmtzinf changed the base branch from master to feat/3.0.1 November 3, 2022 16:53
@miguelmtzinf miguelmtzinf merged commit 72e0425 into aave:feat/3.0.1 Nov 14, 2022
@eboadom eboadom mentioned this pull request Nov 16, 2022
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.

Reduce unnecessary updates on updateState() and improve caching dynamics
3 participants