From 612714f268fc6d6a49d82153e4441b1521a73527 Mon Sep 17 00:00:00 2001 From: Timotej Vesel Date: Fri, 3 Nov 2023 10:23:53 +0100 Subject: [PATCH] fix --- src/processStakingRewards.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/processStakingRewards.ts b/src/processStakingRewards.ts index 57b2614..b48c3c0 100644 --- a/src/processStakingRewards.ts +++ b/src/processStakingRewards.ts @@ -18,13 +18,13 @@ let args = yargs description: 'The path to json config file with network information', default: 'configs/networks/flare.json', }) - .option('rewardEpoch', { alias: 'r', type: 'number', description: 'Reward epoch to calculate rewards for' }) + .option('rewardEpoch', { alias: 'e', type: 'number', description: 'Reward epoch to calculate rewards for' }) .option('ftsoPerformanceWei', { alias: 'p', type: 'string', description: 'Required FTSO performance (received FTSO rewards in wei) for the node to be eligible for staking rewards. Performance should be strictly greater than ftsoPerformance' }) .option('boostingFactor', { alias: 'f', type: 'number', description: 'Boosting factor (for calculating boost amount)' }) .option('votePowerCapBIPS', { alias: 'v', type: 'number', description: 'Cap vote power to x% of total stake amount' }) .option('uptimeVotigPeriodLength', { alias: 'l', type: 'number', description: 'Length of voting period (which starts at the end of reward epoch) for reward epoch uptime' }) .option('batchSize', { alias: 'b', type: 'number', description: 'Batch size for blocks to process events' }) - .option('rps', { alias: 's', type: 'number', description: 'Request per second' }) + .option('rps', { alias: 'r', type: 'number', description: 'Request per second' }) .option('uptimeVotingThreshold', { alias: 't', type: 'number', description: 'Required number of votes for uptime to be considered high enough' }) .option('minForBEBGwei', { alias: 'm', type: 'string', description: 'Minimal amount (in gwei) of total self-bond to be eligible for boosting' }) .option('rewardAmountEpochWei', { alias: 'a', type: 'string', description: 'Reward amount (in wei) to be distributed per reward epoch' })