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

chore(torii): remove unused parameters #2360

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions crates/torii/core/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ impl<P: Provider + Sync> Engine<P> {
match self
.process_transaction_with_receipt(
*transaction.transaction_hash(),
// &transaction,
block_number,
block.timestamp,
)
Expand Down Expand Up @@ -326,7 +325,6 @@ impl<P: Provider + Sync> Engine<P> {

self.process_transaction_with_events(
transaction_hash,
// &transaction,
events.as_slice(),
block_number,
blocks[&block_number],
Expand Down Expand Up @@ -367,7 +365,6 @@ impl<P: Provider + Sync> Engine<P> {
async fn process_transaction_with_events(
&mut self,
transaction_hash: Felt,
// transaction: &Transaction,
events: &[&EmittedEvent],
block_number: u64,
block_timestamp: u64,
Expand Down Expand Up @@ -410,7 +407,6 @@ impl<P: Provider + Sync> Engine<P> {
async fn process_transaction_with_receipt(
&mut self,
transaction_hash: Felt,
// transaction: &Transaction,
block_number: u64,
block_timestamp: u64,
) -> Result<bool> {
Expand Down
Loading