diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bcd4ab4a7..1c878425f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ### Features - [#4667](https://github.com/blockscout/blockscout/pull/4667) - Transaction Page: Add expand/collapse button for long contract method data -- [#4641](https://github.com/blockscout/blockscout/pull/4641) - Improve Read Contract page logic +- [#4641](https://github.com/blockscout/blockscout/pull/4641), [#4733](https://github.com/blockscout/blockscout/pull/4733) - Improve Read Contract page logic - [#4660](https://github.com/blockscout/blockscout/pull/4660) - Save Sourcify path instead of filename - [#4656](https://github.com/blockscout/blockscout/pull/4656) - Open in Tenderly button - [#4655](https://github.com/blockscout/blockscout/pull/4655), [#4676](https://github.com/blockscout/blockscout/pull/4676) - EIP-3091 support diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/smart_contract_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/smart_contract_controller.ex index ce384463a4..a18bae66b1 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/smart_contract_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/smart_contract_controller.ex @@ -103,7 +103,7 @@ defmodule BlockScoutWeb.SmartContractController do with true <- ajax?(conn), {:ok, address_hash} <- Chain.string_to_address_hash(params["id"]), {:ok, _address} <- Chain.find_contract_address(address_hash, address_options, true) do - contract_type = if params["method_id"] == "proxy", do: :proxy, else: :regular + contract_type = if params["type"] == "proxy", do: :proxy, else: :regular %{output: outputs, names: names} = if params["from"] do