Skip to content

Commit b2debc3

Browse files
committed
Remove block-verifier crate.
Move into `tests/src/binaries`.
1 parent bf1c41b commit b2debc3

File tree

6 files changed

+15
-30
lines changed

6 files changed

+15
-30
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ members = [
1818
"timeboost-sequencer",
1919
"timeboost-types",
2020
"timeboost-utils",
21-
"yapper",
22-
"tests/block-verifier"
21+
"yapper"
2322
]
2423
resolver = "2"
2524

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ mkconfig_docker_full NUM_NODES RPC_URL PARENT_CHAIN_ID PARENT_INBOX_ADDRESS *ARG
113113
--mode "increment-address" {{ARGS}} | jq
114114

115115
verify_blocks *ARGS:
116-
cargo run --release --bin block_verifier {{ARGS}}
116+
cargo run --release --bin block-verifier --features bin {{ARGS}}
117117

118118
####################
119119
####TEST COMMANDS###

tests/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,14 @@ tokio-util = { workspace = true }
3434
tracing = { workspace = true }
3535
turmoil = { workspace = true }
3636
url = { workspace = true }
37+
# optional:
38+
anyhow = { workspace = true, optional = true }
39+
clap = { workspace = true, optional = true }
40+
41+
[features]
42+
bin = ["dep:anyhow", "dep:clap"]
43+
44+
[[bin]]
45+
name = "block-verifier"
46+
path = "src/binaries/block-verifier.rs"
47+
required-features = ["bin"]

tests/block-verifier/Cargo.toml

Lines changed: 0 additions & 14 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)