From e79c5101f44ca3a5bd70f16b2cf24976db8e555e Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Thu, 6 Jun 2024 17:39:07 +0200 Subject: [PATCH] fix: blockscout fix for json variant (#662) --- src/blockscout/blockscout_launcher.star | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/blockscout/blockscout_launcher.star b/src/blockscout/blockscout_launcher.star index 8b6e3e94c..e2e9bcc7f 100644 --- a/src/blockscout/blockscout_launcher.star +++ b/src/blockscout/blockscout_launcher.star @@ -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" @@ -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,