From 6b5f4e62b7390209e95e19e643b9b4559a7fac45 Mon Sep 17 00:00:00 2001 From: nikitosing <32202610+nikitosing@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:27:52 +0300 Subject: [PATCH] fix: Fix ETH JSON RPC deriving for Stylus verification (#11247) --- apps/explorer/lib/explorer/smart_contract/stylus/verifier.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/explorer/lib/explorer/smart_contract/stylus/verifier.ex b/apps/explorer/lib/explorer/smart_contract/stylus/verifier.ex index 4d90ee37d2..62496b90ff 100644 --- a/apps/explorer/lib/explorer/smart_contract/stylus/verifier.ex +++ b/apps/explorer/lib/explorer/smart_contract/stylus/verifier.ex @@ -68,7 +68,7 @@ defmodule Explorer.SmartContract.Stylus.Verifier do {:ok, map()} | {:error, any()} defp evaluate_authenticity_inner(true, address_hash, params) do transaction_hash = fetch_data_for_stylus_verification(address_hash) - rpc_endpoint = Application.get_env(:explorer, :json_rpc_named_arguments)[:transport_options][:url] + rpc_endpoint = Application.get_env(:explorer, :json_rpc_named_arguments)[:transport_options][:urls] |> List.first() params |> Map.take(["cargo_stylus_version", "repository_url", "commit", "path_prefix"])