Skip to content

Commit

Permalink
Remove 16eth option from create-vacant-minipool
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspanf committed Oct 18, 2024
1 parent 6afa5c2 commit 4c7558f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions rocketpool-cli/node/create-vacant-minipool.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func createVacantMinipool(c *cli.Context, pubkey types.ValidatorPubkey) error {
}

// Print a notification about the pubkey
fmt.Printf("You are about to convert the solo staker %s into a Rocket Pool minipool. This will convert your 32 ETH deposit into either an 8 ETH or 16 ETH deposit (your choice), and convert the remaining 24 or 16 ETH into a deposit from the Rocket Pool staking pool. The staking pool portion will be credited to your node's account, allowing you to create more validators without depositing additional ETH onto the Beacon Chain. Your excess balance (your existing Beacon rewards) will be preserved and not shared with the pool stakers.\n\nPlease thoroughly read our documentation at https://docs.rocketpool.net/guides/atlas/solo-staker-migration.html to learn about the process and its implications.\n\n1. First, we'll create the new minipool.\n2. Next, we'll ask whether you want to import the validator's private key into your Smartnode's Validator Client, or keep running your own externally-managed validator.\n3. Finally, we'll help you migrate your validator's withdrawal credentials to the minipool address.\n\n%sNOTE: If you intend to use the credit balance to create additional validators, you will need to have enough RPL staked to support them.%s\n\n", pubkey.Hex(), colorYellow, colorReset)
fmt.Printf("You are about to convert the solo staker %s into a Rocket Pool minipool. This will convert your 32 ETH deposit into an 8 ETH deposit, and convert the remaining 24 ETH into a deposit from the Rocket Pool staking pool. The staking pool portion will be credited to your node's account, allowing you to create more validators without depositing additional ETH onto the Beacon Chain. Your excess balance (your existing Beacon rewards) will be preserved and not shared with the pool stakers.\n\nPlease thoroughly read our documentation at https://docs.rocketpool.net/guides/atlas/solo-staker-migration.html to learn about the process and its implications.\n\n1. First, we'll create the new minipool.\n2. Next, we'll ask whether you want to import the validator's private key into your Smartnode's Validator Client, or keep running your own externally-managed validator.\n3. Finally, we'll help you migrate your validator's withdrawal credentials to the minipool address.\n\n%sNOTE: If you intend to use the credit balance to create additional validators, you will need to have enough RPL staked to support them.%s\n\n", pubkey.Hex(), colorYellow, colorReset)

// Get deposit amount
var amount float64
Expand All @@ -79,16 +79,13 @@ func createVacantMinipool(c *cli.Context, pubkey types.ValidatorPubkey) error {
// Get deposit amount options
amountOptions := []string{
"8 ETH",
"16 ETH",
}

// Prompt for amount
selected, _ := cliutils.Select("Please choose an amount of ETH you want to use as your deposit for the new minipool (this will become your share of the balance, and the remainder will become the pool stakers' share):", amountOptions)
switch selected {
case 0:
amount = 8
case 1:
amount = 16
}

}
Expand Down Expand Up @@ -130,7 +127,7 @@ func createVacantMinipool(c *cli.Context, pubkey types.ValidatorPubkey) error {

// Prompt for min node fee
if nodeFees.MinNodeFee == nodeFees.MaxNodeFee {
fmt.Printf("Your minipool will use the current fixed commission rate of %.2f%%.\n", nodeFees.MinNodeFee*100)
fmt.Printf("Your minipool will use the current base commission rate of %.2f%%.\n", nodeFees.MinNodeFee*100)
minNodeFee = nodeFees.MinNodeFee
} else {
minNodeFee = promptMinNodeFee(nodeFees.NodeFee, nodeFees.MinNodeFee)
Expand Down

0 comments on commit 4c7558f

Please sign in to comment.