lodestar
lodestar copied to clipboard
[bun] beacon-node crashed with subscribe-all-subnet flag
Describe the bug
it happens quite frequently
I notice external_memory is quite high on both main thread and worker thread at the time, looks like it links to the asyncAggregationWithRandomness() blst napi api
Expected behavior
- beacon-node with subscribe-all-subnets flag does not crash
- stable external_memory
Steps to reproduce
No response
Additional context
No response
Operating system
Linux
Lodestar version or commit hash
unstable
root cause could be due to the performance of asyncAggregateWithRandomness(), see #8524