Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Lisk Node failed to start with snapshot mode - Closes #3214 #3218
What was the problem?
How did I fix it?
I check if peers is enabled before creating and listening to webSocket server.
How to test it?
@ManuGowda The integration test is there but it tests the functions directly. This issue was present when starting the application which should be tested in the functional level but it's tricky as it requires starting the network and waiting for at least one round before running the snapshotting process.
I think it will not be a big issue as we a rounds test waiting for multiple rounds, so for this use case we can just wait for 1 round and see if it works fine, my only worry is to avoiding this type issues at the base level so that we don't delay in releases, see what best you can do.