From da345c191973d6adabecd936f9399760d75de486 Mon Sep 17 00:00:00 2001 From: AnkushinDaniil Date: Wed, 22 Jan 2025 12:29:25 +0300 Subject: [PATCH] Add network check --- p2p/sync/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/sync/sync.go b/p2p/sync/sync.go index 90c39dfc54..6f2f7ef985 100644 --- a/p2p/sync/sync.go +++ b/p2p/sync/sync.go @@ -358,7 +358,7 @@ func (s *Service) adaptAndSanityCheckBlock(ctx context.Context, header *gen.Sign return } - if blockVer.LessThan(core.Ver0_13_2) { + if blockVer.LessThan(core.Ver0_13_2) && s.network.L2ChainID == "SN_SEPOLIA" { expectedHash := hashstorage.SepoliaBlockHashesMap[coreBlock.Number] post0132Hash, _, err := core.Post0132Hash(coreBlock, stateDiff) if err != nil {