-
Notifications
You must be signed in to change notification settings - Fork 264
Feat/sr3 alloc fix #1586
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
base: feat/staking-router-3.0
Are you sure you want to change the base?
Feat/sr3 alloc fix #1586
Conversation
| uint256[] memory shares = SRStorage.getSTASStorage().sharesOf(_moduleIds, uint8(Strategies.Deposit)); | ||
| uint256[] memory balances = new uint256[](n); | ||
| uint256[] memory capacities = new uint256[](n); | ||
| AllocationState memory allocState; |
Check warning
Code scanning / Slither
Uninitialized local variables Medium
| { | ||
| uint256 n = _moduleIds.length; | ||
| uint256[] memory balances = new uint256[](n); | ||
| AllocationState memory allocState; |
Check warning
Code scanning / Slither
Uninitialized local variables Medium
|
|
||
| if (targets[i] == 0) --count; | ||
| if (capacity > 0) { | ||
| uint256 demand; |
Check warning
Code scanning / Slither
Uninitialized local variables Medium
Hardhat Unit Tests Coverage SummaryDiff against masterResults for commit: b715b2e Minimum allowed coverage is ♻️ This comment has been updated with latest results |
A short summary of the changes.
Context
What the reviewer needs to know
Problem
What problem this PR solves, link relevant issue if it exists
Solution
Your proposed solution