From 5645659d593eb9dbb92629358cea350d57cfad2e Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Tue, 8 Jul 2025 11:24:56 +0200 Subject: [PATCH] chore: bump alloy (#17275) --- Cargo.lock | 104 +++++++++++++-------------- Cargo.toml | 54 +++++++------- crates/rpc/rpc-eth-api/src/bundle.rs | 6 +- 3 files changed, 82 insertions(+), 82 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0857be0bad..9ae8c5d081 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -112,9 +112,9 @@ dependencies = [ [[package]] name = "alloy-consensus" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9c6ad411efe0f49e0e99b9c7d8749a1eb55f6dbf74a1bc6953ab285b02c4f67" +checksum = "06b31d7560fdebcf24e21fcba9ed316c2fdf2854b2ca652a24741bf8192cd40a" dependencies = [ "alloy-eips", "alloy-primitives", @@ -153,9 +153,9 @@ dependencies = [ [[package]] name = "alloy-contract" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "977b97d271159578afcb26e39e1ca5ce1a7f937697793d7d571b0166dd8b8225" +checksum = "5efc90130119c22079b468c30eab6feda1ab4981c3ea88ed8e12dc155cc26ea1" dependencies = [ "alloy-consensus", "alloy-dyn-abi", @@ -236,9 +236,9 @@ dependencies = [ [[package]] name = "alloy-eips" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "749b8449e4daf7359bdf1dabdba6ce424ff8b1bdc23bdb795661b2e991a08d87" +checksum = "fe854e4051afb5b47931b78ba7b5af1952d06e903637430e98c8321192d29eca" dependencies = [ "alloy-eip2124", "alloy-eip2930", @@ -279,9 +279,9 @@ dependencies = [ [[package]] name = "alloy-genesis" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fcbae2107f3f2df2b02bb7d9e81e8aa730ae371ca9dd7fd0c81c3d0cb78a452" +checksum = "38cc4c7363f48a2b61de395d9b2df52280e303a5af45a22ed33cf27cd30d7975" dependencies = [ "alloy-eips", "alloy-primitives", @@ -319,9 +319,9 @@ dependencies = [ [[package]] name = "alloy-json-rpc" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc30b0e20fcd0843834ecad2a716661c7b9d5aca2486f8e96b93d5246eb83e06" +checksum = "7b2c0cb72ef87173b9d78cd29be898820c44498ce60a7d5de82b577c8c002bb8" dependencies = [ "alloy-primitives", "alloy-sol-types", @@ -334,9 +334,9 @@ dependencies = [ [[package]] name = "alloy-network" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaeb681024cf71f5ca14f3d812c0a8d8b49f13f7124713538e66d74d3bfe6aff" +checksum = "4965cff485617f5c2f4016a2e48503b735fb6ec3845ba86c68fdf338da9e85e7" dependencies = [ "alloy-consensus", "alloy-consensus-any", @@ -433,9 +433,9 @@ dependencies = [ [[package]] name = "alloy-provider" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abc164acf8c41c756e76c7aea3be8f0fb03f8a3ef90a33e3ddcea5d1614d8779" +checksum = "956116526887a732fb5823648544ae56c78a38cf56d4e1c2c076d7432a90674c" dependencies = [ "alloy-chains", "alloy-consensus", @@ -477,9 +477,9 @@ dependencies = [ [[package]] name = "alloy-pubsub" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "670d155c3e35bcaa252ca706a2757a456c56aa71b80ad1539d07d49b86304e78" +checksum = "b6b19131a9cbf17486ef7fa37663f8c3631c3fa606aec3d77733042066439d68" dependencies = [ "alloy-json-rpc", "alloy-primitives", @@ -520,9 +520,9 @@ dependencies = [ [[package]] name = "alloy-rpc-client" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03c44d31bcb9afad460915fe1fba004a2af5a07a3376c307b9bdfeec3678c209" +checksum = "5699f859f61936425d753c0709b8049ec7d83988ea4f0793526885f63d8d863b" dependencies = [ "alloy-json-rpc", "alloy-primitives", @@ -548,9 +548,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ba2cf3d3c6ece87f1c6bb88324a997f28cf0ad7e98d5e0b6fa91c4003c30916" +checksum = "cca073dd05362d7a66241468862a18d95255f5eb7c28a9d83b458c8216b751bd" dependencies = [ "alloy-primitives", "alloy-rpc-types-engine", @@ -561,9 +561,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-admin" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4ce874dde17cc749f1aa8883e0c1431ddda6ba6dd9c9eb9b31d1fb0a6023830" +checksum = "74e7c6f85d9b38302ca0051420cb687d035f75cc1ff09cdf4f98991ff211fb9f" dependencies = [ "alloy-genesis", "alloy-primitives", @@ -573,9 +573,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-anvil" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65e80e2ffa56956a92af375df1422b239fde6552bd222dfeaeb39f07949060fa" +checksum = "a6425892f9addc08b0c687878feb8e4a61a89e085ffdf52865fd44fa1d54f84f" dependencies = [ "alloy-primitives", "alloy-rpc-types-eth", @@ -596,9 +596,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-beacon" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "438a7a3a5c5d11877787e324dd1ffd9ab82314ca145513ebe8d12257cbfefb5b" +checksum = "30d8751cf34201ceb637974388971e38abbd84f9e10a03103170ac7b1e9f3137" dependencies = [ "alloy-eips", "alloy-primitives", @@ -614,9 +614,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-debug" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f53a2a78b44582e0742ab96d5782842d9b90cebf6ef6ccd8be864ae246fdd0f" +checksum = "2acde603d444a8f6f50bb79e1296602e8c0bf193b2fa9af0afe0287e8aaf87df" dependencies = [ "alloy-primitives", "serde", @@ -624,9 +624,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-engine" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7041c3fd4dcd7af95e86280944cc33b4492ac2ddbe02f84079f8019742ec2857" +checksum = "24aa5a872715979dbb831ed9a50e983a1d2500c44ded79550000c905a4d5ca8e" dependencies = [ "alloy-consensus", "alloy-eips", @@ -645,9 +645,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-eth" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "391e59f81bacbffc7bddd2da3a26d6eec0e2058e9237c279e9b1052bdf21b49e" +checksum = "fce2ac0e27fe24f27f1a6d0e0088b94c03c67dfcfb0461813a4a44b8197a8105" dependencies = [ "alloy-consensus", "alloy-consensus-any", @@ -666,9 +666,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-mev" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3f327d4cd140eca2c6c27c82c381aba6fa6a32cbb697c146b5607532f82167" +checksum = "6e082bf96fb0eec9efa1d981d6d9ff9880266884aea32ecf2f344c25073e19d5" dependencies = [ "alloy-consensus", "alloy-eips", @@ -681,9 +681,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-trace" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29d96238f37e8a72dcf2cf6bead4c4f91dec1c0720b12be10558406e1633a804" +checksum = "18db18563210da6a1e7e172c9bf0049bc8e00058e31043458ec3cae92c51d1cb" dependencies = [ "alloy-primitives", "alloy-rpc-types-eth", @@ -695,9 +695,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-txpool" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e45d00db47a280d0a6e498b6e63344bccd9485d8860d2e2f06b680200c37ebc2" +checksum = "a5c202af188d9a60000d09309c6a2605cabf49d0b1de0307c3b9f221e8a545a5" dependencies = [ "alloy-primitives", "alloy-rpc-types-eth", @@ -707,9 +707,9 @@ dependencies = [ [[package]] name = "alloy-serde" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ea08bc854235d4dff08fd57df8033285c11b8d7548b20c6da218194e7e6035f" +checksum = "1ad318c341481a5f5e50d69d830853873d8b5e8d2b73ea2c0da69cf78537c970" dependencies = [ "alloy-primitives", "arbitrary", @@ -719,9 +719,9 @@ dependencies = [ [[package]] name = "alloy-signer" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcb3759f85ef5f010a874d9ebd5ee6ce01cac65211510863124e0ebac6552db0" +checksum = "a758b004483b906d622f607d27e1bc0923246a092adc475069b5509ab83c8148" dependencies = [ "alloy-primitives", "async-trait", @@ -734,9 +734,9 @@ dependencies = [ [[package]] name = "alloy-signer-local" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14d95902d29e1290809e1c967a1e974145b44b78f6e3e12fc07a60c1225e3df0" +checksum = "51d44ff6b720feb3fc17763f5d6cd90e57b05400acd2a5083a7d7020e351e5bb" dependencies = [ "alloy-consensus", "alloy-network", @@ -822,9 +822,9 @@ dependencies = [ [[package]] name = "alloy-transport" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcdf4b7fc58ebb2605b2fc5a33dae5cf15527ea70476978351cc0db1c596ea93" +checksum = "3e551a125a5a96377ee0befc63db27b68078873d316c65b74587f14704dac630" dependencies = [ "alloy-json-rpc", "alloy-primitives", @@ -845,9 +845,9 @@ dependencies = [ [[package]] name = "alloy-transport-http" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c4b0f3a9c28bcd3761504d9eb3578838d6d115c8959fc1ea05f59a3a8f691af" +checksum = "8640f66b33f0d85df0fcb0528739fb5d424f691a7c58963395b2417a68274703" dependencies = [ "alloy-json-rpc", "alloy-transport", @@ -860,9 +860,9 @@ dependencies = [ [[package]] name = "alloy-transport-ipc" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "758edb7c266374374e001c50fb1ea89cb5ed48d47ffbf297599f2a557804dd3b" +checksum = "d88ab7ac8a7aac07313bdeabbcd70818e6f675e4a9f101a3056d15aeb15be279" dependencies = [ "alloy-json-rpc", "alloy-pubsub", @@ -880,9 +880,9 @@ dependencies = [ [[package]] name = "alloy-transport-ws" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5596b913d1299ee37a9c1bb5118b2639bf253dc1088957bdf2073ae63a6fdfa" +checksum = "972664516ff27c90b156a7df9870d813b85b948d5063d3a1e9093109810b77b7" dependencies = [ "alloy-pubsub", "alloy-transport", diff --git a/Cargo.toml b/Cargo.toml index 67ba12f33b..348fcef66c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -476,33 +476,33 @@ alloy-trie = { version = "0.9.0", default-features = false } alloy-hardforks = "0.2.7" -alloy-consensus = { version = "1.0.17", default-features = false } -alloy-contract = { version = "1.0.17", default-features = false } -alloy-eips = { version = "1.0.17", default-features = false } -alloy-genesis = { version = "1.0.17", default-features = false } -alloy-json-rpc = { version = "1.0.17", default-features = false } -alloy-network = { version = "1.0.17", default-features = false } -alloy-network-primitives = { version = "1.0.17", default-features = false } -alloy-provider = { version = "1.0.17", features = ["reqwest"], default-features = false } -alloy-pubsub = { version = "1.0.17", default-features = false } -alloy-rpc-client = { version = "1.0.17", default-features = false } -alloy-rpc-types = { version = "1.0.17", features = ["eth"], default-features = false } -alloy-rpc-types-admin = { version = "1.0.17", default-features = false } -alloy-rpc-types-anvil = { version = "1.0.17", default-features = false } -alloy-rpc-types-beacon = { version = "1.0.17", default-features = false } -alloy-rpc-types-debug = { version = "1.0.17", default-features = false } -alloy-rpc-types-engine = { version = "1.0.17", default-features = false } -alloy-rpc-types-eth = { version = "1.0.17", default-features = false } -alloy-rpc-types-mev = { version = "1.0.17", default-features = false } -alloy-rpc-types-trace = { version = "1.0.17", default-features = false } -alloy-rpc-types-txpool = { version = "1.0.17", default-features = false } -alloy-serde = { version = "1.0.17", default-features = false } -alloy-signer = { version = "1.0.17", default-features = false } -alloy-signer-local = { version = "1.0.17", default-features = false } -alloy-transport = { version = "1.0.17" } -alloy-transport-http = { version = "1.0.17", features = ["reqwest-rustls-tls"], default-features = false } -alloy-transport-ipc = { version = "1.0.17", default-features = false } -alloy-transport-ws = { version = "1.0.17", default-features = false } +alloy-consensus = { version = "1.0.18", default-features = false } +alloy-contract = { version = "1.0.18", default-features = false } +alloy-eips = { version = "1.0.18", default-features = false } +alloy-genesis = { version = "1.0.18", default-features = false } +alloy-json-rpc = { version = "1.0.18", default-features = false } +alloy-network = { version = "1.0.18", default-features = false } +alloy-network-primitives = { version = "1.0.18", default-features = false } +alloy-provider = { version = "1.0.18", features = ["reqwest"], default-features = false } +alloy-pubsub = { version = "1.0.18", default-features = false } +alloy-rpc-client = { version = "1.0.18", default-features = false } +alloy-rpc-types = { version = "1.0.18", features = ["eth"], default-features = false } +alloy-rpc-types-admin = { version = "1.0.18", default-features = false } +alloy-rpc-types-anvil = { version = "1.0.18", default-features = false } +alloy-rpc-types-beacon = { version = "1.0.18", default-features = false } +alloy-rpc-types-debug = { version = "1.0.18", default-features = false } +alloy-rpc-types-engine = { version = "1.0.18", default-features = false } +alloy-rpc-types-eth = { version = "1.0.18", default-features = false } +alloy-rpc-types-mev = { version = "1.0.18", default-features = false } +alloy-rpc-types-trace = { version = "1.0.18", default-features = false } +alloy-rpc-types-txpool = { version = "1.0.18", default-features = false } +alloy-serde = { version = "1.0.18", default-features = false } +alloy-signer = { version = "1.0.18", default-features = false } +alloy-signer-local = { version = "1.0.18", default-features = false } +alloy-transport = { version = "1.0.18" } +alloy-transport-http = { version = "1.0.18", features = ["reqwest-rustls-tls"], default-features = false } +alloy-transport-ipc = { version = "1.0.18", default-features = false } +alloy-transport-ws = { version = "1.0.18", default-features = false } # op alloy-op-evm = { version = "0.14", default-features = false } diff --git a/crates/rpc/rpc-eth-api/src/bundle.rs b/crates/rpc/rpc-eth-api/src/bundle.rs index 1197d6afe5..79e64fae02 100644 --- a/crates/rpc/rpc-eth-api/src/bundle.rs +++ b/crates/rpc/rpc-eth-api/src/bundle.rs @@ -4,8 +4,8 @@ use alloy_primitives::{Bytes, B256}; use alloy_rpc_types_mev::{ - CancelBundleRequest, CancelPrivateTransactionRequest, EthBundleHash, EthCallBundle, - EthCallBundleResponse, EthSendBundle, PrivateTransactionRequest, + CancelPrivateTransactionRequest, EthBundleHash, EthCallBundle, EthCallBundleResponse, + EthCancelBundle, EthSendBundle, PrivateTransactionRequest, }; use jsonrpsee::proc_macros::rpc; @@ -43,7 +43,7 @@ pub trait EthBundleApi { /// `eth_cancelBundle` is used to prevent a submitted bundle from being included on-chain. See [bundle cancellations](https://docs.flashbots.net/flashbots-auction/advanced/bundle-cancellations) for more information. #[method(name = "cancelBundle")] - async fn cancel_bundle(&self, request: CancelBundleRequest) -> jsonrpsee::core::RpcResult<()>; + async fn cancel_bundle(&self, request: EthCancelBundle) -> jsonrpsee::core::RpcResult<()>; /// `eth_sendPrivateTransaction` is used to send a single transaction to Flashbots. Flashbots will attempt to build a block including the transaction for the next 25 blocks. See [Private Transactions](https://docs.flashbots.net/flashbots-protect/additional-documentation/eth-sendPrivateTransaction) for more info. #[method(name = "sendPrivateTransaction")]