diff --git a/apps/explorer/lib/explorer/application.ex b/apps/explorer/lib/explorer/application.ex index 257e86a119..e2cb963bd6 100644 --- a/apps/explorer/lib/explorer/application.ex +++ b/apps/explorer/lib/explorer/application.ex @@ -16,9 +16,6 @@ defmodule Explorer.Application do Explorer.Repo, Supervisor.child_spec({Task.Supervisor, name: Explorer.MarketTaskSupervisor}, id: Explorer.MarketTaskSupervisor), Supervisor.child_spec({Task.Supervisor, name: Explorer.TaskSupervisor}, id: Explorer.TaskSupervisor), - Supervisor.child_spec({Task.Supervisor, name: Explorer.BlockValidationCounter}, - id: Explorer.BlockValidationCounter - ), {Registry, keys: :duplicate, name: Registry.ChainEvents, id: Registry.ChainEvents} ] diff --git a/apps/explorer/test/explorer/counters/block_validation_counter_test.exs b/apps/explorer/test/explorer/counters/block_validation_counter_test.exs index e5162d91ba..28f54f1c05 100644 --- a/apps/explorer/test/explorer/counters/block_validation_counter_test.exs +++ b/apps/explorer/test/explorer/counters/block_validation_counter_test.exs @@ -5,8 +5,6 @@ defmodule Explorer.Counters.BlockValidationCounterTest do describe "consolidate/0" do test "loads the address' validations consolidated info" do - BlockValidationCounter.start_link([]) - address = insert(:address) insert(:block, miner: address, miner_hash: address.hash) @@ -25,8 +23,6 @@ defmodule Explorer.Counters.BlockValidationCounterTest do describe "fetch/1" do test "fetches the total block validations by a given address" do - BlockValidationCounter.start_link([]) - address = insert(:address) another_address = insert(:address)