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 - account is null (base mainnet archive) #8152

Open
tmeinlschmidt opened this issue Feb 3, 2025 · 0 comments

Comments

@tmeinlschmidt
Copy link

Hi,

trying to sync two nodes (from scratch, as I didn't find out any snapshot available), the same config, both ended up in an infinite loop and stopped syncing.

03 Feb 00:42:21 | Received New Block:  25876997 (0xbfa104...2b8653), Hex: 0x00000000fa00000006
03 Feb 00:42:21 | Syncing... Inserting block 25876997 (0xbfa104...2b8653).
03 Feb 00:42:21 | Received ForkChoice: 0xbfa104...2b8653, Safe: 0x000000...000000, Finalized: 0x000000...000000
03 Feb 00:42:21 | Processing 16767667 blocks, Request: ForkChoice: 0xbfa104...2b8653, Safe: 0x000000...000000, Finalized: 0x000000...000000
03 Feb 00:42:22 | Processing part of a long blocks branch 0/7804. Block: 9101527 (0x294cd3...167311)
03 Feb 00:42:22 | Encountered exception System.InvalidOperationException: Account 0x13b0d85ccb8bf860b6b79af3029fca081ae9bef2 is null when updating code hash
   at Nethermind.State.StateProvider.InsertCode(Address address, ValueHash256& codeHash, ReadOnlyMemory`1 code, IReleaseSpec spec, Boolean isGenesis) in /src/Nethermind/Nethermind.State/StateProvider.cs:line 154
   at Nethermind.State.WorldStateExtensions.InsertCode(IWorldState worldState, Address address, ReadOnlyMemory`1 code, IReleaseSpec spec, Boolean isGenesis) in /src/Nethermind/Nethermind.State/IWorldStateExtensions.cs:line 17
   at Nethermind.Consensus.Processing.BlockProcessor.ProcessOne(Block suggestedBlock, ProcessingOptions options, IBlockTracer blockTracer) in /src/Nethermind/Nethermind.Consensus/Processing/BlockProcessor.cs:line 255
   at Nethermind.Consensus.Processing.BlockProcessor.Process(Hash256 newBranchStateRoot, List`1 suggestedBlocks, ProcessingOptions options, IBlockTracer blockTracer) in /src/Nethermind/Nethermind.Consensus/Processing/BlockProcessor.cs:line 139 while processing blocks.
03 Feb 00:42:22 | Processing loop threw an exception. Block: 9109330 (0x461f7f...ffac89), Exception: System.InvalidOperationException: Account 0x13b0d85ccb8bf860b6b79af3029fca081ae9bef2 is null when updating code hash
   at Nethermind.State.StateProvider.InsertCode(Address address, ValueHash256& codeHash, ReadOnlyMemory`1 code, IReleaseSpec spec, Boolean isGenesis) in /src/Nethermind/Nethermind.State/StateProvider.cs:line 154
   at Nethermind.State.WorldStateExtensions.InsertCode(IWorldState worldState, Address address, ReadOnlyMemory`1 code, IReleaseSpec spec, Boolean isGenesis) in /src/Nethermind/Nethermind.State/IWorldStateExtensions.cs:line 17
   at Nethermind.Consensus.Processing.BlockProcessor.ProcessOne(Block suggestedBlock, ProcessingOptions options, IBlockTracer blockTracer) in /src/Nethermind/Nethermind.Consensus/Processing/BlockProcessor.cs:line 255
   at Nethermind.Consensus.Processing.BlockProcessor.Process(Hash256 newBranchStateRoot, List`1 suggestedBlocks, ProcessingOptions options, IBlockTracer blockTracer) in /src/Nethermind/Nethermind.Consensus/Processing/BlockProcessor.cs:line 139
   at Nethermind.Consensus.Processing.BlockchainProcessor.ProcessBranch(ProcessingBranch& processingBranch, ProcessingOptions options, IBlockTracer tracer, String& error)
   at Nethermind.Consensus.Processing.BlockchainProcessor.Process(Block suggestedBlock, ProcessingOptions options, IBlockTracer tracer, String& error) in /src/Nethermind/Nethermind.Consensus/Processing/BlockchainProcessor.cs:line 396
   at Nethermind.Consensus.Processing.BlockchainProcessor.RunProcessingLoop() in /src/Nethermind/Nethermind.Consensus/Processing/BlockchainProcessor.cs:line 319

config:

      -c base-mainnet_archive
      --jsonrpc-jwtsecretfile /data/jwt.txt
      --data-dir /data
      --jsonrpc-enabled true
      --jsonrpc-enabledmodules Eth,Subscribe,Debug,Trace,TxPool,Web3,Personal,Proof,Net,Parity,Health,Rpc
      --jsonrpc-port <port>
      --jsonrpc-corsorigins *
      --jsonrpc-maxbatchsize 1024
      --jsonrpc-engineport <engine_port>
      --network-enableupnp true
      --network-maxoutgoingconnectpersec 50
      --network-processingthreadcount 32
      --sync-tunedbmode HeavyWrite
      --init-memoryhint 6000000000
      --metrics-enabled true

running op-node (op-node:v1.10.2), nethermind 1.30.3

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