Skip to content

Commit

Permalink
index raw events by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Sep 19, 2024
1 parent 7b54e38 commit cc6c6b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/torii/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ struct Args {
index_transactions: bool,

Check warning on line 138 in bin/torii/src/main.rs

View check run for this annotation

Codecov / codecov/patch

bin/torii/src/main.rs#L137-L138

Added lines #L137 - L138 were not covered by tests

/// Whether or not to index raw events
#[arg(long, action = ArgAction::Set, default_value_t = false)]
#[arg(long, action = ArgAction::Set, default_value_t = true)]
index_raw_events: bool,

Check warning on line 142 in bin/torii/src/main.rs

View check run for this annotation

Codecov / codecov/patch

bin/torii/src/main.rs#L141-L142

Added lines #L141 - L142 were not covered by tests
}

Expand Down Expand Up @@ -211,7 +211,7 @@ async fn main() -> anyhow::Result<()> {
flags.insert(IndexingFlags::RAW_EVENTS);
}

let mut engine = Engine::new(
let mut engine: Engine<Arc<JsonRpcClient<HttpTransport>>> = Engine::new(

Check warning on line 214 in bin/torii/src/main.rs

View check run for this annotation

Codecov / codecov/patch

bin/torii/src/main.rs#L206-L214

Added lines #L206 - L214 were not covered by tests
world,
db.clone(),
provider.clone(),
Expand Down

0 comments on commit cc6c6b3

Please sign in to comment.