Merge pull request #4733 from blockscout/np-fix-proxy-querying-methods

Fix typo in naming
pull/4729/head
Victor Baranov 3 years ago committed by GitHub
commit b3e3cb6e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CHANGELOG.md
  2. 2
      apps/block_scout_web/lib/block_scout_web/controllers/smart_contract_controller.ex

@ -2,7 +2,7 @@
### Features ### Features
- [#4667](https://github.com/blockscout/blockscout/pull/4667) - Transaction Page: Add expand/collapse button for long contract method data - [#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 - [#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 - [#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 - [#4655](https://github.com/blockscout/blockscout/pull/4655), [#4676](https://github.com/blockscout/blockscout/pull/4676) - EIP-3091 support

@ -103,7 +103,7 @@ defmodule BlockScoutWeb.SmartContractController do
with true <- ajax?(conn), with true <- ajax?(conn),
{:ok, address_hash} <- Chain.string_to_address_hash(params["id"]), {:ok, address_hash} <- Chain.string_to_address_hash(params["id"]),
{:ok, _address} <- Chain.find_contract_address(address_hash, address_options, true) do {: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} = %{output: outputs, names: names} =
if params["from"] do if params["from"] do

Loading…
Cancel
Save