mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 02:12:33 +00:00
remove spec minimal feature gating in tests (#4468)
* remove spec minimal feature gating in tests * do merge transition in overflow cache test
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#![cfg(feature = "spec-minimal")]
|
||||
use std::sync::Arc;
|
||||
|
||||
use crate::service::RequestId;
|
||||
@@ -117,7 +116,7 @@ impl TestRig {
|
||||
};
|
||||
let (bundle, transactions) = execution_layer::test_utils::generate_random_blobs::<E>(
|
||||
num_blobs,
|
||||
&self.harness.chain.kzg.as_ref().unwrap(),
|
||||
self.harness.chain.kzg.as_ref().unwrap(),
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
@@ -148,8 +147,8 @@ impl TestRig {
|
||||
block_parent_root: block.parent_root(),
|
||||
proposer_index: block.message().proposer_index(),
|
||||
blob: blob.clone(),
|
||||
kzg_commitment: kzg_commitment.clone(),
|
||||
kzg_proof: kzg_proof.clone(),
|
||||
kzg_commitment,
|
||||
kzg_proof,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1393,7 +1392,7 @@ mod deneb_only {
|
||||
|
||||
fn blobs_response_was_valid(mut self) -> Self {
|
||||
self.rig.expect_empty_network();
|
||||
if self.blobs.len() > 0 {
|
||||
if !self.blobs.is_empty() {
|
||||
self.rig.expect_block_process(ResponseType::Blob);
|
||||
}
|
||||
self
|
||||
|
||||
Reference in New Issue
Block a user