|
|
|
@ -7,7 +7,7 @@ defmodule Indexer.Block.Catchup.BoundIntervalSupervisorTest do |
|
|
|
|
import EthereumJSONRPC, only: [integer_to_quantity: 1] |
|
|
|
|
|
|
|
|
|
alias Explorer.Chain.Block |
|
|
|
|
alias Indexer.{BoundInterval, Code, CoinBalance, InternalTransaction, Token, TokenBalance} |
|
|
|
|
alias Indexer.{BoundInterval, Code, CoinBalance, InternalTransaction, ReplacedTransaction, Token, TokenBalance} |
|
|
|
|
alias Indexer.Block.{Catchup, Uncle} |
|
|
|
|
|
|
|
|
|
@moduletag capture_log: true |
|
|
|
@ -207,6 +207,7 @@ defmodule Indexer.Block.Catchup.BoundIntervalSupervisorTest do |
|
|
|
|
Code.Supervisor.Case.start_supervised!(json_rpc_named_arguments: json_rpc_named_arguments) |
|
|
|
|
Token.Supervisor.Case.start_supervised!(json_rpc_named_arguments: json_rpc_named_arguments) |
|
|
|
|
TokenBalance.Supervisor.Case.start_supervised!(json_rpc_named_arguments: json_rpc_named_arguments) |
|
|
|
|
ReplacedTransaction.Supervisor.Case.start_supervised!() |
|
|
|
|
|
|
|
|
|
Uncle.Supervisor.Case.start_supervised!( |
|
|
|
|
block_fetcher: %Indexer.Block.Fetcher{json_rpc_named_arguments: json_rpc_named_arguments} |
|
|
|
@ -413,6 +414,7 @@ defmodule Indexer.Block.Catchup.BoundIntervalSupervisorTest do |
|
|
|
|
InternalTransaction.Supervisor.Case.start_supervised!(json_rpc_named_arguments: json_rpc_named_arguments) |
|
|
|
|
Token.Supervisor.Case.start_supervised!(json_rpc_named_arguments: json_rpc_named_arguments) |
|
|
|
|
TokenBalance.Supervisor.Case.start_supervised!(json_rpc_named_arguments: json_rpc_named_arguments) |
|
|
|
|
ReplacedTransaction.Supervisor.Case.start_supervised!() |
|
|
|
|
|
|
|
|
|
# from `setup :state` |
|
|
|
|
assert_received :catchup_index |
|
|
|
@ -505,6 +507,7 @@ defmodule Indexer.Block.Catchup.BoundIntervalSupervisorTest do |
|
|
|
|
Code.Supervisor.Case.start_supervised!(json_rpc_named_arguments: json_rpc_named_arguments) |
|
|
|
|
Token.Supervisor.Case.start_supervised!(json_rpc_named_arguments: json_rpc_named_arguments) |
|
|
|
|
TokenBalance.Supervisor.Case.start_supervised!(json_rpc_named_arguments: json_rpc_named_arguments) |
|
|
|
|
ReplacedTransaction.Supervisor.Case.start_supervised!() |
|
|
|
|
|
|
|
|
|
Uncle.Supervisor.Case.start_supervised!( |
|
|
|
|
block_fetcher: %Indexer.Block.Fetcher{json_rpc_named_arguments: json_rpc_named_arguments} |
|
|
|
|