Skip to content
Merged
Show file tree
Hide file tree
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
19 changes: 10 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions crates/rpc/src/ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading