mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove optimism feature (#14545)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -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",
|
||||
|
||||
@ -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::*;
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
Reference in New Issue
Block a user