From 78489a3117f91ae4604ceab08bf622ffd5c5abee Mon Sep 17 00:00:00 2001 From: James Date: Wed, 6 Aug 2025 14:15:30 -0400 Subject: [PATCH] chore: bump sdk to 0.8.4 --- Cargo.toml | 19 ++++++++++--------- crates/rpc/src/ctx.rs | 8 ++++---- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3e3de80..0f08100 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/*"] resolver = "2" [workspace.package] -version = "0.8.2" +version = "0.8.3" edition = "2024" rust-version = "1.88" authors = ["init4"] @@ -34,19 +34,20 @@ debug = false incremental = false [workspace.dependencies] +signet-blobber = { version = "0.8.0", path = "crates/blobber" } +signet-db = { version = "0.8.0", path = "crates/db" } signet-node-types = { version = "0.8.0", path = "crates/node-types" } signet-rpc = { version = "0.8.0", path = "crates/rpc" } -signet-db = { version = "0.8.0", path = "crates/db" } init4-bin-base = { version = "0.9.0", features = ["alloy"] } -signet-bundle = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.3" } -signet-constants = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.3" } -signet-evm = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.3" } -signet-extract = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.3" } -signet-tx-cache = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.3" } -signet-types = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.3" } -signet-zenith = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.3" } +signet-bundle = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.4" } +signet-constants = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.4" } +signet-evm = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.4" } +signet-extract = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.4" } +signet-tx-cache = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.4" } +signet-types = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.4" } +signet-zenith = { git = "https://github.com/init4tech/signet-sdk", tag = "v0.8.4" } # ajj diff --git a/crates/rpc/src/ctx.rs b/crates/rpc/src/ctx.rs index 71bb5aa..0c80313 100644 --- a/crates/rpc/src/ctx.rs +++ b/crates/rpc/src/ctx.rs @@ -619,10 +619,10 @@ where // need to validate that they are monotonically // increasing and 0 <= p <= 100 // Note: The types used ensure that the percentiles are never < 0 - if let Some(percentiles) = &reward_percentiles { - if percentiles.windows(2).any(|w| w[0] > w[1] || w[0] > 100.) { - return Err(EthApiError::InvalidRewardPercentiles); - } + if let Some(percentiles) = &reward_percentiles + && percentiles.windows(2).any(|w| w[0] > w[1] || w[0] > 100.) + { + return Err(EthApiError::InvalidRewardPercentiles); } // Fetch the headers and ensure we got all of them