NethermindEth / juno

Starknet client implementation.
https://juno.nethermind.io
Apache License 2.0
400 stars 170 forks source link

Handle L1 Reorg #1009

Closed IronGauntlets closed 1 year ago

IronGauntlets commented 1 year ago

Currently, we assume Ethereum's finalized blocks would not be reorged as that would require 33% of the validators to be slashed. However, this is still a possibility thus it should be handled.

omerfirmak commented 1 year ago

Ethereum's finalized blocks would not be reorged as that would require 33% of the validators to be slashed. However, this is still a possibility thus it should be handled.

If I recall correctly, even etheruem nodes dont handle this automatically. I dont think it makes sense to aim that.

IronGauntlets commented 1 year ago

You are correct and the threshold for the finalised block to be reorged is >66%, not 33%.