Queue unknown gas currency for token indexing. #824
4 fail, 74 skipped, 2 559 pass in 3m 38s
Annotations
Check warning on line 0 in Elixir.Explorer.Chain.Import.Runner.Address.TokenBalancesTest
github-actions / Unit Test Results
test set value_fetched_at to null for existing record if incoming data has this field empty (Elixir.Explorer.Chain.Import.Runner.Address.TokenBalancesTest) failed
artifacts/Explorer Test Results/test-junit-report.xml
Raw output
1) test set value_fetched_at to null for existing record if incoming data has this field empty (Explorer.Chain.Import.Runner.Address.TokenBalancesTest)
test/explorer/chain/import/runner/address/token_balances_test.exs:158
match (=) failed
The following variables were pinned:
value_fetched_at = ~U[2024-02-07 11:34:58.840725Z]
value = #Decimal<100>
token_contract_address_hash = %Explorer.Chain.Hash{byte_count: 20, bytes: <<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 187>>}
block_number = 1
code: assert {:ok,
%{
address_token_balances: [
%TokenBalance{
address_hash: address_hash,
block_number: ^block_number,
token_contract_address_hash: ^token_contract_address_hash,
token_id: nil,
value: ^value,
value_fetched_at: ^value_fetched_at
}
]
}} = run_changes(first_changes, options)
left: {:ok,
%{
address_token_balances: [
%Explorer.Chain.Address.TokenBalance{
address_hash: address_hash,
block_number: ^block_number,
token_contract_address_hash: ^token_contract_address_hash,
token_id: nil,
value: ^value,
value_fetched_at: ^value_fetched_at
}
]
}}
right: {:ok, %{address_token_balances: []}}
stacktrace:
test/explorer/chain/import/runner/address/token_balances_test.exs:185: (test)
Check warning on line 0 in Elixir.Explorer.Chain.Import.Runner.Address.TokenBalancesTest
github-actions / Unit Test Results
test run/2 does not nillifies existing value (Elixir.Explorer.Chain.Import.Runner.Address.TokenBalancesTest) failed
artifacts/Explorer Test Results/test-junit-report.xml
Raw output
2) test run/2 does not nillifies existing value (Explorer.Chain.Import.Runner.Address.TokenBalancesTest)
test/explorer/chain/import/runner/address/token_balances_test.exs:52
match (=) failed
The following variables were pinned:
value_fetched_at = ~U[2024-02-07 11:34:58.834987Z]
token_contract_address_hash = %Explorer.Chain.Hash{byte_count: 20, bytes: <<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 185>>}
block_number = 1
code: assert {:ok,
%{
address_token_balances: [
%TokenBalance{
address_hash: address_hash,
block_number: ^block_number,
token_contract_address_hash: ^token_contract_address_hash,
token_id: nil,
value: nil,
value_fetched_at: ^value_fetched_at
}
]
}} = run_changes(changes, options)
left: {:ok,
%{
address_token_balances: [
%Explorer.Chain.Address.TokenBalance{
address_hash: address_hash,
block_number: ^block_number,
token_contract_address_hash: ^token_contract_address_hash,
token_id: nil,
value: nil,
value_fetched_at: ^value_fetched_at
}
]
}}
right: {:ok, %{address_token_balances: []}}
stacktrace:
test/explorer/chain/import/runner/address/token_balances_test.exs:80: (test)
Check warning on line 0 in Elixir.Explorer.Chain.Import.Runner.Address.TokenBalancesTest
github-actions / Unit Test Results
test does not nillifies existing value ERC-1155 (Elixir.Explorer.Chain.Import.Runner.Address.TokenBalancesTest) failed
artifacts/Explorer Test Results/test-junit-report.xml
Raw output
3) test does not nillifies existing value ERC-1155 (Explorer.Chain.Import.Runner.Address.TokenBalancesTest)
test/explorer/chain/import/runner/address/token_balances_test.exs:106
match (=) failed
The following variables were pinned:
value_fetched_at = ~U[2024-02-07 11:34:58.829465Z]
token_contract_address_hash = %Explorer.Chain.Hash{byte_count: 20, bytes: <<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 183>>}
block_number = 1
code: assert {:ok,
%{
address_token_balances: [
%TokenBalance{
address_hash: address_hash,
block_number: ^block_number,
token_contract_address_hash: ^token_contract_address_hash,
value: nil,
value_fetched_at: ^value_fetched_at
}
]
}} = run_changes(changes, options)
left: {:ok,
%{
address_token_balances: [
%Explorer.Chain.Address.TokenBalance{
address_hash: address_hash,
block_number: ^block_number,
token_contract_address_hash: ^token_contract_address_hash,
value: nil,
value_fetched_at: ^value_fetched_at
}
]
}}
right: {:ok, %{address_token_balances: []}}
stacktrace:
test/explorer/chain/import/runner/address/token_balances_test.exs:134: (test)
Check warning on line 0 in Elixir.Explorer.Chain.Import.Runner.Address.TokenBalancesTest
github-actions / Unit Test Results
test run/2 inserts token balance (Elixir.Explorer.Chain.Import.Runner.Address.TokenBalancesTest) failed
artifacts/Explorer Test Results/test-junit-report.xml
Raw output
4) test run/2 inserts token balance (Explorer.Chain.Import.Runner.Address.TokenBalancesTest)
test/explorer/chain/import/runner/address/token_balances_test.exs:9
match (=) failed
The following variables were pinned:
value_fetched_at = ~U[2024-02-07 11:34:58.823703Z]
value = #Decimal<100>
token_contract_address_hash = %Explorer.Chain.Hash{byte_count: 20, bytes: <<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 181>>}
block_number = 1
address_hash = %Explorer.Chain.Hash{byte_count: 20, bytes: <<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 180>>}
code: assert {:ok,
%{
address_token_balances: [
%TokenBalance{
address_hash: ^address_hash,
block_number: ^block_number,
token_contract_address_hash: ^token_contract_address_hash,
token_id: nil,
value: ^value,
value_fetched_at: ^value_fetched_at
}
]
}} = run_changes(changes, options)
left: {:ok,
%{
address_token_balances: [
%Explorer.Chain.Address.TokenBalance{
address_hash: ^address_hash,
block_number: ^block_number,
token_contract_address_hash: ^token_contract_address_hash,
token_id: nil,
value: ^value,
value_fetched_at: ^value_fetched_at
}
]
}}
right: {:ok, %{address_token_balances: []}}
stacktrace:
test/explorer/chain/import/runner/address/token_balances_test.exs:37: (test)