darwinia-network / shadow

Darwinia ZK proof services
GNU General Public License v3.0
2 stars 1 forks source link

Ethereum Classic has sampe genesis header with Ethereum? genesis header is not enough to decide network #151

Closed hackfisher closed 2 years ago

hackfisher commented 3 years ago

https://github.com/darwinia-network/shadow/blob/a0ef546b096a0a91eb34b96049d39ce5c92fa2b5/src/mmr/runner.rs#L83

AlexChien commented 3 years ago

Initializing a forked chain with G point to the fork block or G point set to the genesis block but with a confirmed block set to the fork block should solve the problem. Every time a block is confirmed, it becomes the base block for retroactive check.

Alex Chien

在 2021年4月2日,16:20,HackFisher @.***> 写道:

 https://github.com/darwinia-network/shadow/blob/a0ef546b096a0a91eb34b96049d39ce5c92fa2b5/src/mmr/runner.rs#L83

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.