Skip to content

Commit

Permalink
fixup after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkuo committed Jan 7, 2025
1 parent 72e6743 commit 5d6f78d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 1 addition & 6 deletions crates/sui-indexer-alt-framework/src/ingestion/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,7 @@ impl IngestionClient {
RpcIngestionClient::new(url, basic_auth)
.map_err(|e| IngestionError::RpcClientError(e))?,
);
let latest_ingested_checkpoint = Arc::new(AtomicU64::new(0));
Ok(IngestionClient {
client,
metrics,
latest_ingested_checkpoint,
})
Ok(Self::new_impl(client, metrics))
}

/// Fetch checkpoint data by sequence number.
Expand Down
4 changes: 3 additions & 1 deletion crates/sui-indexer-alt-framework/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,11 @@ impl Indexer {
ClientArgs {
remote_store_url: None,
local_ingestion_path: Some(tempdir().unwrap().into_path()),
rpc_api_url: None,
basic_auth: None,
},
IngestionConfig::default(),
&MIGRATIONS,
Some(&MIGRATIONS),
CancellationToken::new(),
)
.await
Expand Down

0 comments on commit 5d6f78d

Please sign in to comment.