Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions src/validators/commands/consolidate.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,17 @@
help='The block number where the vault was created. Used to optimize fetching vault events.',
)
@click.command(
help='Performs a vault validators consolidation from 0x01 validators to 0x02 validator. '
'Switches a validator from 0x01 to 0x02 if the source and target keys are identical.'
help='Consolidates vault validators into 0x02 (compounding) validators.\n'
'\n'
'\b\n'
'When no public keys are provided:\n'
'- automatically picks 0x01 validators eligible for consolidation\n'
'- a 0x01 validator with no separate target is switched to 0x02\n'
'\n'
'\b\n'
'To consolidate 0x02 validators or choose specific validators:\n'
'- pass explicit --source-public-keys and --target-public-key options\n'
'- auto-pick is not implemented for 0x02'
)
# pylint: disable-next=too-many-arguments,too-many-locals
def consolidate(
Expand Down
Loading