From a27d839b247860fd4a07b96abca436b5d78d3877 Mon Sep 17 00:00:00 2001 From: Lucas Meier Date: Mon, 23 Sep 2024 10:06:32 -0700 Subject: [PATCH] pindexer: supply: fix pindexer main --- crates/bin/pindexer/src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/bin/pindexer/src/main.rs b/crates/bin/pindexer/src/main.rs index 6afc295971..71989105ff 100644 --- a/crates/bin/pindexer/src/main.rs +++ b/crates/bin/pindexer/src/main.rs @@ -1,12 +1,14 @@ use anyhow::Result; use clap::Parser as _; -use pindexer::{supply::Supply, Indexer, Options}; +use pindexer::block::Block; +use pindexer::{Indexer, IndexerExt as _, Options}; #[tokio::main] async fn main() -> Result<()> { Indexer::new(Options::parse()) .with_default_tracing() - .with_index(Supply::new()) + .with_default_penumbra_app_views() + .with_index(Block {}) .run() .await?;