We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f585686 commit 9e72b68Copy full SHA for 9e72b68
bin/builder.rs
@@ -17,6 +17,14 @@ async fn main() -> eyre::Result<()> {
17
18
builder::config_from_env();
19
20
+ // Pre-load the KZG settings in a separate thread.
21
+ //
22
+ // This takes ~3 seconds, and we want to do it in parallel with the rest of
23
+ // the initialization.
24
+ std::thread::spawn(|| {
25
+ let _settings = alloy::eips::eip4844::env_settings::EnvKzgSettings::default().get();
26
+ });
27
+
28
// Set up env and metrics tasks
29
let (env_task, metrics_task) = tokio::try_join!(EnvTask::new(), MetricsTask::new())?;
30
0 commit comments