Skip to content

Commit 9b79771

Browse files
committed
fix: lints + imports
1 parent 9674c23 commit 9b79771

File tree

4 files changed

+11
-18
lines changed

4 files changed

+11
-18
lines changed

.config/zepter.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ workflows:
1212
# Check that `A` activates the features of `B`.
1313
"propagate-feature",
1414
# These are the features to check:
15-
"--features=std,optimism,dev,asm-keccak,jemalloc,jemalloc-prof,tracy-allocator,serde-bincode-compat,serde,test-utils,arbitrary,bench",
15+
"--features=std,dev,test-utils,serde-bincode-compat,serde,test-utils,arbitrary,bench",
1616
# Do not try to add a new section into `[features]` of `A` only because `B` expose that feature. There are edge-cases where this is still needed, but we can add them manually.
1717
"--left-side-feature-missing=ignore",
1818
# Ignore the case that `A` it outside of the workspace. Otherwise it will report errors in external dependencies that we have no influence on.
19-
2019
"--left-side-outside-workspace=ignore",
2120
# Auxilary flags:
2221
"--offline",
@@ -31,11 +30,10 @@ workflows:
3130
# Will be displayed when any workflow fails:
3231
help:
3332
text: |
34-
Reth uses the Zepter CLI to detect abnormalities in Cargo features, e.g. missing propagation.
33+
We uses the Zepter CLI to detect abnormalities in Cargo features, e.g. missing propagation.
3534
3635
It looks like one more checks failed; please check the console output.
3736
3837
You can try to automatically address them by installing zepter (`cargo install zepter --locked`) and simply running `zepter` in the workspace root.
3938
links:
40-
- "https://github.com/paradigmxyz/reth/pull/11888"
4139
- "https://github.com/ggwpez/zepter"

Cargo.lock

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/bridge/Cargo.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,24 @@ tracing.workspace = true
5151
alloy-primitives = { workspace = true, default-features = false, features = [
5252
"map-foldhash",
5353
] }
54-
alloy-genesis = { version = "0.9.2", default-features = false }
55-
alloy-rpc-types-engine.workspace = true
5654

5755
# reth
5856
reth-e2e-test-utils = { git = "https://github.com/scroll-tech/reth.git" }
59-
reth-payload-builder = { git = "https://github.com/scroll-tech/reth.git" }
6057
reth-rpc-server-types = { git = "https://github.com/scroll-tech/reth.git" }
6158
reth-tasks.workspace = true
6259
reth-tracing = { git = "https://github.com/scroll-tech/reth.git" }
6360

64-
# misc
61+
# misc
6562
serde_json = { version = "1.0.94", default-features = false, features = ["alloc"] }
6663

6764
[features]
68-
test-utils = []
65+
test-utils = [
66+
"reth-network/test-utils",
67+
"reth-node-builder/test-utils",
68+
"reth-primitives/test-utils",
69+
"reth-provider/test-utils",
70+
"reth-transaction-pool/test-utils"
71+
]
6972

7073
[[bin]]
7174
name = "bridge"

bin/bridge/src/main.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
mod network;
2-
use network::ScrollBridgeNetworkBuilder;
3-
4-
mod import;
5-
use import::BridgeBlockImport;
6-
71
#[global_allocator]
82
static ALLOC: reth_cli_util::allocator::Allocator = reth_cli_util::allocator::new_allocator();
93

@@ -13,6 +7,7 @@ fn main() {
137
use reth_provider::providers::BlockchainProvider;
148
use reth_scroll_cli::{Cli, ScrollChainSpecParser, ScrollRollupArgs};
159
use reth_scroll_node::{ScrollAddOns, ScrollNode};
10+
use scroll_bridge::ScrollBridgeNetworkBuilder;
1611
reth_cli_util::sigsegv_handler::install();
1712

1813
// Enable backtraces unless a RUST_BACKTRACE value has already been explicitly provided.

0 commit comments

Comments
 (0)