diff --git a/crates/anvil/src/eth/backend/fork.rs b/crates/anvil/src/eth/backend/fork.rs index 423173471db65..09871d32c0120 100644 --- a/crates/anvil/src/eth/backend/fork.rs +++ b/crates/anvil/src/eth/backend/fork.rs @@ -383,8 +383,7 @@ impl ClientFork { return self.transaction_by_hash(*tx_hash).await; } } - // TODO(evalir): Is it possible to reach this case? Should we support it - BlockTransactions::Uncle => panic!("Uncles not supported"), + BlockTransactions::Uncle => {} } } Ok(None) @@ -408,8 +407,7 @@ impl ClientFork { return self.transaction_by_hash(*tx_hash).await; } } - // TODO(evalir): Is it possible to reach this case? Should we support it - BlockTransactions::Uncle => panic!("Uncles not supported"), + BlockTransactions::Uncle => {} } } Ok(None)