You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
125805:Jul-30 01:41:19.084[chain] debug: Reload: read state successful persistedKey=0xb796040000000000d572d4cf29fadad5ee3bd7fcfe2d9e8ab762d44d3fb58d36ac06682b36b34a42
125822:Jul-30 01:41:19.084[chain] verbose: Reload: use block state as seed state slot=9623302
125823:Jul-30 01:41:19.084[chain] debug: Reload: found seed state persistedKey=0xb796040000000000d572d4cf29fadad5ee3bd7fcfe2d9e8ab762d44d3fb58d36ac06682b36b34a42, seedSlot=9623302
125824:Jul-30 01:41:20.945[chain] debug: Reload: cached state load successful persistedKey=0xb796040000000000d572d4cf29fadad5ee3bd7fcfe2d9e8ab762d44d3fb58d36ac06682b36b34a42, stateSlot=9623264, stateRoot=0xcdbc3aa5ffa8e44273870bf29cb4686bddcb4448d7b12f715a77d2b8f7d41ce7, seedSlot=9623302
8.6s was for regen state by running through 23 blocks
125825:Jul-30 01:41:20.945[chain] debug: Replaying blocks to get state stateRoot=0x49871dd7b44f68e98c7cb0677a1b25bdac0ab05fe62dada2aa0ccdcb37f7884f, replaySlots=9623287,9623286,9623285,9623284,9623283,9623282,9623281,9623280,9623279,9623278,9623277,9623276,9623275,9623274,9623273,9623272,9623271,9623270,9623269,9623268,9623267,9623266,9623265
126064:Jul-30 01:41:29.532[chain] debug: Replayed blocks to get state stateRoot=0x49871dd7b44f68e98c7cb0677a1b25bdac0ab05fe62dada2aa0ccdcb37f7884f, replaySlots=9623287,9623286,9623285,9623284,9623283,9623282,9623281,9623280,9623279,9623278,9623277,9623276,9623275,9623274,9623273,9623272,9623271,9623270,9623269,9623268,9623267,9623266,9623265
remaining time (~4.1s) was to run through epoch transition because block slot 9623287 and 9623304 stay on different epoch
Describe the bug
Reload state + regen takes ~13s on mainnet
Received gossip block
should be logged before the validation time, it showed 13.2s as validation timeit mean the validation started at ~
01:41:18.658
2s was for reloading state
8.6s was for regen state by running through 23 blocks
remaining time (~4.1s) was to run through epoch transition because block slot 9623287 and 9623304 stay on different epoch
part of #5968
Expected behavior
Received gossip block
toReceived gossip block
andValidated gossip block
Steps to reproduce
Run with minimal config of n-historical state:
'chain.nHistoricalStates: true','chain.maxBlockStates: 1','chain.maxCPStateEpochsInMemory: 0'
Additional context
No response
Operating system
Linux
Lodestar version or commit hash
v1.20.0
The text was updated successfully, but these errors were encountered: