mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 10:22:38 +00:00
Reduce size of futures in HTTP API to prevent stack overflows (#5104)
* Box::pin a few big futures * Arc the blocks early in publication * Fix more tests
This commit is contained in:
@@ -250,7 +250,7 @@ impl TestRig {
|
||||
};
|
||||
Self {
|
||||
chain,
|
||||
next_block: Arc::new(block),
|
||||
next_block: block,
|
||||
next_blobs: blob_sidecars,
|
||||
attestations,
|
||||
next_block_attestations,
|
||||
|
||||
Reference in New Issue
Block a user