From 040b9a1a5ae14297b4d22a058b51f25a6eeba833 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Mon, 30 Sep 2024 12:51:57 +0200 Subject: [PATCH] chore: exports --- Cargo.toml | 27 ++++++++++++++------------- crates/protocol/src/lib.rs | 2 +- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5e999664..ec355be0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,19 +34,6 @@ redundant-clone = "warn" all-features = true rustdoc-args = ["--cfg", "docsrs"] -[patch.crates-io] -alloy-consensus = { git = "https://github.com/alloy-rs/alloy", branch = "main" } -alloy-network = { git = "https://github.com/alloy-rs/alloy", branch = "main" } -alloy-network-primitives = { git = "https://github.com/alloy-rs/alloy", branch = "main" } -alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", branch = "main" } -alloy-rpc-types-eth = { git = "https://github.com/alloy-rs/alloy", branch = "main" } -alloy-rpc-types-engine = { git = "https://github.com/alloy-rs/alloy", branch = "main" } -alloy-eips = { git = "https://github.com/alloy-rs/alloy", branch = "main" } -alloy-serde = { git = "https://github.com/alloy-rs/alloy", branch = "main" } -alloy-signer = { git = "https://github.com/alloy-rs/alloy", branch = "main" } -alloy-provider = { git = "https://github.com/alloy-rs/alloy", branch = "main" } -alloy-transport = { git = "https://github.com/alloy-rs/alloy", branch = "main" } - [workspace.dependencies] # Alloy op-alloy-rpc-jsonrpsee = { version = "0.2.12", path = "crates/rpc-jsonrpsee" } @@ -108,3 +95,17 @@ tokio = "1" ## crypto c-kzg = { version = "1.0", default-features = false } k256 = { version = "0.13", default-features = false, features = ["ecdsa"] } + + +#[patch.crates-io] +#alloy-consensus = { git = "https://github.com/alloy-rs/alloy", branch = "main" } +#alloy-network = { git = "https://github.com/alloy-rs/alloy", branch = "main" } +#alloy-network-primitives = { git = "https://github.com/alloy-rs/alloy", branch = "main" } +#alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", branch = "main" } +#alloy-rpc-types-eth = { git = "https://github.com/alloy-rs/alloy", branch = "main" } +#alloy-rpc-types-engine = { git = "https://github.com/alloy-rs/alloy", branch = "main" } +#alloy-eips = { git = "https://github.com/alloy-rs/alloy", branch = "main" } +#alloy-serde = { git = "https://github.com/alloy-rs/alloy", branch = "main" } +#alloy-signer = { git = "https://github.com/alloy-rs/alloy", branch = "main" } +#alloy-provider = { git = "https://github.com/alloy-rs/alloy", branch = "main" } +#alloy-transport = { git = "https://github.com/alloy-rs/alloy", branch = "main" } \ No newline at end of file diff --git a/crates/protocol/src/lib.rs b/crates/protocol/src/lib.rs index bf6d106a..b78d9243 100644 --- a/crates/protocol/src/lib.rs +++ b/crates/protocol/src/lib.rs @@ -16,7 +16,7 @@ pub const CHANNEL_ID_LENGTH: usize = 16; pub type ChannelId = [u8; CHANNEL_ID_LENGTH]; mod block; -pub use block::{BlockInfo, L2BlockInfo}; +pub use block::{BlockInfo, FromBlockError, L2BlockInfo}; mod batch_tx; pub use batch_tx::BatchTransaction;