Skip to content

Instantly share code, notes, and snippets.

@lucassaldanha
Last active January 25, 2023 13:22
Show Gist options
  • Save lucassaldanha/044d73087c4477b8dff562efd129d70f to your computer and use it in GitHub Desktop.
Save lucassaldanha/044d73087c4477b8dff562efd129d70f to your computer and use it in GitHub Desktop.

Teku nodes on withdrawals-devnet-4

withdrawal-devnet-4-teku-geth-1
withdrawal-devnet-4-teku-geth-2
withdrawal-devnet-4-teku-geth-3
withdrawal-devnet-4-teku-geth-4
withdrawal-devnet-4-teku-geth-5

withdrawal-devnet-4-teku-erigon-1
withdrawal-devnet-4-teku-erigon-2

withdrawal-devnet-4-teku-besu-1
withdrawal-devnet-4-teku-besu-2
withdrawal-devnet-4-teku-besu-3

withdrawal-devnet-4-teku-nethermind-1
withdrawal-devnet-4-teku-nethermind-2
withdrawal-devnet-4-teku-nethermind-3
withdrawal-devnet-4-teku-nethermind-4
withdrawal-devnet-4-teku-nethermind-5

Find block hash in docker logs

docker logs beacon 2>&1 | grep "0x25c4d44ee5feb1ba861d3fc0f67cbd4970ea19ac3dc759d3e431b433a67d61c1"

Beacon API - get block

curl -s -X GET "http://localhost:4000/eth/v2/beacon/blocks/0x25c4d44ee5feb1ba861d3fc0f67cbd4970ea19ac3dc759d3e431b433a67d61c1"

Monitor BlsToExecutionChange queue size

while true; do echo $(date) $(curl -s -X GET http://localhost:4000/eth/v1/beacon/pool/bls_to_execution_changes | jq '.data | length'); sleep 6; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment