mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +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:
@@ -632,7 +632,7 @@ pub async fn proposer_boost_re_org_test(
|
||||
panic!("Should not be a blinded block");
|
||||
}
|
||||
};
|
||||
let block_c = harness.sign_beacon_block(unsigned_block_c, &state_b);
|
||||
let block_c = Arc::new(harness.sign_beacon_block(unsigned_block_c, &state_b));
|
||||
|
||||
if should_re_org {
|
||||
// Block C should build on A.
|
||||
|
||||
Reference in New Issue
Block a user