From d8debc6fb93d9dc4c3745bda8afb44e266ab1ff3 Mon Sep 17 00:00:00 2001 From: Lautaro Emanuel <31224949+emlautarom1@users.noreply.github.com> Date: Thu, 28 Dec 2023 16:37:17 -0300 Subject: [PATCH] Fix node restart on `gnosis-cancun` (#6423) * first draft * add more things * fix metric * fix * add tests * add serializers and tests * simplification * adjust network and rpc tests * post-merge fixes * enable eth68 * adjust tests * fix * Use blob gas instead of count * Shuffle 4844 constants, add GetMaxBlobsPerBlock * Replace `Keccak` with `Hash256` * fix PeerInfoExtensions * fix StateSyncDownloader * fix GetNodeDataTrieNodeRecovery * improve switching capabilities * `WasProcessed = true` for Genesis `BlockInfo` * Add tests --------- Co-authored-by: Marcin Sobczak Co-authored-by: Ruben Buniatyan Co-authored-by: Alexey Osipov --- .../Nethermind.Blockchain.Test/BlockTreeTests.cs | 7 ++++--- src/Nethermind/Nethermind.Blockchain/BlockTree.cs | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Nethermind/Nethermind.Blockchain.Test/BlockTreeTests.cs b/src/Nethermind/Nethermind.Blockchain.Test/BlockTreeTests.cs index abf91c29860..17da8cffc11 100644 --- a/src/Nethermind/Nethermind.Blockchain.Test/BlockTreeTests.cs +++ b/src/Nethermind/Nethermind.Blockchain.Test/BlockTreeTests.cs @@ -1827,8 +1827,9 @@ public void Find_handles_invalid_blocks(Func