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
Not able to connect two nodes after separating the testnet.sh into different files ? (Like bootnode.sh , gethnode.sh , beaconnode.sh , validator.sh)
#13
Open
cryptonix21 opened this issue
Nov 9, 2023
· 2 comments
I split the 'testnet. sh' files into separate files to monitor two nodes in different terminals. However, when I ran these nodes in separate terminals, they both created two blockchains with the same chain ID. When I tried transferring the native balance, I noticed that the balances were displaying different values on two different RPC URLs, even though they shared the same chain ID. How to check nodes are connected with each other?
The text was updated successfully, but these errors were encountered:
You can check if nodes are attached to each other by following the geth attach mechanism to open the JS console shown in the README. This will allow you to inspect the peers of each nodes.
To allow the two different blockchains to discover each other, you need to make sure the Execution client discovery mechanism and consensus client discovery mechanism are being facilitated.
For the execution client, make sure that both execution clients (geth) on both files are being started with the --bootnodes flag pointing to the same bootnode.
For the consensus client (prysm), make sure that the second prysm node is being run with the --bootstrap-node pointing to the first node.
Hi @rzmahmood !
Hope you are doing well,
I split the 'testnet. sh' files into separate files to monitor two nodes in different terminals. However, when I ran these nodes in separate terminals, they both created two blockchains with the same chain ID. When I tried transferring the native balance, I noticed that the balances were displaying different values on two different RPC URLs, even though they shared the same chain ID. How to check nodes are connected with each other?
The text was updated successfully, but these errors were encountered: