Fix missing slot regression, better track of payload attributes in logs #459
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
payload_id
for each payload received from the CLpayload_id
It was found that in current develop we miss approx. 5% of the slots because we don't cancel old jobs mid slot anymore when reth goes to the next block.
This adds a new job for each slot
run_check_if_parent_block_is_last_block
that explicitly checks last reth block every 100ms and cancels payload if we can't use it anymore. This fixes the issue above and makes us more robust since before we relied on reth giving us specific error type to cancel slot when reth updated last block and now we check it explicitly.✅ I have completed the following steps:
make lint
make test