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

Gnosis mainnet : eth_call payload crashes with an error : System.InvalidOperationException #8130

Open
qn-srikanth opened this issue Jan 30, 2025 · 1 comment

Comments

@qn-srikanth
Copy link

qn-srikanth commented Jan 30, 2025

Description
Gnosis mainnet : eth_call crashes with -32603 error on Nethermind v1.30.1

Steps to Reproduce

curl localhost:8545 \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"id":1,"jsonrpc":"2.0","method":"eth_call","params":[{"from":"0x0000000000000000000000000000000000000000","to":"0xb50201558b00496a145fe76f7424749556e326d8","data":"0x35ea6a75000000000000000000000000cb444e90d8198415266c6a2724b7900fb12fc56e"},"latest"]}'

Actual behavior

{"jsonrpc":"2.0","error":{"code":-32603,"message":"Internal error","data":"System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.\n ---\u003E System.InvalidOperationException: Operation is not valid due to the current state of the object.\n   at Nethermind.Consensus.Processing.OverridableTxProcessingEnv.Nethermind.Evm.TransactionProcessing.IOverridableTxProcessorSource.BuildAndOverride(BlockHeader header, Dictionary\u00602 stateOverride) in /src/Nethermind/Nethermind.Consensus/Processing/OverridableTxProcessingEnv.cs:line 56\n   at Nethermind.Facade.BlockchainBridge.Call(BlockHeader header, Transaction tx, Dictionary\u00602 stateOverride, CancellationToken cancellationToken) in /src/Nethermind/Nethermind.Facade/BlockchainBridge.cs:line 153\n   at Nethermind.JsonRpc.Modules.Eth.ExecutorBase\u00603.Execute(TRequest call, BlockParameter blockParameter, Dictionary\u00602 stateOverride) in /src/Nethermind/Nethermind.JsonRpc/Modules/Eth/ExecutorBase.cs:line 31\n   at Nethermind.JsonRpc.Modules.Eth.EthRpcModule.eth_call(TransactionForRpc transactionCall, BlockParameter blockParameter, Dictionary\u00602 stateOverride) in /src/Nethermind/Nethermind.JsonRpc/Modules/Eth/EthRpcModule.cs:line 331\n   at InvokeStub_IEthRpcModule.eth_call(Object, Span\u00601)\n   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\n   --- End of inner exception stack trace ---\n   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\n   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\n   at Nethermind.JsonRpc.JsonRpcService.ExecuteAsync(JsonRpcRequest request, String methodName, ResolvedMethodInfo method, JsonRpcContext context) in /src/Nethermind/Nethermind.JsonRpc/JsonRpcService.cs:line 176"},"id":1}

Expected behavior
Not crash with -32603 internal error

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

  • Operating System: [Linux]
  • Version: [Ubuntu 22.04.5 LTS]
  • Installation Method: [Docker]
  • Consensus Client: [Lighthouse v6.0.1]
  • Execution Client : [Nethermind v1.30.1]
@qn-srikanth
Copy link
Author

Upgraded node to v1.30.3, still reproducible..


Also, a related issue : #7945

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