Skip to content

Commit

Permalink
Migrate op-alloy-provider->op-rs/maili-provider
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane committed Jan 8, 2025
1 parent 4ef0cae commit 311e749
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 331 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ alloy-rlp = { version = "0.3", default-features = false }
alloy-sol-types = { version = "0.8.12", default-features = false }
alloy-primitives = { version = "0.8.12", default-features = false }

# Maili
maili-provider = { version = "0.1.0", default-features = false }

# Revm
revm = "19.0.0"

Expand Down
16 changes: 3 additions & 13 deletions crates/provider/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "op-alloy-provider"
description = "Interface with an OP Stack blockchain"
description = "Re-export of op-rs/maili-provider"

version.workspace = true
edition.workspace = true
Expand All @@ -15,15 +15,5 @@ exclude.workspace = true
workspace = true

[dependencies]
# Workspace
op-alloy-rpc-types-engine = { workspace = true, features = ["serde"] }

# Alloy
alloy-network.workspace = true
alloy-provider.workspace = true
alloy-transport.workspace = true
alloy-primitives = { workspace = true, features = ["rlp", "serde"] }
alloy-rpc-types-engine = { workspace = true, features = ["serde"] }

# misc
async-trait.workspace = true
# Maili
maili-provider.workspace = true
4 changes: 3 additions & 1 deletion crates/provider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
<a href="https://alloy-rs.github.io/op-alloy"><img src="https://img.shields.io/badge/Book-854a15?logo=mdBook&labelColor=2a2f35" alt="Book"></a>


Optimism providers to interface with APIs, namely the engine API.
See [maili-provider]

[maili-provider]: https://github.com/op-rs/maili/blob/main/crates/provider/README.md
312 changes: 0 additions & 312 deletions crates/provider/src/ext/engine.rs

This file was deleted.

4 changes: 0 additions & 4 deletions crates/provider/src/ext/mod.rs

This file was deleted.

2 changes: 1 addition & 1 deletion crates/provider/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]

pub mod ext;
pub use maili_provider::*;

0 comments on commit 311e749

Please sign in to comment.