Skip to content
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

feat(RewardsStreamerMP): allow vaults to migrate to other vaults #128

Merged
merged 2 commits into from
Feb 19, 2025

Conversation

0x-r4bbit
Copy link
Collaborator

This commit introduces a function migrateToVault(address) that allows StakeVaults to migrate to other StakeVault instances.

The idea is that, when an upgrade was done on the stake manager, it might introduces functions that can't be accessed through the stake vaults that are out there.

Users will have to create new stake vault instances that provide the necessary functionality.

migrateToVault() allows them to do so.

Closes #127

Checklist

Ensure you completed all of the steps below before submitting your pull request:

  • Added natspec comments?
  • Ran pnpm adorno?
  • Ran pnpm verify?

@0x-r4bbit 0x-r4bbit force-pushed the feat/vault-migration branch from 64a3d28 to a2ae036 Compare February 19, 2025 16:24
This commit introduces a function `migrateToVault(address)` that allows
`StakeVault`s to migrate to other `StakeVault` instances.

The idea is that, when an upgrade was done on the stake manager, it
might introduces functions that can't be accessed through the stake
vaults that are out there.

Users will have to create new stake vault instances that provide the
necessary functionality.

`migrateToVault()` allows them to do so.

Closes #127
@0x-r4bbit 0x-r4bbit force-pushed the feat/vault-migration branch from a2ae036 to 7eb7518 Compare February 19, 2025 16:30
@0x-r4bbit 0x-r4bbit force-pushed the feat/vault-migration branch from 90dbfb0 to c2a6ae2 Compare February 19, 2025 16:44
@0x-r4bbit 0x-r4bbit merged commit e3d50bf into main Feb 19, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Implement migration path for stakvaults
2 participants