From 765e5b672e8af3bf9d7ab7019fcd6b69acdd4a61 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 4 Oct 2024 09:17:30 -0400 Subject: [PATCH] chore: bump alloy deps --- Cargo.toml | 19 +++++++++++-------- crates/builder/src/service.rs | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 81c2776..f214000 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,9 @@ [workspace] -members = [ "crates/*" ] +members = ["crates/*"] resolver = "2" [workspace.package] -version = "0.8.0" +version = "0.9.0" edition = "2021" rust-version = "1.76" authors = ["Zenith Contributors"] @@ -12,18 +12,21 @@ repository = "https://github.com/init4tt/zenith" license = "AGPL-3.0" [workspace.dependencies] -alloy-primitives = { version = "0.8", features = ["serde", "tiny-keccak"] } -alloy-sol-types = { version = "0.8", features = ["json"] } +alloy-primitives = { version = "=0.8.5", features = ["serde", "tiny-keccak"] } +alloy-sol-types = { version = "=0.8.5", features = ["json"] } + alloy-rlp = { version = "0.3.4" } -alloy = { version = "=0.3.6", features = ["full", "json-rpc", "signer-aws"] } -alloy-contract = { version = "=0.3.6", features = ["pubsub"] } +alloy = { version = "=0.4.2", features = ["full", "json-rpc", "signer-aws"] } +alloy-contract = { version = "=0.4.2", features = ["pubsub"] } aws-config = "1.1.7" aws-sdk-kms = "1.15.0" -hex = { package = "const-hex", version = "1", default-features = false, features = ["alloc"] } +hex = { package = "const-hex", version = "1", default-features = false, features = [ + "alloc", +] } serde = { version = "1.0.197", features = ["derive"] } tracing = "0.1.40" -zenith-types = { path = "crates/types" } \ No newline at end of file +zenith-types = { path = "crates/types" } diff --git a/crates/builder/src/service.rs b/crates/builder/src/service.rs index 12e9015..95e0fb3 100644 --- a/crates/builder/src/service.rs +++ b/crates/builder/src/service.rs @@ -124,7 +124,7 @@ pub async fn ingest_rpc_handler( return Ok(Json(alloy::rpc::json_rpc::Response { payload: alloy::rpc::json_rpc::ResponsePayload::<(), ()>::Failure(ErrorPayload { code: -6969, - message: "Method not found".to_string(), + message: "Method not found".into(), data: None, }), id,