Skip to content

Conversation

ypatil12
Copy link
Collaborator

@ypatil12 ypatil12 commented Apr 1, 2025

Motivation:

Address doc updates from Cantina Audit.

Modifications:

  • deregisterFromOperatorSets does not revert due to no try-catch
  • Permissionless Strategies added to audit report
  • We don't do +1 on the effectBlock for allocations for instantaneous allocations
  • New deposits are immediately subject to slashing
  • Removing a strategy from an operatorSet does not allow a pending deallocation to be instantly completable
  • Completing a withdrawal as shares is OK even if the strategy is not on the whitelist
  • Delegating to operators with ultra-low magnitudes can result in loss of funds
  • Edge case regarding withdrawals for an operator blocked by owning negative shares & a fully slashed strategy
  • Negative rebase for strategies

Result:

More comprehensive docs.

@github-actions github-actions bot added the 📖 Documentation Improvements or additions to documentation. label Apr 1, 2025
@ypatil12 ypatil12 marked this pull request as ready for review April 1, 2025 18:52
Copy link
Contributor

@wadealexc wadealexc left a comment

Choose a reason for hiding this comment

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

LGTM!

@ypatil12 ypatil12 merged commit 3ba910e into dev Apr 2, 2025
11 checks passed
@ypatil12 ypatil12 deleted the yash/doc-updates branch April 2, 2025 16:51
bowenli86 pushed a commit that referenced this pull request Apr 2, 2025
**Motivation:**

Address doc updates from Cantina Audit. 

**Modifications:**

- `deregisterFromOperatorSets` does not revert due to no try-catch
- Permissionless Strategies added to audit report
- We don't do `+1` on the `effectBlock` for allocations for
instantaneous allocations
- New deposits are immediately subject to slashing
- Removing a strategy from an operatorSet does not allow a pending
deallocation to be instantly completable
- Completing a withdrawal as shares is OK even if the strategy is not on
the whitelist
- Delegating to operators with ultra-low magnitudes can result in loss
of funds
- Edge case regarding withdrawals for an operator blocked by owning
negative shares & a fully slashed strategy
- Negative rebase for strategies

**Result:**

More comprehensive docs.

---------

Co-authored-by: Nadir Akhtar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📖 Documentation Improvements or additions to documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants