What I'm trying to find out is: After how many Slots will an Epoch be finalized (theoretically)?
The first block in each epoch is a checkpoint and validators then vote on pairs of checkpoints that are considered valid [link]
Once a checkpoint gains a supermajority vote (2/3 of staked ETH), it becomes justified. When its child checkpoint gets justified, it is upgraded to finalized link
Let's have the following:
3 Epochs:
- Epoch-A in stage justified, Checkpoint is A
- Epoch-B in stage proposed, Checkpoint is B and B is a child checkpoint of A
- Epoch-C in stage proposed, Checkpoint is C and C is a child checkpoint of B
The Chain is processing Epoch-C
When 2/3 of the validators vote on the pair checkpoint (B, C) then checkpoint B will be set as justified. Because checkpoint B is a child checkpoint of A then Checkpoint A will be finalized means Epoch-A is finalized.
Question: Is the following conclusion correct?
In a perfect world (no latency, no voting conflicts, no empty slots, and everyone votes) Epoch-A will be finalized after the 22nd Slot of Epoch-C. This means the last Block in Epoch-A will be finalized after about 54 Blocks and the first Block in Epoch-A after 85 Blocks. Is this correct or am I missing something :D?