Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Commit f142b0e

Browse files
authored
chore(deps): Replace dep alloy-rs/op-alloy-protocol->op-rs/maili-protocol (#890)
1 parent 02f5ba3 commit f142b0e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+258
-244
lines changed

Cargo.lock

Lines changed: 149 additions & 147 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ kona-std-fpvm = { path = "crates/proof-sdk/std-fpvm", version = "0.1.2", default
7272
kona-preimage = { path = "crates/proof-sdk/preimage", version = "0.2.1", default-features = false }
7373
kona-std-fpvm-proc = { path = "crates/proof-sdk/std-fpvm-proc", version = "0.1.2", default-features = false }
7474

75+
# Maili
76+
maili-protocol = { version = "0.1.0", default-features = false }
77+
7578
# Alloy
7679
alloy-rlp = { version = "0.3.10", default-features = false }
7780
alloy-trie = { version = "0.7.8", default-features = false }
@@ -89,11 +92,10 @@ alloy-rpc-types-engine = { version = "0.9.2", default-features = false }
8992
alloy-rpc-types-beacon = { version = "0.9.2", default-features = false }
9093

9194
# OP Alloy
92-
op-alloy-genesis = { version = "0.9.1", default-features = false }
93-
op-alloy-registry = { version = "0.9.1", default-features = false }
94-
op-alloy-protocol = { version = "0.9.1", default-features = false }
95-
op-alloy-consensus = { version = "0.9.1", default-features = false }
96-
op-alloy-rpc-types-engine = { version = "0.9.1", default-features = false }
95+
op-alloy-genesis = { version = "0.9.2", default-features = false }
96+
op-alloy-registry = { version = "0.9.2", default-features = false }
97+
op-alloy-consensus = { version = "0.9.2", default-features = false }
98+
op-alloy-rpc-types-engine = { version = "0.9.2", default-features = false }
9799

98100
# General
99101
lru = "0.12.5"

bin/client/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ kona-proof.workspace = true
1919
kona-std-fpvm.workspace = true
2020
kona-std-fpvm-proc.workspace = true
2121

22+
# Maili
23+
maili-protocol.workspace = true
24+
2225
# Alloy
2326
alloy-rlp.workspace = true
2427
alloy-eips.workspace = true
@@ -27,7 +30,6 @@ alloy-primitives.workspace = true
2730
alloy-rpc-types-engine.workspace = true
2831

2932
# Op Alloy
30-
op-alloy-protocol.workspace = true
3133
op-alloy-consensus.workspace = true
3234
op-alloy-genesis = { workspace = true, features = ["serde"] }
3335
op-alloy-rpc-types-engine = { workspace = true, features = ["serde"] }

bin/host/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ kona-preimage = { workspace = true, features = ["std"] }
2020
kona-proof = { workspace = true, features = ["std"] }
2121
kona-client.workspace = true
2222

23+
# Maili
24+
maili-protocol = { workspace = true, features = ["std", "serde"] }
25+
2326
# Alloy
2427
alloy-rlp.workspace = true
2528
alloy-eips = { workspace = true, features = ["kzg"] }
@@ -34,7 +37,6 @@ alloy-rpc-types-beacon.workspace = true
3437

3538
# Op Alloy
3639
op-alloy-genesis = { workspace = true, features = ["std", "serde"] }
37-
op-alloy-protocol = { workspace = true, features = ["std", "serde"] }
3840
op-alloy-rpc-types-engine = { workspace = true, features = ["serde"] }
3941

4042
# Revm

bin/host/src/blobs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use alloy_eips::eip4844::{BlobTransactionSidecarItem, IndexedBlobHash};
44
use alloy_rpc_types_beacon::sidecar::{BeaconBlobBundle, BlobData};
55
use kona_derive::errors::BlobProviderError;
6-
use op_alloy_protocol::BlockInfo;
6+
use maili_protocol::BlockInfo;
77
use reqwest::Client;
88

99
/// The config spec engine api method.

bin/host/src/fetcher/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use alloy_rpc_types::{
1818
use anyhow::{anyhow, Result};
1919
use kona_preimage::{PreimageKey, PreimageKeyType};
2020
use kona_proof::{Hint, HintType};
21-
use op_alloy_protocol::BlockInfo;
21+
use maili_protocol::BlockInfo;
2222
use op_alloy_rpc_types_engine::OpPayloadAttributes;
2323
use std::sync::Arc;
2424
use tokio::sync::RwLock;

book/src/sdk/pipeline/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ the [`PipelineBuilder`][builder] to instantiate a [`DerivationPipeline`][dp].
9393
```rust,ignore
9494
// Imports
9595
use std::sync::Arc;
96-
use op_alloy_protocol::BlockInfo;
96+
use maili_protocol::BlockInfo;
9797
use op_alloy_genesis::RollupConfig;
9898
use hilo_providers_alloy::*;
9999

book/src/sdk/pipeline/providers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ let pipeline = PipelineBuilder::new()
6767
```rust
6868
use async_trait::async_trait;
6969
use alloy_primitives::Bytes;
70-
use op_alloy_protocol::BlockInfo;
70+
use maili_protocol::BlockInfo;
7171
use kona_derive::traits::DataAvailabilityProvider;
7272
use kona_derive::errors::PipelineResult;
7373

crates/derive/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ homepage.workspace = true
1212
workspace = true
1313

1414
[dependencies]
15+
# Maili
16+
maili-protocol.workspace = true
17+
1518
# Alloy
1619
alloy-eips.workspace = true
1720
alloy-rpc-types-engine.workspace = true
@@ -21,7 +24,6 @@ alloy-primitives = { workspace = true, features = ["rlp", "k256", "map"] }
2124

2225
# Op Alloy
2326
op-alloy-genesis.workspace = true
24-
op-alloy-protocol.workspace = true
2527
op-alloy-rpc-types-engine.workspace = true
2628
op-alloy-consensus = { workspace = true, features = ["k256"] }
2729

@@ -47,10 +49,10 @@ alloy-primitives = { workspace = true, features = ["rlp", "k256", "map", "arbitr
4749
[features]
4850
default = []
4951
serde = [
52+
"maili-protocol/serde",
5053
"alloy-primitives/serde",
5154
"alloy-consensus/serde",
5255
"op-alloy-consensus/serde",
53-
"op-alloy-protocol/serde",
5456
"op-alloy-genesis/serde",
5557
"op-alloy-rpc-types-engine/serde",
5658
]

crates/derive/src/attributes/stateful.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ use alloy_primitives::{address, Address, Bytes, B256};
1313
use alloy_rlp::Encodable;
1414
use alloy_rpc_types_engine::PayloadAttributes;
1515
use async_trait::async_trait;
16+
use maili_protocol::{decode_deposit, L1BlockInfoTx, L2BlockInfo, DEPOSIT_EVENT_ABI_HASH};
1617
use op_alloy_consensus::{Hardfork, Hardforks};
1718
use op_alloy_genesis::RollupConfig;
18-
use op_alloy_protocol::{decode_deposit, L1BlockInfoTx, L2BlockInfo, DEPOSIT_EVENT_ABI_HASH};
1919
use op_alloy_rpc_types_engine::OpPayloadAttributes;
2020

2121
/// The sequencer fee vault address.
@@ -236,8 +236,8 @@ mod tests {
236236
use alloc::vec;
237237
use alloy_consensus::Header;
238238
use alloy_primitives::{Log, LogData, B256, U256, U64};
239+
use maili_protocol::{BlockInfo, DepositError};
239240
use op_alloy_genesis::SystemConfig;
240-
use op_alloy_protocol::{BlockInfo, DepositError};
241241

242242
fn generate_valid_log() -> Log {
243243
let deposit_contract = address!("1111111111111111111111111111111111111111");

0 commit comments

Comments
 (0)