Move AddressExtraction out of BlockFetcher because it is used in the InternalTransactionFetcher and will be used in the PendingTransactionFetcher.pull/255/head
parent
fa455e331d
commit
ef2b2bb745
@ -1,4 +1,4 @@ |
|||||||
defmodule Explorer.Indexer.BlockFetcher.AddressExtraction do |
defmodule Explorer.Indexer.AddressExtraction do |
||||||
@moduledoc """ |
@moduledoc """ |
||||||
Extract Addresses from data fetched from the Blockchain and structured as Blocks, InternalTransactions, |
Extract Addresses from data fetched from the Blockchain and structured as Blocks, InternalTransactions, |
||||||
Transactions and Logs. |
Transactions and Logs. |
@ -1,7 +1,7 @@ |
|||||||
defmodule Explorer.Indexer.BlockFetcher.AddressExtractionTest do |
defmodule Explorer.Indexer.AddressExtractionTest do |
||||||
use Explorer.DataCase, async: true |
use Explorer.DataCase, async: true |
||||||
|
|
||||||
alias Explorer.Indexer.BlockFetcher.AddressExtraction |
alias Explorer.Indexer.AddressExtraction |
||||||
|
|
||||||
describe "extract_addresses/1" do |
describe "extract_addresses/1" do |
||||||
test "returns all hashes entities data in a list" do |
test "returns all hashes entities data in a list" do |
Loading…
Reference in new issue