lodestar
lodestar copied to clipboard
[fulu] writeBlockInputToDb performance issue
Describe the bug
writeBlockInputToDb could be up to 750ms and block the main thread
it's likely because we persist DataColumnSidecars objects, we should be able to use the Uint8Array instead because we get data either from gossip or getBlobsV2 https://github.com/ChainSafe/lodestar/blob/194afd5582965f9742cccc7c0254e433498b25b2/packages/beacon-node/src/chain/blocks/writeBlockInputToDb.ts#L63
Expected behavior
no performance issue this is part of #8619
Steps to reproduce
No response
Additional context
No response
Operating system
Linux
Lodestar version or commit hash
v1.36.0
- seems to be resolved by https://github.com/ChainSafe/lodestar/pull/8627