chore: remove optimism feature (#14545)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Arsenii Kulikov
2025-02-18 03:53:50 +04:00
committed by GitHub
parent 482f4557eb
commit 1804bbea6e
48 changed files with 45 additions and 292 deletions

View File

@ -86,11 +86,6 @@ arbitrary = [
"alloy-consensus/arbitrary",
"reth-optimism-primitives?/arbitrary",
]
optimism = [
"reth-codecs/op",
"reth-optimism-primitives?/optimism",
"op",
]
op = [
"dep:reth-optimism-primitives",
"reth-codecs/op",

View File

@ -319,7 +319,6 @@ mod tests {
//
// this check is to ensure we do not inadvertently add too many fields to a struct which would
// expand the flags field and break backwards compatibility
#[cfg(not(feature = "optimism"))]
#[test]
fn test_ensure_backwards_compatibility() {
use super::*;

View File

@ -90,7 +90,6 @@ arbitrary = [
"alloy-consensus/arbitrary",
"reth-primitives-traits/arbitrary",
]
optimism = ["reth-db-api/optimism"]
op = [
"reth-db-api/op",
"reth-primitives-traits/op",

View File

@ -87,12 +87,6 @@ eyre.workspace = true
alloy-consensus.workspace = true
[features]
optimism = [
"reth-execution-types/optimism",
"reth-codecs/op",
"reth-db/optimism",
"reth-db-api/optimism",
]
serde = [
"dashmap/serde",
"notify/serde",