Closed countvonzero closed 1 year ago
with canonical ed25519 it will be handled super efficiently. unlike with key extraction - signature will fail to verify if message was signed with a different prefix.
switched to ed25519, any cross chain data is invalided immediately
Description
problem
capturing relevant slack discussion: @dshulyak
pointed out that the goal of genesis id prefix in signature was to prevent downloading whole chain of objects, and instead invalidate object that was signed for different network immediately. however, in the current sync flow, the whole chain of objects is still downloaded.
@tal-m 's response:
mitigation
from @tal-m
from @noamnelke
from @noamnelke regarding how to detect a cross-chain data with 2 ATXs
implementation plan
current behavior
desired behavior
gossip
sync: do not fail sync when it failed fetching data (ATXs/ballots/blocks)