From 13b8fba10bb1aeb58e226d7b6ed1a95190c51cbe Mon Sep 17 00:00:00 2001 From: Evgeny Gusarov Date: Fri, 12 Jun 2026 15:04:51 +0300 Subject: [PATCH 1/2] Clarify consolidate command help text --- src/validators/commands/consolidate.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/validators/commands/consolidate.py b/src/validators/commands/consolidate.py index 218b3d6c..b66a66e9 100644 --- a/src/validators/commands/consolidate.py +++ b/src/validators/commands/consolidate.py @@ -175,8 +175,11 @@ 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 validators. ' + 'When no public keys are provided, automatically picks 0x01 validators ' + 'and consolidates them (a 0x01 validator with no separate target is ' + 'switched to 0x02). To consolidate 0x02 validators, or to choose specific validators, ' + 'pass explicit --source-public-keys and --target-public-key options.' ) # pylint: disable-next=too-many-arguments,too-many-locals def consolidate( From 9921cdb84eaa90f6e2abb041fbbfe875644724e0 Mon Sep 17 00:00:00 2001 From: Evgeny Gusarov Date: Fri, 12 Jun 2026 15:08:36 +0300 Subject: [PATCH 2/2] Format consolidate help text as bulleted list --- src/validators/commands/consolidate.py | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/validators/commands/consolidate.py b/src/validators/commands/consolidate.py index b66a66e9..86a2a8c4 100644 --- a/src/validators/commands/consolidate.py +++ b/src/validators/commands/consolidate.py @@ -175,11 +175,17 @@ help='The block number where the vault was created. Used to optimize fetching vault events.', ) @click.command( - help='Consolidates vault validators into 0x02 validators. ' - 'When no public keys are provided, automatically picks 0x01 validators ' - 'and consolidates them (a 0x01 validator with no separate target is ' - 'switched to 0x02). To consolidate 0x02 validators, or to choose specific validators, ' - 'pass explicit --source-public-keys and --target-public-key options.' + 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(