Skip to content

Commit ede6a4c

Browse files
committed
blockscout docs
1 parent 1ed34a7 commit ede6a4c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

book/src/framework/observability/blockscout.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ To remove it, we also clean up all Blockscout databases to prevent stale data wh
1212
ctf bs down
1313
```
1414

15+
## Selecting Blockchain Node
16+
17+
By default, we connect to the first `anvil` node, but you can select the node explicitly
18+
```
19+
ctf bs -r http://host.docker.internal:8545 d
20+
ctf bs -r http://host.docker.internal:8555 d
21+
```
22+
1523
<div class="warning">
1624

1725
Blockscout isn’t ideal for local, ephemeral environments, as it won’t re-index blocks and transactions on test reruns. The easiest approach is to set up Blockscout first, initialize the test environment, switch to the [cache](../components/caching.md) config, and run tests without restarting RPC nodes.

0 commit comments

Comments
 (0)