From 25ddf2ab52e8b2dc90bde2ffc26285b243b51cfe Mon Sep 17 00:00:00 2001 From: Nikita Pozdniakov Date: Tue, 8 Aug 2023 11:20:23 +0300 Subject: [PATCH] Switch sourcify tests from POA Sokol to Gnosis Chiado --- .github/workflows/config.yml | 2 +- CHANGELOG.md | 1 + .../controllers/api/rpc/contract_controller_test.exs | 6 +++--- .../controllers/api/v2/verification_controller_test.exs | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index e78e8c389c..1242102032 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -625,7 +625,7 @@ jobs: PGUSER: postgres ETHEREUM_JSONRPC_CASE: "EthereumJSONRPC.Case.Nethermind.Mox" ETHEREUM_JSONRPC_WEB_SOCKET_CASE: "EthereumJSONRPC.WebSocket.Case.Mox" - CHAIN_ID: "77" + CHAIN_ID: "10200" API_RATE_LIMIT_DISABLED: "true" ADMIN_PANEL_ENABLED: "true" ACCOUNT_ENABLED: "true" diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ac75610d1..4922a7415d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ ### Fixes +- [#8147](https://github.com/blockscout/blockscout/pull/8147) - Switch sourcify tests from POA Sokol to Gnosis Chiado - [#8145](https://github.com/blockscout/blockscout/pull/8145) - Handle negative holders count in API v2 - [#8040](https://github.com/blockscout/blockscout/pull/8040) - Resolve issue with Docker image for Mac M1/M2 - [#8060](https://github.com/blockscout/blockscout/pull/8060) - Fix eth_getLogs API endpoint diff --git a/apps/block_scout_web/test/block_scout_web/controllers/api/rpc/contract_controller_test.exs b/apps/block_scout_web/test/block_scout_web/controllers/api/rpc/contract_controller_test.exs index 0cd2b50bd3..752c393c47 100644 --- a/apps/block_scout_web/test/block_scout_web/controllers/api/rpc/contract_controller_test.exs +++ b/apps/block_scout_web/test/block_scout_web/controllers/api/rpc/contract_controller_test.exs @@ -712,7 +712,7 @@ defmodule BlockScoutWeb.API.RPC.ContractControllerTest do params = %{ "module" => "contract", "action" => "verify_via_sourcify", - "addressHash" => "0x18d89C12e9463Be6343c35C9990361bA4C42AfC2" + "addressHash" => "0xf26594F585De4EB0Ae9De865d9053FEe02ac6eF1" } response = @@ -732,14 +732,14 @@ defmodule BlockScoutWeb.API.RPC.ContractControllerTest do _created_contract_address = insert( :address, - hash: "0x18d89C12e9463Be6343c35C9990361bA4C42AfC2", + hash: "0xf26594F585De4EB0Ae9De865d9053FEe02ac6eF1", contract_code: smart_contract_bytecode ) params = %{ "module" => "contract", "action" => "verify_via_sourcify", - "addressHash" => "0x18d89C12e9463Be6343c35C9990361bA4C42AfC2" + "addressHash" => "0xf26594F585De4EB0Ae9De865d9053FEe02ac6eF1" } get_implementation() diff --git a/apps/block_scout_web/test/block_scout_web/controllers/api/v2/verification_controller_test.exs b/apps/block_scout_web/test/block_scout_web/controllers/api/v2/verification_controller_test.exs index 4ff1545377..1b21ecabea 100644 --- a/apps/block_scout_web/test/block_scout_web/controllers/api/v2/verification_controller_test.exs +++ b/apps/block_scout_web/test/block_scout_web/controllers/api/v2/verification_controller_test.exs @@ -222,7 +222,7 @@ defmodule BlockScoutWeb.API.V2.VerificationControllerTest do end test "verify contract from sourcify repo", %{conn: conn} do - address = "0x18d89C12e9463Be6343c35C9990361bA4C42AfC2" + address = "0xf26594F585De4EB0Ae9De865d9053FEe02ac6eF1" _contract = insert(:address, hash: address, contract_code: "0x01")