fix: Fix ETH JSON RPC deriving for Stylus verification (#11247)

master
nikitosing 2 days ago committed by GitHub
parent 296057037f
commit 6b5f4e62b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/explorer/lib/explorer/smart_contract/stylus/verifier.ex

@ -68,7 +68,7 @@ defmodule Explorer.SmartContract.Stylus.Verifier do
{:ok, map()} | {:error, any()} {:ok, map()} | {:error, any()}
defp evaluate_authenticity_inner(true, address_hash, params) do defp evaluate_authenticity_inner(true, address_hash, params) do
transaction_hash = fetch_data_for_stylus_verification(address_hash) 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 params
|> Map.take(["cargo_stylus_version", "repository_url", "commit", "path_prefix"]) |> Map.take(["cargo_stylus_version", "repository_url", "commit", "path_prefix"])

Loading…
Cancel
Save