Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.InvalidOperationException: Operation is not valid due to the current state of the object. #7945

Open
mikhail-khalizev opened this issue Dec 20, 2024 · 0 comments

Comments

@mikhail-khalizev
Copy link

Description
eth_call fails with exception.

Steps to Reproduce
Don't have a good deterministic repro here.

Expected behavior
No error on an eth_call.

Desktop (please complete the following information):

  • Operating System: Linux
  • Installation Method: Docker
  • Version: nethermind/nethermind:1.30.1

Additional context
See also #4002

Logs

xdai-1  | 20 Dec 12:41:04 [JsonRpc.JsonRpcService] Error during method execution, request: Id:0x0, eth_call([{"data":"0x<...>dfb8b"]) System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
xdai-1  |  ---> System.InvalidOperationException: Operation is not valid due to the current state of the object.
xdai-1  |    at Nethermind.Consensus.Processing.OverridableTxProcessingEnv.Nethermind.Evm.TransactionProcessing.IOverridableTxProcessorSource.BuildAndOverride(BlockHeader header, Dictionary`2 stateOverride) in /src/Nethermind/Nethermind.Consensus/Processing/OverridableTxProcessingEnv.cs:line 56
xdai-1  |    at Nethermind.Facade.BlockchainBridge.Call(BlockHeader header, Transaction tx, Dictionary`2 stateOverride, CancellationToken cancellationToken) in /src/Nethermind/Nethermind.Facade/BlockchainBridge.cs:line 153
xdai-1  |    at Nethermind.JsonRpc.Modules.Eth.ExecutorBase`3.Execute(TRequest call, BlockParameter blockParameter, Dictionary`2 stateOverride) in /src/Nethermind/Nethermind.JsonRpc/Modules/Eth/ExecutorBase.cs:line 31
xdai-1  |    at Nethermind.JsonRpc.Modules.Eth.EthRpcModule.eth_call(TransactionForRpc transactionCall, BlockParameter blockParameter, Dictionary`2 stateOverride) in /src/Nethermind/Nethermind.JsonRpc/Modules/Eth/EthRpcModule.cs:line 331
xdai-1  |    at InvokeStub_IEthRpcModule.eth_call(Object, Span`1)
xdai-1  |    at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
xdai-1  |    --- End of inner exception stack trace ---
xdai-1  |    at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
xdai-1  |    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
xdai-1  |    at Nethermind.JsonRpc.JsonRpcService.ExecuteAsync(JsonRpcRequest request, String methodName, ResolvedMethodInfo method, JsonRpcContext context) in /src/Nethermind/Nethermind.JsonRpc/JsonRpcService.cs:line 176
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant