Skip to content

Commit

Permalink
fix: blockscout fix for json variant (#662)
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa authored Jun 6, 2024
1 parent b0820dd commit e79c510
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/blockscout/blockscout_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ shared_utils = import_module("../shared_utils/shared_utils.star")
constants = import_module("../package_io/constants.star")
postgres = import_module("github.com/kurtosis-tech/postgres-package/main.star")

IMAGE_NAME_BLOCKSCOUT = "blockscout/blockscout:6.0.0"
IMAGE_NAME_BLOCKSCOUT = "blockscout/blockscout:6.6.0"
IMAGE_NAME_BLOCKSCOUT_VERIF = "ghcr.io/blockscout/smart-contract-verifier:v1.6.0"

SERVICE_NAME_BLOCKSCOUT = "blockscout"
Expand Down Expand Up @@ -121,7 +121,9 @@ def get_config_backend(
'bin/blockscout eval "Elixir.Explorer.ReleaseTasks.create_and_migrate()" && bin/blockscout start',
],
env_vars={
"ETHEREUM_JSONRPC_VARIANT": el_client_name,
"ETHEREUM_JSONRPC_VARIANT": "erigon"
if el_client_name == "erigon" or el_client_name == "reth"
else el_client_name,
"ETHEREUM_JSONRPC_HTTP_URL": el_client_rpc_url,
"ETHEREUM_JSONRPC_TRACE_URL": el_client_rpc_url,
"DATABASE_URL": database_url,
Expand Down

0 comments on commit e79c510

Please sign in to comment.