Sometimes in the handleWorkersResults function we would get an index out of bounds error that caused the node to panic
By doing a simple bounds check (as well as adding a few more bounds checks in other places) the node is able to ignore blocks it shouldn't process while also still making sure every block we need gets processed thus allowing us to keep processing the chain as expected.
Tests
go test -tags integration github.com/ChainSafe/gossamer
Changes
Tests
Issues
Closes #3850