-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix slot missing transaction #923
Fix slot missing transaction #923
Conversation
d9cb14e
to
cffa0bd
Compare
After some discussion, a better way to handle this problem has been found: |
cffa0bd
to
b87aeac
Compare
bcd76fc
to
e2631f1
Compare
As discussed, there is an issue with the transactions from last slot being duplicated in 2 summaries (S and S+1). |
I found a way to fix it in this PR, I'll move the threashold verification when creating the aggregate |
e2631f1
to
0f210f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9467391
to
3b842b9
Compare
if it is not a beacon summary node
to have all confirmations available
instead of rejecting entire summary if one attestation is invalid
if refused, attestation is postponed to next summary
3b842b9
to
a36a491
Compare
Description
Actually, when it's the time for a new slot, the slot timer send a event to all the subset to process the slot creation.
But due to some latency for a slot node to receive the ReplicationAttestation message or simply the latency for a transaction to be replicated, the slot node may have build and sent the slot before receiving all the slot transaction.
For example:
![image](https://user-images.githubusercontent.com/26260538/221901673-2cc77429-6a77-431c-91ef-22ca31d8a65f.png)
To solve this problem, here is the new workflow:
Here is an example:
Type of change
Please delete options that are not relevant.
Checklist: