From 03d610d8a94e4f1ef52b4c3e5656ed9081b8585f Mon Sep 17 00:00:00 2001 From: jeff <113397187+cyberhorsey@users.noreply.github.com> Date: Tue, 9 Apr 2024 17:36:21 -0700 Subject: [PATCH] feat(eventindexer): flag typo + delete unused task (#16703) --- packages/eventindexer/cmd/flags/disperser.go | 2 +- packages/eventindexer/pkg/tasks/tasks.go | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/eventindexer/cmd/flags/disperser.go b/packages/eventindexer/cmd/flags/disperser.go index fbf653c627..e71ab5f9c6 100644 --- a/packages/eventindexer/cmd/flags/disperser.go +++ b/packages/eventindexer/cmd/flags/disperser.go @@ -18,7 +18,7 @@ var ( EnvVars: []string{"TAIKO_TOKEN_ADDRESS"}, } DispersalAmount = &cli.StringFlag{ - Name: "taikoTokenAddress", + Name: "dispersalAmount", Usage: "Dispersal amount in wei", Required: true, Category: disperserCategory, diff --git a/packages/eventindexer/pkg/tasks/tasks.go b/packages/eventindexer/pkg/tasks/tasks.go index fc0048f04d..ecbece9798 100644 --- a/packages/eventindexer/pkg/tasks/tasks.go +++ b/packages/eventindexer/pkg/tasks/tasks.go @@ -3,8 +3,6 @@ package tasks var ( TotalTransactions = "total-transactions" TransactionsPerDay = "transactions-per-day" - TotalBlocks = "total-blocks" - BlocksPerDay = "blocks-per-day" TotalAccounts = "total-accounts" AccountsPerDay = "accounts-per-day" UniqueProposersPerDay = "unique-proposers-per-day" @@ -32,8 +30,6 @@ var ( var Tasks = []string{ TotalTransactions, TransactionsPerDay, - TotalBlocks, - BlocksPerDay, TotalAccounts, AccountsPerDay, UniqueProposersPerDay,