Update instructions

This commit is contained in:
Prathamesh Musale 2024-06-05 11:36:03 +05:30
parent 6794cb3a93
commit b98018b9f6
2 changed files with 5 additions and 11 deletions

View File

@ -1,5 +1,8 @@
FROM ghcr.io/bnb-chain/bsc:1.4.8
USER root
# Add lz4 for extracting files from a lz4 snapshot
RUN apk add lz4
USER bsc

View File

@ -95,19 +95,11 @@ laconic-so deployment --dir bsc-node-deployment up
docker logs -f <CONTAINER_ID>
```
* Log in with bash into the bsc container:
```bash
docker exec -it <BSC_CONTAINER_ID> bash
```
* Check Synchronization:
```bash
# Inside the bsc container
# Start geth console
geth attach ipc:/data/geth.ipc
laconic-so deployment --dir bsc-node-deployment exec bsc "geth attach ipc:/data/geth.ipc"
>eth.syncing
```
@ -115,8 +107,7 @@ laconic-so deployment --dir bsc-node-deployment up
* Check geth logs:
```bash
# Inside the bsc container
tail -f /data/bsc.log
laconic-so deployment --dir bsc-node-deployment exec bsc "tail -f /data/bsc.log"
```
## Clean up