Skip to content

Commit 7e0c53c

Browse files
fix memory expansion to support up to uint.max instead of int.max (#8030)
1 parent 95a6887 commit 7e0c53c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nethermind/Nethermind.Evm/EvmPooledMemory.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public static long Div32Ceiling(in UInt256 length, out bool outOfGas)
300300
result++;
301301
}
302302

303-
if (result > int.MaxValue)
303+
if (result > uint.MaxValue)
304304
{
305305
outOfGas = true;
306306
return 0;

0 commit comments

Comments
 (0)