-
Notifications
You must be signed in to change notification settings - Fork 8
Audit fixes #134
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
Open
tsudmi
wants to merge
26
commits into
main
Choose a base branch
from
audit-fixes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Audit fixes #134
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
179385c
Fix MetaVault's redeem assets calculation does not account for sub-va…
tsudmi e659b6c
Fix Penalty donation calls in NodesManager waste gas outside pendingP…
tsudmi 564006d
Fix dust loss in NodesManager.updateOperatorState() penalty calculati…
tsudmi 7ff7e73
Fix penalty rounding tests and add audit comments
tsudmi 42674cb
Fix GnoErc20Vault emitting Transfer on direct redeem
tsudmi fdcbe55
Fix ERC-20 vaults missing Transfer event on transferOsTokenPositionTo…
tsudmi f9d7156
Fix user assets are transferred unnecessarily when the swap converts …
tsudmi 173fe69
Fix stale pendingPenaltyAssets in NodesManager._deposit() by adding n…
tsudmi 03df924
Fix surplus ETH stuck in NodesManager on withdrawValidators
tsudmi 7258b0e
Skip redundant computation in getExitQueueMissingAssets when queuedSh…
tsudmi 263429d
Remove incorrect availableAssets adjustment in getExitQueueMissingAssets
tsudmi 8523498
Fix token transfer ordering in GnoMetaVault.__GnoMetaVault_init()
tsudmi 0e9a484
Reduce redundant memory operations in OsTokenRedeemer and SubVaultsRe…
tsudmi b8395a7
Cache metaVault SLOAD before access check in enterSubVaultsExitQueue
tsudmi 1a2ed7a
Remove misleading SLOAD comments from non-SLOAD operations
tsudmi 5e8d7ab
Add vault harvest freshness check in NodesManager.claimExitedAssets
tsudmi be518bc
Skip harvest check for uncollateralized meta vaults
tsudmi 5c7e0d0
Align leftShares threshold in SubVaultsRegistry with subvault exit logic
tsudmi 127faa2
Respect sub-vault capacities in BalancedCurator deposit distribution
tsudmi 27261c3
Revert on empty processExitQueue in OsTokenRedeemer
tsudmi ed9a9a9
Pin commit hashes for github actions
tsudmi f7573fb
Update snapshots
tsudmi 1c61cdf
Simpify BalancedCurator
tsudmi 2e0f3ba
Fix test assertion
tsudmi a0de746
Fix fork test
tsudmi 1ad5e9c
fix snapshots
tsudmi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.