Skip to content

Remove old staking strategies using SSV clusters - #2972

Merged
naddison36 merged 28 commits into
masterfrom
nicka/remove-native-staking
Aug 20, 2026
Merged

Remove old staking strategies using SSV clusters#2972
naddison36 merged 28 commits into
masterfrom
nicka/remove-native-staking

Conversation

@naddison36

@naddison36 naddison36 commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Removes the obsolete OETH native-staking and SSV infrastructure following the migration to the vanilla CompoundingStakingStrategy.

Dependency

Requires the governance proposal from #2971 to be executed first.

Changes

  • Remove the three legacy Native Staking Strategy contracts and proxies
  • Remove CompoundingStakingSSVStrategy
  • Remove ConsolidationController
  • Remove FeeAccumulator and its proxy infrastructure
  • Remove the legacy OETH Dripper and Harvester
    • Retain shared harvesting contracts still used by other products
  • Remove SSV-specific infrastructure:
    • ISSVNetwork
    • SSV mocks and address constants
    • SSV cluster-management utilities and tasks
    • SSV reward claiming automation
  • Port non-duplicative CompoundingStakingSSVStrategy tests to CompoundingStakingStrategy
  • Remove obsolete validator registration, removal, consolidation, and harvesting actions
  • Retain the Talos actions required to:
    • stake vanilla compounding validators
    • verify deposits and balances
    • request validator withdrawals
    • rebase the OETH Vault
  • Remove the P2P validator API integration and configuration
  • Remove validator-key encryption and S3 storage utilities
  • Remove unused AWS KMS, BLS, UUID, SSV, and P2P dependencies
  • Clean up deployment configuration, fixtures, storage layouts, documentation, and OETH diagrams

Context

The old native-staking validators have been consolidated into the new CompoundingStakingStrategy, and the legacy strategies have been removed from the OETH Vault.

The remaining strategy deposits directly into vanilla compounding validators, so the repository no longer needs SSV registration, cluster management, fee accumulators, consolidation controllers, or the old OETH harvesting pipeline.

Verification

  • Foundry CompoundingStakingStrategy tests: 116 passed
  • Hardhat CompoundingStakingStrategy tests: 9 passed
  • forge build --offline
  • pnpm prettier:js
  • pnpm prettier:ts
  • pnpm prettier:sol
  • git diff --check

Base automatically changed from nicka/post-consolidation to master August 13, 2026 06:26

@sparrowDom sparrowDom left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Left a few comments inline. Besides those there is also:

  • references in harvest/README.md to deleted SVGs
  • NativeStaking/CLAUDE.md needs updating

('origin-dollar', 'cross_chain_mainnet_base', 'cd /app && pnpm exec tsx tasks/run.ts relayCCTPMessage --network mainnet', '43 4,10,16,22 * * *', 'UTC', false, 'permissioned'),
('origin-dollar', 'cross_chain_hyper_mainnet', 'cd /app && pnpm exec tsx tasks/run.ts crossChainRelayHyperEVM --network hyperevm', '17 1,6,11,16,21 * * *', 'UTC', false, 'permissioned'),
('origin-dollar', 'cross_chain_mainnet_hyper', 'cd /app && pnpm exec tsx tasks/run.ts crossChainRelayHyperEVM --network mainnet', '7 3,8,13,18,23 * * *', 'UTC', false, 'permissioned'),
('origin-dollar', 'claim_ssv_rewards', 'cd /app && pnpm exec tsx tasks/run.ts claimSSVRewards --network mainnet', '45 0 1 * *', 'UTC', false, NULL),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

have archieved this action on Talos

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

thanks. I didn't realise Talos could archive actions.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It is just a group called "Archieve" which works as any other group. So actions aren't really by default disabled.

This is a band aid solution because currently there isn't a way to delete actions on Talos

Comment thread contracts/tasks/actions/harvest.ts
Comment thread contracts/tasks/actions/harvest.ts
Comment thread contracts/migrations/seed_schedules.sql
Comment thread contracts/migrations/seed_schedules.sql
Comment thread contracts/scripts/test/layout-pinned.test.js
Comment thread contracts/deploy/deployActions.js
Comment thread contracts/tasks/validatorCompound.js Outdated
Comment thread contracts/tasks/validatorCompound.js Outdated
Comment thread contracts/docs/generate.sh Outdated
sparrowDom
sparrowDom previously approved these changes Aug 20, 2026

@sparrowDom sparrowDom left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

one minor thing otherwise LGTM. Great job!

Comment thread contracts/tasks/validatorCompound.js Outdated
"NativeStakingSSVStrategyProxy",
"NativeStakingSSVStrategy"
);
const strategy = await resolveCompoundingStakingContract().strategy;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this should be:

const strategy = (await resolveCompoundingStakingContract()).strategy

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

fixed with commit 8d65019

@naddison36
naddison36 merged commit 4672a81 into master Aug 20, 2026
12 checks passed
@naddison36
naddison36 deleted the nicka/remove-native-staking branch August 20, 2026 09:37
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