Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Sep 27, 2024
1 parent 5ccab8c commit 21c9ede
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions crates/services/gas_price_service/src/v0/uninitialized_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,11 @@ where
)?;
}

let UpdaterMetadata::V0(metadata) = metadata_storage
.get_metadata(&latest_block_height.into())?
.ok_or(anyhow::anyhow!(
"Expected metadata to exist for height: {metadata_height}"
))?;

let service =
GasPriceServiceV0::new(l2_block_source, metadata_storage, metadata)?;
let service = GasPriceServiceV0::new(
l2_block_source,
metadata_storage,
get_default_metadata(&self.config, latest_block_height),
)?;
Ok(service)
}
}
Expand Down

0 comments on commit 21c9ede

Please sign in to comment.