@@ -51,6 +51,11 @@ namespace Nethermind.Network
             long next = 0;
             for (int i = 0; i < specProvider.TransitionBlocks.Length; i++)
             {
+                if (specProvider.TransitionBlocks[i] >= long.MaxValue - 100)
+                {
+                    continue;
+                }
+                
                 long transition = specProvider.TransitionBlocks[i];
                 if (transition > headNumber)
                 {
//  Copyright (c) 2018 Demerzel Solutions Limited
//  This file is part of the Nethermind library.
// 
//  The Nethermind library is free software: you can redistribute it and/or modify
//  it under the terms of the GNU Lesser General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
// 
//  The Nethermind library is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//  GNU Lesser General Public License for more details.
// 
//  You should have received a copy of the GNU Lesser General Public License
//  along with the Nethermind. If not, see <http://www.gnu.org/licenses/>.

using System.Buffers.Binary;
using Force.Crc32;
using Nethermind.Core.Crypto;
using Nethermind.Core.Specs;

namespace Nethermind.Network
{
    public static class ForkInfo
    {
        public static byte[] CalculateForkHash(ISpecProvider specProvider, long headNumber, Keccak genesisHash)
        {
            uint crc = 0;
            long[] transitionBlocks = specProvider.TransitionBlocks;
            byte[] blockNumberBytes = new byte[8];
            crc = Crc32Algorithm.Append(crc, genesisHash.Bytes);
            for (int i = 0; i < transitionBlocks.Length; i++)
            {
                if (transitionBlocks[i] > headNumber)
                {
                    break;
                }

                BinaryPrimitives.WriteUInt64BigEndian(blockNumberBytes, (ulong) transitionBlocks[i]);
                crc = Crc32Algorithm.Append(crc, blockNumberBytes);
            }

            byte[] forkHash = new byte[4];
            BinaryPrimitives.TryWriteUInt32BigEndian(forkHash, crc);
            return forkHash;
        }

        public static ForkId CalculateForkId(ISpecProvider specProvider, long headNumber, Keccak genesisHash)
        {
            byte[] forkHash = CalculateForkHash(specProvider, headNumber, genesisHash);
            long next = 0;
            for (int i = 0; i < specProvider.TransitionBlocks.Length; i++)
            {
                long transition = specProvider.TransitionBlocks[i];
                if (transition > headNumber)
                {
                    next = transition;
                    break;
                }
            }

            return new ForkId(forkHash, next);
        }
    }
}
Why this const? Can we name this const better?