diff --git a/bin/reth/Cargo.toml b/bin/reth/Cargo.toml index 89c76a5496e..4f2d7e5bd70 100644 --- a/bin/reth/Cargo.toml +++ b/bin/reth/Cargo.toml @@ -92,7 +92,6 @@ jemalloc-ctl = { version = "0.5.0", optional = true } [features] default = ["jemalloc"] -#default = ["jemalloc", "optimism"] jemalloc = ["dep:jemallocator", "dep:jemalloc-ctl"] jemalloc-prof = ["jemalloc", "jemallocator?/profiling"] min-error-logs = ["tracing/release_max_level_error"] @@ -104,8 +103,8 @@ optimism = [ "reth-primitives/optimism", "reth-revm/optimism", "reth-interfaces/optimism", - "reth-rpc/optimism", "reth-rpc-engine-api/optimism", + "reth-rpc/optimism", "reth-transaction-pool/optimism", "reth-provider/optimism", "reth-beacon-consensus/optimism", diff --git a/crates/consensus/common/Cargo.toml b/crates/consensus/common/Cargo.toml index 72d057744cc..4281dba2b9e 100644 --- a/crates/consensus/common/Cargo.toml +++ b/crates/consensus/common/Cargo.toml @@ -20,4 +20,8 @@ assert_matches = "1.5.0" mockall = "0.11.3" [features] -optimism = ["reth-primitives/optimism"] +optimism = [ + "reth-primitives/optimism", + "reth-interfaces/optimism", + "reth-provider/optimism" +] diff --git a/crates/interfaces/Cargo.toml b/crates/interfaces/Cargo.toml index 57ab3a7e9e2..5500ad66e94 100644 --- a/crates/interfaces/Cargo.toml +++ b/crates/interfaces/Cargo.toml @@ -55,4 +55,4 @@ secp256k1 = { workspace = true, features = [ [features] test-utils = ["tokio-stream/sync", "secp256k1", "rand/std_rng"] cli = ["clap"] -optimism = ["reth-eth-wire/optimism"] +optimism = ["reth-rpc-types/optimism"] diff --git a/crates/net/eth-wire/Cargo.toml b/crates/net/eth-wire/Cargo.toml index f9477ca6074..c90acf154cc 100644 --- a/crates/net/eth-wire/Cargo.toml +++ b/crates/net/eth-wire/Cargo.toml @@ -64,7 +64,7 @@ proptest-derive = "0.3" default = ["serde"] serde = ["dep:serde", "smol_str/serde"] arbitrary = ["reth-primitives/arbitrary", "dep:arbitrary", "dep:proptest", "dep:proptest-derive"] -optimism = [] +optimism = ["reth-primitives/optimism"] [[test]] name = "fuzz_roundtrip" diff --git a/crates/revm/Cargo.toml b/crates/revm/Cargo.toml index baad89d513d..9324dbd0a74 100644 --- a/crates/revm/Cargo.toml +++ b/crates/revm/Cargo.toml @@ -29,4 +29,3 @@ once_cell = "1.17.0" [features] optimism = ["reth-primitives/optimism", "reth-revm-primitives/optimism"] - diff --git a/crates/rpc/rpc-types/Cargo.toml b/crates/rpc/rpc-types/Cargo.toml index 0c2db471dd6..831a646c92a 100644 --- a/crates/rpc/rpc-types/Cargo.toml +++ b/crates/rpc/rpc-types/Cargo.toml @@ -33,4 +33,4 @@ assert_matches = "1.5" similar-asserts = "1.4" [features] -optimism = ["reth-primitives/optimism"] +optimism = ["reth-primitives/optimism", "reth-interfaces/optimism"] diff --git a/etc/grafana/dashboards/overview.json b/etc/grafana/dashboards/overview.json index 8500bd19aaf..7a5cd77ff50 100644 --- a/etc/grafana/dashboards/overview.json +++ b/etc/grafana/dashboards/overview.json @@ -150,9 +150,7 @@ "options": { "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -217,9 +215,7 @@ "minVizWidth": 0, "orientation": "horizontal", "reduceOptions": { - "calcs": [ - "last" - ], + "calcs": ["last"], "fields": "", "values": false }, @@ -660,22 +656,16 @@ }, "id": 48, "options": { - "displayLabels": [ - "name" - ], + "displayLabels": ["name"], "legend": { "displayMode": "table", "placement": "right", "showLegend": true, - "values": [ - "value" - ] + "values": ["value"] }, "pieType": "pie", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -831,15 +821,11 @@ "displayMode": "table", "placement": "right", "showLegend": true, - "values": [ - "value" - ] + "values": ["value"] }, "pieType": "pie", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -999,9 +985,7 @@ "footer": { "countRows": false, "fields": "", - "reducer": [ - "sum" - ], + "reducer": ["sum"], "show": false }, "showHeader": true @@ -1465,9 +1449,7 @@ "displayMode": "table", "placement": "right", "showLegend": true, - "values": [ - "value" - ] + "values": ["value"] }, "tooltip": { "mode": "multi", @@ -1546,9 +1528,7 @@ }, "pieType": "pie", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -4905,4 +4885,4 @@ "uid": "2k8BXz24x", "version": 3, "weekStart": "" -} \ No newline at end of file +}