Skip to content

Commit e9f6a53

Browse files
authored
chore: export flashblocks types (#96)
1 parent 3b257d0 commit e9f6a53

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jemalloc-prof = [
6565

6666
optimism = [
6767
"op-alloy",
68+
"op-alloy-rpc-types-engine",
6869
"reth-optimism-node",
6970
"reth-optimism-chainspec",
7071
"reth-optimism-forks",
@@ -161,7 +162,8 @@ reth-db-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.3" }
161162
revm-database = "9.0"
162163

163164
# Reth-optimism dependencies (optional)
164-
op-alloy = { version = "0.22.0", features = ["full"], optional = true }
165+
op-alloy = { version = "0.22.4", features = ["full"], optional = true }
166+
op-alloy-rpc-types-engine = { version = "0.22.4", default-features = false, optional = true }
165167
op-alloy-flz = "0.13.1"
166168
reth-optimism-node = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.3", optional = true }
167169
reth-optimism-chainspec = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.3", optional = true }

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ pub mod alloy {
188188
#[cfg(feature = "optimism")]
189189
pub mod optimism {
190190
pub use op_alloy::*;
191+
192+
pub mod rpc_types_engine {
193+
pub use op_alloy_rpc_types_engine::*;
194+
}
191195
}
192196
}
193197

0 commit comments

Comments
 (0)