You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/src/framework/observability/blockscout.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,14 @@ To remove it, we also clean up all Blockscout databases to prevent stale data wh
12
12
ctf bs down
13
13
```
14
14
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
+
15
23
<divclass="warning">
16
24
17
25
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