Merge branch 'master' into consolidate-validation-count

pull/877/head
Lokraan 6 years ago
parent 112fcf1aab
commit 53561131b4
  1. 3
      apps/explorer/lib/explorer/application.ex
  2. 4
      apps/explorer/test/explorer/counters/block_validation_counter_test.exs

@ -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}
]

@ -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)

Loading…
Cancel
Save