Skip to content

Commit

Permalink
Fix generics
Browse files Browse the repository at this point in the history
  • Loading branch information
tbro committed Aug 8, 2024
1 parent 3f1687a commit 9b9dd6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sequencer/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ impl<N: ConnectedNetwork<PubKey>, P: SequencerPersistence, Ver: StaticVersionTyp
stake_table_capacity: u64,
public_api_url: Option<Url>,
_: Ver,
marketplace_config: MarketplaceConfig<SeqTypes, Node<MemoryNetwork<QCVerKey>, NoStorage>>,
marketplace_config: MarketplaceConfig<SeqTypes, Node<N, P>>,
) -> anyhow::Result<Self> {
let config = &network_config.config;
let pub_key = config.my_own_validator_config.public_key;
Expand Down
4 changes: 2 additions & 2 deletions sequencer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ pub async fn init_node<P: PersistenceOptions, Ver: StaticVersionType + 'static>(
bind_version: Ver,
is_da: bool,
identity: Identity,
marketplace_config: MarketplaceConfig<SeqTypes, Node<MemoryNetwork<QCVerKey>, NoStorage>>,
marketplace_config: MarketplaceConfig<SeqTypes, Node<network::Production, P::Persistence>>,
) -> anyhow::Result<SequencerContext<network::Production, P::Persistence, Ver>> {
// Expose git information via status API.
metrics
Expand Down Expand Up @@ -762,7 +762,7 @@ pub mod testing {
stake_table_capacity,
None, // The public API URL
bind_version,
MarketplaceConfig::<SeqTypes, Node<MemoryNetwork<QCVerKey>, NoStorage>> {
MarketplaceConfig::<SeqTypes, Node<network::Memory, P::Persistence>> {
auction_results_provider: Arc::new(SolverAuctionResultsProvider(
Url::from_str("https://some.solver").unwrap(),
)),
Expand Down

0 comments on commit 9b9dd6f

Please sign in to comment.