I am new to Ethereum blockchain. I want to understand how beacon chain handles finality of 64 shards?
Regarding the above question, I have few understanding, doubts on the same which I explained as below:
Let me start it like a noob. So in ethereum PoS and sharding, we have 1 beacon chain and 64 shard chains at every epoch (32 slots -> 1 slot = 12 seconds) At every epoch, in every shard, in best case scenario there will be 32 blocks proposed and attested by the validators in respective time slot's committee. (1 block per 1 time slot/committee). So at this point, if I look now, we have 64 shards, each shard produces 32 blocks. Total of 64*32 = 2048 blocks. And in each shard, the respective 32 blocks may have created forks in the shard copy of the blockchain. (due to network latency, etc. As blocks are produced quickly - every 12 seconds). Also these forks in each shard have different state trie (1 state trie for 1 fork).
At the same time, I read somewhere, in beacon chain also there will be 32 blocks produces at that epoch. So,
An in detail step by step thorough explanation for how beacon chain handles finality of 64 shards? which covers all my sub questions mentioned above. really helps a lot.
This will be useful for the all the people who are struggling to understand ethereum internal working. Thank you so much in advance.
I am new to Ethereum blockchain. I want to understand how beacon chain handles finality of 64 shards?
Because it doesn't. There does not exist even a proof of concept for sharded Ethereum yet. StackOverflow is to discuss about programming questions, not about theoretical sharding on Ethereum blockchain.
If you want to study existing sharding implementations please see
NEAR Protocol
MultiversX
Zilliqa