Skip to content

Commit 76754b2

Browse files
akundazjulio4
andauthored
update rblib commit (#55)
* update rblib commit * update deps --------- Co-authored-by: julio4 <30329843+julio4@users.noreply.github.com>
1 parent 0de101c commit 76754b2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ authors = ["Flashbots <info@flashbots.net>"]
1818
exclude = [".github/"]
1919

2020
[workspace.dependencies]
21-
rblib = { git = "https://github.com/flashbots/rblib", rev = "e9f6a539a5d4bb8b3a2cae5f02d8adc05d126c37" }
21+
rblib = { git = "https://github.com/flashbots/rblib", rev = "6911bba2c9d2db67b58eabc52bd62b9aef070d86" }
2222

2323
futures = "0.3"
2424
tokio = "1.46"

src/platform.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use {
22
crate::{bundle::FlashblocksBundle, state::FlashblockNumber},
3-
rblib::{prelude::*, reth::providers::StateProvider},
3+
rblib::prelude::*,
44
serde::{Deserialize, Serialize},
55
std::sync::Arc,
66
};
@@ -48,12 +48,12 @@ impl Platform for Flashblocks {
4848

4949
fn build_payload<P>(
5050
payload: Checkpoint<P>,
51-
provider: &dyn StateProvider,
51+
provider_factory: types::ProviderFactory<P>,
5252
) -> Result<types::BuiltPayload<P>, PayloadBuilderError>
5353
where
5454
P: traits::PlatformExecBounds<Self>,
5555
{
56-
Optimism::build_payload::<P>(payload, provider)
56+
Optimism::build_payload::<P>(payload, provider_factory)
5757
}
5858
}
5959

0 commit comments

Comments
 (0)