Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(torii-indexer): add tests for erc tokens #3033

Merged
merged 24 commits into from
Feb 17, 2025
Merged
7 changes: 2 additions & 5 deletions crates/torii/grpc/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -838,11 +838,8 @@ impl DojoWorld {
}

let mut query = sqlx::query_as(&query);
for address in &contract_addresses {
query = query.bind(format!("{:#x}", address));
}
for token_id in &token_ids {
query = query.bind(format!("{:#x}", token_id));
for value in bind_values {
query = query.bind(value);
}

let tokens: Vec<Token> =
Expand Down
Loading
Loading