Skip to content

Commit

Permalink
chore: migrate off alloy-eips (#1789)
Browse files Browse the repository at this point in the history
  • Loading branch information
prestwich authored Sep 20, 2024
1 parent 66adad0 commit 5b6846b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
8 changes: 5 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions crates/specification/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ all = "warn"
primitives = { path = "../primitives", package = "revm-primitives", version = "9.0.1", default-features = false }

# alloy
alloy-eips = { version = "0.3", default-features = false, features = ["k256"] }
alloy-eip2930 = { version = "0.1.0", default-features = false }
alloy-eip7702 = { version = "0.1.0", default-features = false, features = ["k256"] }
alloy-primitives = { version = "0.8.2", default-features = false, features = [
"rlp",
] }
Expand All @@ -44,6 +45,6 @@ serde = { version = "1.0", default-features = false, features = [

[features]
default = ["std"]
std = ["serde?/std"]
serde = ["dep:serde", "alloy-eips/serde", "alloy-primitives/serde"]
std = ["serde?/std", "alloy-eip2930/std", "alloy-eip7702/std", "alloy-primitives/std"]
serde = ["dep:serde", "alloy-eip2930/serde", "alloy-eip7702/serde", "alloy-primitives/serde"]
serde-json = ["serde"]
2 changes: 1 addition & 1 deletion crates/specification/src/eip2930.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub use alloy_eips::eip2930::{AccessList, AccessListItem};
pub use alloy_eip2930::{AccessList, AccessListItem};
2 changes: 1 addition & 1 deletion crates/specification/src/eip7702.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pub use authorization_list::*;
pub use constants::*;
pub use recovered_authorization::*;

pub use alloy_eips::eip7702::{Authorization, SignedAuthorization};
pub use alloy_eip7702::{Authorization, SignedAuthorization};

0 comments on commit 5b6846b

Please sign in to comment.