We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Splitters read balances from cachedChildOneBalance and cachedChildTwoBalance in deposit and withdraw actions (#24)
cachedChildOneBalance
cachedChildTwoBalance
But there is no enforcement that the latest balances are actually cached.
Task
Still WIP
cached...
type(uint256).max
Challenge
A strategy can be visited multiple times based on the splitter used SEE:
sherlock-v2-core/test/strategy/splitters.js
Line 832 in e492f04
Expiring the cache at the end of a deposit or withdraw call will make the second visit (on deposit or withdraw) revert
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Splitters read balances from
cachedChildOneBalance
andcachedChildTwoBalance
in deposit and withdraw actions (#24)But there is no enforcement that the latest balances are actually cached.
Task
Still WIP
cached...
variables isn't 0 buttype(uint256).max
as the real value of a underlying node can be 0.cached...
variables are not their default valuesChallenge
A strategy can be visited multiple times based on the splitter used SEE:
sherlock-v2-core/test/strategy/splitters.js
Line 832 in e492f04
Expiring the cache at the end of a deposit or withdraw call will make the second visit (on deposit or withdraw) revert
The text was updated successfully, but these errors were encountered: