Closed wqking closed 5 years ago
Please rebase with master and switch target branch. Testnet was merged into master.
Done
The errors here happen when submitting a block. If the beacon block hash is out of sync or something, submitting a block will error out. Then, we should re-request epoch data.
Done
Sorry, I should be more clear. It should always retry.
Currently, the validator asks the beacon chain for the entire epoch of proposals/attestations and then launches goroutines that wait for the slot and propose/attest as needed.
Sometimes, after it requests the entire epoch, something is updated and the older epoch assignment becomes invalid, in which case it will error when submitting a block. If this happens, the validator should cancel all current assignments (all goroutines started) and re-request epoch data, then start the goroutines again.
Codecov Report
0% <0%> (ø)
60.97% <8.69%> (ø)
Continue to review full report at Codecov.