Skip to content

Commit ff22e0d

Browse files
committed
check that internal txs are working
1 parent 85a50a0 commit ff22e0d

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

framework/observability.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,5 +180,5 @@ func ObservabilityDown() error {
180180
if err != nil {
181181
return err
182182
}
183-
return nil
183+
return RunCommand("bash", "-c", "rm -rf compose/")
184184
}

framework/observability/blockscout/docker-compose.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,14 @@ services:
3939
links:
4040
- db:database
4141
environment:
42-
ETHEREUM_JSONRPC_HTTP_URL: ${BLOCKSCOUT_RPC_URL:-http://host.docker.internal:8555}
43-
ETHEREUM_JSONRPC_TRACE_URL: ${BLOCKSCOUT_RPC_URL:-http://host.docker.internal:8555}
44-
MICROSERVICE_SC_VERIFIER_ENABLED: true
45-
MICROSERVICE_SC_VERIFIER_URL: http://smart-contract-verifier:8050/
46-
MICROSERVICE_SC_VERIFIER_TYPE: sc_verifier
47-
CHAIN_ID: ${BLOCKSCOUT_CHAIN_ID:-1337}
42+
# 'anvil' do not support internal transactions
43+
ETHEREUM_JSONRPC_VARIANT: 'geth'
44+
ETHEREUM_JSONRPC_HTTP_URL: ${BLOCKSCOUT_RPC_URL}
45+
ETHEREUM_JSONRPC_TRACE_URL: ${BLOCKSCOUT_RPC_URL}
46+
CHAIN_ID: ${BLOCKSCOUT_CHAIN_ID:-1337}
47+
MICROSERVICE_SC_VERIFIER_ENABLED: true
48+
MICROSERVICE_SC_VERIFIER_URL: http://smart-contract-verifier:8050/
49+
MICROSERVICE_SC_VERIFIER_TYPE: sc_verifier
4850

4951
nft_media_handler:
5052
depends_on:

framework/observability/blockscout/services/backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.9'
22

33
services:
44
backend:
5-
image: ghcr.io/blockscout/${DOCKER_REPO:-blockscout}:${DOCKER_TAG:-latest}
5+
image: ghcr.io/blockscout/${DOCKER_REPO:-blockscout}:${DOCKER_TAG:-9.0.2.commit.2ab549a6}
66
pull_policy: always
77
restart: always
88
stop_grace_period: 5m

0 commit comments

Comments
 (0)