Skip to content

Commit

Permalink
fix: taiko features
Browse files Browse the repository at this point in the history
  • Loading branch information
johntaiko committed Jul 3, 2024
1 parent 786c58b commit eb55ad2
Show file tree
Hide file tree
Showing 28 changed files with 1,726 additions and 341 deletions.
85 changes: 48 additions & 37 deletions Cargo.lock

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

13 changes: 13 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ revm = { version = "10.0.0", features = [
"std",
"secp256k1",
"blst",
"taiko",
], default-features = false }
revm-primitives = { version = "5.0.0", features = [
"std",
Expand Down Expand Up @@ -506,3 +507,15 @@ serial_test = "3"
similar-asserts = "1.5.0"
test-fuzz = "5"
iai-callgrind = "0.11"


[patch.crates-io]
revm = { git = "https://github.com/taikoxyz/revm.git", branch = "v37-taiko" }
revm-interpreter = { git = "https://github.com/taikoxyz/revm.git", branch = "v37-taiko" }
revm-precompile = { git = "https://github.com/taikoxyz/revm.git", branch = "v37-taiko" }
revm-primitives = { git = "https://github.com/taikoxyz/revm.git", branch = "v37-taiko" }
c-kzg = { git = "https://github.com/brechtpd/c-kzg-4844", branch = "for-alpha7" }
secp256k1 = { git = "https://github.com/CeciliaZ030/rust-secp256k1", branch = "sp1-patch" }

[patch.'https://github.com/bluealloy/revm.git']
revm = { git = "https://github.com/taikoxyz/revm.git", branch = "v37-taiko" }
18 changes: 10 additions & 8 deletions crates/chainspec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ reth-ethereum-forks.workspace = true
reth-network-peers.workspace = true
reth-trie-common.workspace = true
reth-primitives-traits.workspace = true
revm-primitives = { workspace = true, optional = true }

# ethereum
alloy-chains = { workspace = true, features = ["serde", "rlp"] }
Expand All @@ -28,6 +29,10 @@ alloy-trie.workspace = true
once_cell.workspace = true
serde_json.workspace = true
derive_more.workspace = true
strum = { workspace = true, optional = true }
num_enum = { version = "0.7.2", optional = true }
serde = { workspace = true, features = ["derive"], optional = true }
schemars = { version = "0.8.21", optional = true }

[dev-dependencies]
# eth
Expand All @@ -41,12 +46,9 @@ rand.workspace = true

[features]
default = ["std"]
optimism = [
"reth-ethereum-forks/optimism"
]
taiko = ["dep:strum", "dep:num_enum", "dep:revm-primitives"]
optimism = ["reth-ethereum-forks/optimism"]
std = []
arbitrary = [
"alloy-chains/arbitrary"
]


arbitrary = ["alloy-chains/arbitrary"]
serde = ["dep:serde"]
schema = ["dep:schemars"]
108 changes: 108 additions & 0 deletions crates/chainspec/res/genesis/taiko/askja.json

Large diffs are not rendered by default.

Loading

0 comments on commit eb55ad2

Please sign in to comment.