hacky fix

This commit is contained in:
Eitan Seri-Levi
2026-02-18 11:28:45 -08:00
parent 1bd941e0df
commit 5ca68ad8b2
2 changed files with 51 additions and 21 deletions

View File

@@ -10,6 +10,7 @@ use std::fmt::Debug;
use std::future::Future;
use std::ops::Deref;
use std::sync::Arc;
use std::thread::sleep;
use std::time::Duration;
use task_executor::TaskExecutor;
use tokio::sync::mpsc;
@@ -621,6 +622,8 @@ impl<S: ValidatorStore + 'static, T: SlotClock + 'static> BlockService<S, T> {
)
.await?;
sleep(Duration::from_secs(4));
// TODO(gloas) we only need to fetch, sign and publish the envelope in the local building case.
// Right now we always default to local building. Once we implement trustless/trusted builder logic
// we should check the bid for index == BUILDER_INDEX_SELF_BUILD