diff --git a/Cargo.toml b/Cargo.toml index fc56fab045bf..40ba32cd72bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ members = [ "crates/ethereum/payload/", "crates/ethereum/primitives/", "crates/etl/", - "crates/evm/", + "crates/evm/evm", "crates/evm/execution-errors", "crates/evm/execution-types", "crates/exex/exex/", @@ -345,7 +345,7 @@ reth-ethereum-forks = { path = "crates/ethereum-forks", default-features = false reth-ethereum-payload-builder = { path = "crates/ethereum/payload" } reth-ethereum-primitives = { path = "crates/ethereum/primitives", default-features = false } reth-etl = { path = "crates/etl" } -reth-evm = { path = "crates/evm" } +reth-evm = { path = "crates/evm/evm" } reth-evm-ethereum = { path = "crates/ethereum/evm" } reth-optimism-evm = { path = "crates/optimism/evm" } reth-execution-errors = { path = "crates/evm/execution-errors" } diff --git a/crates/evm/Cargo.toml b/crates/evm/evm/Cargo.toml similarity index 100% rename from crates/evm/Cargo.toml rename to crates/evm/evm/Cargo.toml diff --git a/crates/evm/src/builder.rs b/crates/evm/evm/src/builder.rs similarity index 100% rename from crates/evm/src/builder.rs rename to crates/evm/evm/src/builder.rs diff --git a/crates/evm/src/either.rs b/crates/evm/evm/src/either.rs similarity index 100% rename from crates/evm/src/either.rs rename to crates/evm/evm/src/either.rs diff --git a/crates/evm/src/env.rs b/crates/evm/evm/src/env.rs similarity index 100% rename from crates/evm/src/env.rs rename to crates/evm/evm/src/env.rs diff --git a/crates/evm/src/execute.rs b/crates/evm/evm/src/execute.rs similarity index 100% rename from crates/evm/src/execute.rs rename to crates/evm/evm/src/execute.rs diff --git a/crates/evm/src/lib.rs b/crates/evm/evm/src/lib.rs similarity index 100% rename from crates/evm/src/lib.rs rename to crates/evm/evm/src/lib.rs diff --git a/crates/evm/src/metrics.rs b/crates/evm/evm/src/metrics.rs similarity index 100% rename from crates/evm/src/metrics.rs rename to crates/evm/evm/src/metrics.rs diff --git a/crates/evm/src/noop.rs b/crates/evm/evm/src/noop.rs similarity index 100% rename from crates/evm/src/noop.rs rename to crates/evm/evm/src/noop.rs diff --git a/crates/evm/src/state_change.rs b/crates/evm/evm/src/state_change.rs similarity index 100% rename from crates/evm/src/state_change.rs rename to crates/evm/evm/src/state_change.rs diff --git a/crates/evm/src/system_calls/eip2935.rs b/crates/evm/evm/src/system_calls/eip2935.rs similarity index 100% rename from crates/evm/src/system_calls/eip2935.rs rename to crates/evm/evm/src/system_calls/eip2935.rs diff --git a/crates/evm/src/system_calls/eip4788.rs b/crates/evm/evm/src/system_calls/eip4788.rs similarity index 100% rename from crates/evm/src/system_calls/eip4788.rs rename to crates/evm/evm/src/system_calls/eip4788.rs diff --git a/crates/evm/src/system_calls/eip7002.rs b/crates/evm/evm/src/system_calls/eip7002.rs similarity index 100% rename from crates/evm/src/system_calls/eip7002.rs rename to crates/evm/evm/src/system_calls/eip7002.rs diff --git a/crates/evm/src/system_calls/eip7251.rs b/crates/evm/evm/src/system_calls/eip7251.rs similarity index 100% rename from crates/evm/src/system_calls/eip7251.rs rename to crates/evm/evm/src/system_calls/eip7251.rs diff --git a/crates/evm/src/system_calls/mod.rs b/crates/evm/evm/src/system_calls/mod.rs similarity index 100% rename from crates/evm/src/system_calls/mod.rs rename to crates/evm/evm/src/system_calls/mod.rs diff --git a/crates/evm/src/test_utils.rs b/crates/evm/evm/src/test_utils.rs similarity index 100% rename from crates/evm/src/test_utils.rs rename to crates/evm/evm/src/test_utils.rs diff --git a/docs/repo/layout.md b/docs/repo/layout.md index dcb475e020eb..36cbe71596ca 100644 --- a/docs/repo/layout.md +++ b/docs/repo/layout.md @@ -89,7 +89,7 @@ Different consensus mechanisms. Crates related to transaction execution. - [`revm`](../../crates/revm): Revm utils and implementations specific to reth. -- [`evm`](../../crates/evm): Traits for configuring an EVM specifics. +- [`evm`](../../crates/evm/evm): Traits for configuring an EVM specifics. - [`execution-types`](../../crates/evm/execution-types): Commonly used types for (EVM) block execution. - [`execution-errors`](../../crates/evm/execution-errors): Commonly used error types used when doing block execution.