Closed hackfisher closed 2 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 @.***> 写道:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
https://github.com/darwinia-network/shadow/blob/a0ef546b096a0a91eb34b96049d39ce5c92fa2b5/src/mmr/runner.rs#L83