Skip to content

Commit

Permalink
fix attesteer build
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Nov 22, 2024
1 parent 744d8f6 commit a4e6b5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions service/src/main_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ fn spawn_worker_for_shard_polling<InitializationHandler>(

#[cfg(feature = "attesteer")]
fn fetch_marblerun_events_every_hour<E>(
api: ParentchainApi,
api: IntegriteeApi,
enclave: Arc<E>,
accountid: AccountId32,
is_development_mode: bool,
Expand Down Expand Up @@ -1044,15 +1044,15 @@ fn fetch_marblerun_events_every_hour<E>(
}
#[cfg(feature = "attesteer")]
fn register_quotes_from_marblerun(
api: &ParentchainApi,
api: &IntegriteeApi,
enclave: Arc<dyn RemoteAttestation>,
accountid: &AccountId32,
is_development_mode: bool,
url: String,
marblerun_base_url: &str,
) {
let enclave = enclave.as_ref();
let events = prometheus_metrics::fetch_marblerun_events(marblerun_base_url)
let events = crate::prometheus_metrics::fetch_marblerun_events(marblerun_base_url)
.map_err(|e| {
info!("Fetching events from Marblerun failed with: {:?}, continuing with 0 events.", e);
})
Expand Down

0 comments on commit a4e6b5d

Please sign in to comment.