Contract verification via Sourcify: change url for Sourcify endpoints

pull/3858/head
Viktor Baranov 4 years ago
parent 9d2aa8ffc1
commit fee1e83972
  1. 4
      apps/explorer/config/config.exs

@ -242,10 +242,10 @@ config :explorer, Explorer.Chain.Cache.Uncles,
global_ttl: if(System.get_env("DISABLE_INDEXER") == "true", do: :timer.seconds(5))
config :explorer, Explorer.ThirdPartyIntegrations.Sourcify,
server_url: System.get_env("SOURCIFY_SERVER_URL") || "https://verification.komputing.org/server",
server_url: System.get_env("SOURCIFY_SERVER_URL") || "https://sourcify.dev/server",
enabled: System.get_env("ENABLE_SOURCIFY_INTEGRATION") == "true",
chain_id: System.get_env("CHAIN_ID"),
repo_url: System.get_env("SOURCIFY_REPO_URL") || "https://contractrepo.komputing.org/contracts/full_match/"
repo_url: System.get_env("SOURCIFY_REPO_URL") || "https://repo.sourcify.dev/contracts/full_match/"
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.

Loading…
Cancel
Save