64c156c0c1
## Issue Addressed Addresses #4778, and potentially fixes the flaky deneb builder test `builder_works_post_deneb`. The [deneb builder test](c5c84f1213/beacon_node/http_api/tests/tests.rs (L5371)
) has been quite flaky on our CI (`release-tests`) since it was introduced. I'm guessing that it might be timing out on the builder `get_header` call (1 second), and therefore the local payload is used, while the test expects builder payload to be used. On my machine the [`get_header` ](c5c84f1213/beacon_node/execution_layer/src/test_utils/mock_builder.rs (L367)
) call takes about 550ms, which could easily go over 1s on slower environments (our windows CI runner is much slower than the ubuntu one). I did a profile on the test and it showed that `blob_to_kzg_commiment` and `compute_kzg_proof` was taking a large chunk of time, so perhaps pre-generating the blobs could help stablise this test. ## Proposed Changes Pre-generate blobs bundle for Mainnet and Minimal presets. Before the change `get_header` took about **550ms**, and it's now reduced to **50-55ms** after the change. If timeout was indeed the cause of the flaky test, this fix should stablise it. This also brings the flaky `builder_works_post_deneb` test time from 50s to 10s. (8s if we only use a single blob)
54 lines
1.6 KiB
TOML
54 lines
1.6 KiB
TOML
[package]
|
|
name = "execution_layer"
|
|
version = "0.1.0"
|
|
edition = { workspace = true }
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
types = { workspace = true }
|
|
tokio = { workspace = true }
|
|
async-trait = "0.1.51"
|
|
slog = { workspace = true }
|
|
futures = { workspace = true }
|
|
sensitive_url = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
ethereum_serde_utils = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde = { workspace = true }
|
|
warp = { workspace = true }
|
|
jsonwebtoken = "8"
|
|
environment = { workspace = true }
|
|
bytes = { workspace = true }
|
|
task_executor = { workspace = true }
|
|
hex = { workspace = true }
|
|
ethereum_ssz = { workspace = true }
|
|
ssz_types = { workspace = true }
|
|
eth2 = { workspace = true }
|
|
kzg = { workspace = true }
|
|
state_processing = { workspace = true }
|
|
superstruct = { workspace = true }
|
|
lru = { workspace = true }
|
|
exit-future = { workspace = true }
|
|
tree_hash = { workspace = true }
|
|
tree_hash_derive = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
slot_clock = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
rand = { workspace = true }
|
|
zeroize = { workspace = true }
|
|
lighthouse_metrics = { workspace = true }
|
|
lazy_static = { workspace = true }
|
|
ethers-core = { workspace = true }
|
|
builder_client = { path = "../builder_client" }
|
|
fork_choice = { workspace = true }
|
|
tokio-stream = { workspace = true }
|
|
strum = { workspace = true }
|
|
keccak-hash = "0.10.0"
|
|
hash256-std-hasher = "0.15.2"
|
|
triehash = "0.8.4"
|
|
hash-db = "0.15.2"
|
|
pretty_reqwest_error = { workspace = true }
|
|
arc-swap = "1.6.0"
|
|
eth2_network_config = { workspace = true }
|