Test Commands
Troubleshoot issues spotted by the test command
Running test commands
# Run from within the charon-distributed-validator-node/ directory
docker run --rm -u $(id -u):$(id -g) -v "$(pwd):/opt/charon" obolnetwork/charon:v1.10.0 alpha test <COMMAND> \
--lock-file="/opt/charon/.charon/cluster-lock.json" \
--private-key-file="/opt/charon/.charon/charon-enr-private-key" \
[FLAGS]# Via docker exec (find your container name with `docker ps`)
docker exec -it DAppNodePackage-hoodi-obol.dnp.dappnode.eth charon alpha test <COMMAND> \
--lock-file=".charon/cluster-lock.json" \
[FLAGS]# Find your Charon pod (default namespace: dv-pod, default release: my-dv-pod)
kubectl get pods -n dv-pod -l app.kubernetes.io/instance=my-dv-pod
# Exec into the pod and run the test
kubectl exec -it -n dv-pod my-dv-pod-0 -- charon alpha test <COMMAND> \
--lock-file=".charon/cluster-lock.json" \
[FLAGS]Peers
Charon Peers
Ping
PingMeasure
PingLoad
DirectConn
Charon Relays
PingRelay
PingMeasureRelay
Self
Libp2pTCPPortOpenTest
Beacon
Ping
PingMeasure
Version
IsSynced
PeerCount
PingLoad
Simulation
Validator
Ping
PingMeasure
PingLoad
MEV
Ping
PingMeasure
CreateBlock
CreateMultipleBlocks
Infra
DiskWriteSpeed
DiskWriteIOPS
DiskReadSpeed
DiskReadIOPS
AvailableMemory
TotalMemory
InternetLatency
InternetDownloadSpeed
InternetUploadSpeed
Last updated
Was this helpful?

