From 112f54526c44e055bfbe4ea8bf6c8fabe32f4bcb Mon Sep 17 00:00:00 2001 From: Patrick Bennett Date: Fri, 18 Oct 2024 22:53:47 -0400 Subject: [PATCH] chore: tweaked popover comments in UI for two fields updated misleading error message in node mgr. --- nodemgr/app.go | 2 +- nodemgr/validatorcmds.go | 2 +- ui/src/components/AddValidatorForm.tsx | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nodemgr/app.go b/nodemgr/app.go index 3209a48c..48e3486d 100644 --- a/nodemgr/app.go +++ b/nodemgr/app.go @@ -202,7 +202,7 @@ func (ac *RetiApp) initClients(ctx context.Context, cmd *cli.Command) error { } if ac.retiAppID == 0 { - return fmt.Errorf("the id of the Reti Validator contract must be set using either -id or RETI_APPID env var!") + return fmt.Errorf("the id of the Reti Validator contract must be set using either -retiid or RETI_APPID env var!") } // This will load and initialize mnemonics from the environment - and handles all 'local' signing for the app diff --git a/nodemgr/validatorcmds.go b/nodemgr/validatorcmds.go index f116a545..ad2a467c 100644 --- a/nodemgr/validatorcmds.go +++ b/nodemgr/validatorcmds.go @@ -270,7 +270,7 @@ func DefineValidator() error { return err } - config.PercentToValidator, err = getInt("Enter the payout percentage to the validator (in four decimals, ie: 5% = 50000)", 50000, 0, 1000000) + config.PercentToValidator, err = getInt("Enter the commission percentage to the validator (in four decimals, ie: 5% = 50000)", 50000, 0, 1000000) if err != nil { return err } diff --git a/ui/src/components/AddValidatorForm.tsx b/ui/src/components/AddValidatorForm.tsx index af3c1ea4..b77126fb 100644 --- a/ui/src/components/AddValidatorForm.tsx +++ b/ui/src/components/AddValidatorForm.tsx @@ -422,8 +422,8 @@ export function AddValidatorForm({ constraints }: AddValidatorFormProps) { Manager account - Account that triggers payouts and keyreg transactions (must sign - transactions) + Account that must be available to Node Daemon that triggers payouts and + keyreg transactions ('new' hot wallet) * @@ -615,7 +615,7 @@ export function AddValidatorForm({ constraints }: AddValidatorFormProps) { Commission percent - Payout percentage w/ up to four decimals (e.g., 5.0001) + Commission percentage per-Epoch w/ up to four decimals (e.g., 5.0001) *