-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Restarting node won't sync anymore. #7345
Comments
Hey no that is not expected. Please run the second node with |
This comment has been minimized.
This comment has been minimized.
This is not the output of running with There isn't anything useful in these logs. |
@aidenthefox which version of Substrate are you using? And could you please give a detailed (which command you have executed) write up on how to reproduce this? |
v2.0.0 ./substrate --chain raw.json --base-path /tmp/node02 --port 30334 --ws-port 9945 --rpc-port 9934 --telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' --rpc-methods=Unsafe --name MyNode02 --bootnodes /ip4/45.79.90.146/tcp/30333/p2p/12D3KooWNQjZT9LNi5jnJUwageh89sQSm4xfzA3kmRxnzexRBAzW |
i simply booted up a chain with a custom spec (just 1 validator) and used a new instance of a non validating node to sync to it. also, the chain spec i modified this:
i'm not sure if it's a factor but i changed forceEra and removed the invulnerables |
Can you please post the full chain spec, ty. And could you also try to reproduce this on master? |
this is the chain spec: i'll try to reproduce this it on master later and give you feedback |
using the master branch for the main node (validator) makes the v2.0.0 nodes (non validators) sync, so it seems the problem is using v2.0.0 in the main node. @bkchr |
i tried upgrading to master branch the non validator node and it still won't sync. but when i upgraded the main node to master, the v2 node and the master node can now sync to the main node. |
So this is fixed? |
yes it seems fixed in master |
Perfect, thank you for testing master. I will close this pr now. |
I started a single validator chain, it's running fine producing blocks and finalizing. Then i started a new node connecting to the validator, it sync's and keeps on synching. If I restart this node, it won't sync anymore. Is this expected on a chain with a single validator? I have not yet tried making it with 2 or more validators, I just want to know if syncing won't happen in this case if the 2nd non validating node stops and starts again.
The text was updated successfully, but these errors were encountered: