From f1b47891ec78ffaf720f4fbd9726d104997e016e Mon Sep 17 00:00:00 2001 From: Yash Atreya <44857776+yash-atreya@users.noreply.github.com> Date: Fri, 19 Apr 2024 16:43:42 -0700 Subject: [PATCH] Temp get_uncle fix (#589) * possible fix * temp-fix: rollback to U64 * fix: convert in fn --- crates/provider/src/provider.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/provider/src/provider.rs b/crates/provider/src/provider.rs index 23cfbec5bca..62d7e747706 100644 --- a/crates/provider/src/provider.rs +++ b/crates/provider/src/provider.rs @@ -814,6 +814,7 @@ pub trait Provider: /// Gets an uncle block through the tag [BlockId] and index [u64]. async fn get_uncle(&self, tag: BlockId, idx: u64) -> TransportResult> { + let idx = U64::from(idx); match tag { BlockId::Hash(hash) => { self.client()