Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Polygon Edge and optimism genesis files support #7603

Merged
merged 2 commits into from Jun 1, 2023

Conversation

sl1depengwyn
Copy link
Collaborator

@sl1depengwyn sl1depengwyn commented May 31, 2023

Fix #6890

Motivation

Now we can't parse Polygon Edge and Optimism genesis files

Changelog

2023-05-31T20:56:25.186 application=db_connection [error] Postgrex.Protocol (#PID<0.1040.0>) disconnected: ** (DBConnection.ConnectionError) client #PID<0.1767.0> timed out because it queued and checked out the connection for longer than 240000ms

#PID<0.1767.0> was at location:

    (elixir 1.14.5) lib/enum.ex:4210: Enum.find_list/3
    (explorer 5.1.5) lib/explorer/chain/import/runner/address/coin_balances_daily.ex:109: Explorer.Chain.Import.Runner.Address.CoinBalancesDaily.compose_change/2
    (elixir 1.14.5) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3
    (explorer 5.1.5) lib/explorer/chain/import/runner/address/coin_balances_daily.ex:82: Explorer.Chain.Import.Runner.Address.CoinBalancesDaily.insert/3
    (stdlib 4.3) timer.erl:235: :timer.tc/1
    (explorer 5.1.5) lib/explorer/prometheus/instrumenter.ex:17: Explorer.Prometheus.Instrumenter.block_import_stage_runner/4
    (ecto 3.10.1) lib/ecto/multi.ex:832: Ecto.Multi.apply_operation/5
    (elixir 1.14.5) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3
    (ecto 3.10.1) lib/ecto/multi.ex:806: anonymous fn/5 in Ecto.Multi.apply_operations/5
    (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:1203: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4
    (db_connection 2.5.0) lib/db_connection.ex:1630: DBConnection.run_transaction/4
    (ecto 3.10.1) lib/ecto/repo/transaction.ex:18: Ecto.Repo.Transaction.transaction/4
    (stdlib 4.3) timer.erl:266: :timer.tc/3
    (explorer 5.1.5) lib/explorer/repo.ex:37: anonymous fn/2 in Explorer.Repo.logged_transaction/2
    (explorer 5.1.5) lib/explorer/logger.ex:14: Explorer.Logger.metadata/2
    (explorer 5.1.5) lib/explorer/chain/import.ex:334: anonymous fn/3 in Explorer.Chain.Import.import_transactions/2
    (elixir 1.14.5) lib/enum.ex:4751: Enumerable.List.reduce/3
    (elixir 1.14.5) lib/enum.ex:2514: Enum.reduce_while/3
    (explorer 5.1.5) lib/explorer/chain/import.ex:333: Explorer.Chain.Import.import_transactions/2
    (explorer 5.1.5) lib/explorer/logger.ex:14: Explorer.Logger.metadata/2

Checklist for your Pull Request (PR)

@sl1depengwyn sl1depengwyn force-pushed the mf-add-polygon-and-optimism-genesis-files branch from 91f2b83 to ee04872 Compare May 31, 2023 20:03
@sl1depengwyn sl1depengwyn marked this pull request as ready for review May 31, 2023 20:11
@vbaranov vbaranov merged commit f4aa26a into master Jun 1, 2023
15 checks passed
@vbaranov vbaranov deleted the mf-add-polygon-and-optimism-genesis-files branch June 1, 2023 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Op Mainnet genesis import issue
2 participants