I am getting the chain-id as 137 on genesis.json file. Does that indicate I am on the correct fork? Are there any other ways to check if my node is running on the correct fork?
How can I check if my node is running on the correct fork?
36 views Asked by Sajal Agrawal At
1
To check whether the node is on the right fork run the following
This command helps to find the current block on your node:
Find the associated block hash for the block number:
Now, you can inspect the block number to identify if you are running on the right fork. One way to do this is to search for the block number on an explorer like PolygonScan.
If the hashes match, then the node is on the right fork.