NethermindEth / nethermind

A robust execution client for Ethereum node operators.
https://nethermind.io/nethermind-client
GNU General Public License v3.0
1.27k stars 434 forks source link

[Goerli Archive] Precompiled contract (Nethermind.Evm.Precompiles.ModExpPrecompile) execution exception #5626

Open kamilchodola opened 1 year ago

kamilchodola commented 1 year ago

Description During goerli_Archive sync with Pruning.Mode=Hybrid I've noticed, that on two nodes in exactly same moment there is a exception

System.OverflowException: Cannot convert UInt256 value to int.
   at Nethermind.Evm.Precompiles.ModExpPrecompile.GetInputLengths(ReadOnlyMemory`1& inputData) in /src/Nethermind/Nethermind.Evm/Precompiles/ModExpPrecompile.cs:line 94
   at Nethermind.Evm.Precompiles.ModExpPrecompile.Run(ReadOnlyMemory`1& inputData, IReleaseSpec releaseSpec) in /src/Nethermind/Nethermind.Evm/Precompiles/ModExpPrecompile.cs:line 146
   at Nethermind.Evm.VirtualMachine.ExecutePrecompile(EvmState state, IReleaseSpec spec) in /src/Nethermind/Nethermind.Evm/VirtualMachine.cs:line 593

On both nodes (Teku and Lodestar) it happened in exactly same moment (between processed 8613820 and 8613828): image

Desktop (please complete the following information): Please provide the following information regarding your setup:

kamilchodola commented 9 months ago

To be retested @stdevMac can You coordinate with @brbrr to create our own goerli archive node? We can retest that with it and have 24/7 goerli archive.