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 feae877 commit dd9b423Copy full SHA for dd9b423
.gitattributes
@@ -0,0 +1,2 @@
1
+# exclude changes from `git diff`
2
+Cargo.lock binary
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