mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-16 20:39:10 +00:00
Mallory - Single commit
This commit is contained in:
@@ -60,7 +60,7 @@ impl<E: EthSpec> Case for ForkTest<E> {
|
||||
fn result(&self, _case_index: usize, fork_name: ForkName) -> Result<(), Error> {
|
||||
let mut result_state = self.pre.clone();
|
||||
let mut expected = Some(self.post.clone());
|
||||
let spec = &E::default_spec();
|
||||
let spec = &fork_name.make_genesis_spec(E::default_spec());
|
||||
|
||||
let mut result = match fork_name {
|
||||
ForkName::Base => panic!("phase0 not supported"),
|
||||
|
||||
@@ -424,7 +424,7 @@ pub async fn verify_full_blob_production_up_to<E: EthSpec>(
|
||||
// the `verify_full_block_production_up_to` function.
|
||||
if block.is_some() {
|
||||
remote_node
|
||||
.get_blobs::<E>(BlockId::Slot(Slot::new(slot)), None, &E::default_spec())
|
||||
.get_blobs::<E>(BlockId::Slot(Slot::new(slot)), None)
|
||||
.await
|
||||
.map_err(|e| format!("Failed to get blobs at slot {slot:?}: {e:?}"))?
|
||||
.ok_or_else(|| format!("No blobs available at slot {slot:?}"))?;
|
||||
|
||||
Reference in New Issue
Block a user