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

consolidation by moving balance upon exit #14

Conversation

fradamt
Copy link
Collaborator

@fradamt fradamt commented Jan 16, 2024

First attempt at a simpler consolidation design, suggested by @mkalinin, where the Consolidation simply exits the validator and then moves the balance upon exit. No slashing across source and target because churn is applied to the exit, and the moving balance earns rewards throughout, by the source until the exit epoch and then by the target

@yokem55
Copy link

yokem55 commented Jan 17, 2024

It seems to me that the way to make this work is to restrict exit_transfer exits to a 7002 based exit (a message from the withdrawal address on el), or a message signed by with a 0x00 credential on the beacon chain. The validator key would still be able to do traditional exit messages that simply withdraw to the 0x01 credential, but would not be able to do the transfer side of things.

Co-authored-by: fradamt <104826920+fradamt@users.noreply.github.com>
@mkalinin mkalinin merged commit 53582d0 into michaelneuder:maxeb-pyspec-min-viable Jan 24, 2024
fradamt added a commit to fradamt/consensus-specs that referenced this pull request Jan 27, 2024
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.

5 participants