diff --git a/Cargo.toml b/Cargo.toml index 2b01ab1..87309d7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,10 +26,10 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] alloy-primitives = { version = "0.8.5", features = ["map"] } -alloy-provider = { version = "0.3", default-features = false } -alloy-rpc-types = { version = "0.3", features = ["eth"] } -alloy-serde = { version = "0.3", default-features = false } -alloy-transport = { version = "0.3", default-features = false } +alloy-provider = { version = "0.4", default-features = false } +alloy-rpc-types = { version = "0.4", features = ["eth"] } +alloy-serde = { version = "0.4", default-features = false } +alloy-transport = { version = "0.4", default-features = false } eyre = "0.6" futures = "0.3" @@ -51,5 +51,5 @@ tracing = "0.1" url = "2" [dev-dependencies] -alloy-rpc-client = "0.3" -alloy-transport-http = "0.3" +alloy-rpc-client = "0.4" +alloy-transport-http = "0.4" diff --git a/src/cache.rs b/src/cache.rs index f87846b..6d7998c 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -157,7 +157,7 @@ impl BlockchainDbMeta { gas_limit: U256::from(block.header.gas_limit()), prevrandao: block.header.mix_hash(), blob_excess_gas_and_price: Some(BlobExcessGasAndPrice::new( - block.header.excess_blob_gas.map(|gas| gas as u64).unwrap_or_default(), + block.header.excess_blob_gas.unwrap_or_default(), )), };