Skip to content

Conversation

@web3nerdy
Copy link
Contributor

@web3nerdy web3nerdy commented Aug 13, 2025

Note

Removes auto performance fee harvest from off-chain hedge reporting and makes BasisStrategy.harvestPerformanceFee operator-gated, updating tests accordingly.

  • Contracts:
    • src/hedge/offchain/OffChainPositionManager.sol: Remove automatic harvestPerformanceFee call from reportState.
    • src/strategy/BasisStrategy.sol: Change harvestPerformanceFee() authorization from hedgeManager() to operator(); still forwards to vault.
  • Tests:
    • test/unit/BasisStrategyOffchain.t.sol: Update to call strategy.harvestPerformanceFee() as operator and add assertions for PF distribution; minor adjustments to workflows invoking state reports.

Written by Cursor Bugbot for commit 3c4b8fe. This will update automatically on new commits. Configure here.

cursor[bot]

This comment was marked as outdated.

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.

2 participants