Skip to content

Commit

Permalink
enable marketplace solver testing feature for marketplace-builder (#2043
Browse files Browse the repository at this point in the history
)

Fixes a bug where `marketplace-builder could not be build or tested in isolation. Also cleans up `Cargo.toml` a bit.

---------
Co-authored-by: Abdul Basit <[email protected]>
Co-authored-by: tbro <[email protected]>
  • Loading branch information
imabdulbasit authored Sep 23, 2024
1 parent 0a0bd57 commit d6cb802
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ blake3 = "1.5"
circular-buffer = "0.1.7"
clap = { version = "4.4", features = ["derive", "env", "string"] }
cld = "0.5"
tempfile = "3.10.1"
derive_more = "0.99.17"
es-version = { git = "https://github.com/EspressoSystems/es-version.git", branch = "main" }
dotenvy = "0.15"
Expand Down
2 changes: 1 addition & 1 deletion builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ vec1 = { workspace = true }

[dev-dependencies]
sequencer = { path = "../sequencer", features = ["testing"] }
tempfile = "3.10.1"
tempfile = { workspace = true }
9 changes: 5 additions & 4 deletions marketplace-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ edition = { workspace = true }
[features]
default = ["libp2p"]
libp2p = ["sequencer/libp2p"]
testing = ["hotshot-query-service", "sequencer-utils", "tempfile"]

[dependencies]
anyhow = { workspace = true }
Expand All @@ -25,23 +26,23 @@ hotshot = { workspace = true }
hotshot-builder-api = { workspace = true }
hotshot-events-service = { workspace = true }
hotshot-orchestrator = { workspace = true }
hotshot-query-service = { workspace = true, optional = true }
hotshot-stake-table = { workspace = true }
hotshot-types = { workspace = true }
jf-merkle-tree = { workspace = true }
jf-signature = { workspace = true, features = ["bls"] }
marketplace-builder-core = { workspace = true }
marketplace-solver = { path = "../marketplace-solver" }
marketplace-solver = { path = "../marketplace-solver", features = ["testing"] }
portpicker = { workspace = true }
sequencer = { path = "../sequencer", features = ["testing"] }
sequencer-utils = { path = "../utils", optional = true }
surf = "2.3.1"
surf-disco = { workspace = true }
tempfile = { workspace = true, optional = true }
tide-disco = { workspace = true }
tracing = { workspace = true }
url = { workspace = true }
vbs = { workspace = true }

[dev-dependencies]
hotshot-query-service = { workspace = true }
sequencer = { path = "../sequencer", features = ["testing"] }
sequencer-utils = { path = "../utils" }
tempfile = "3.10.1"
2 changes: 1 addition & 1 deletion sequencer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ hotshot-testing = { workspace = true }
pretty_assertions = { workspace = true }
rand = "0.8.5"
reqwest = { workspace = true }
tempfile = "3.9.0"
tempfile = { workspace = true }

[build-dependencies]
anyhow = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ portpicker = { workspace = true }
serde = { workspace = true }
serde_json = "^1.0.113"
surf = "2.3.2"
tempfile = "3.9.0"
tempfile = { workspace = true }
tracing = "0.1.37"
url = "2.3.1"

0 comments on commit d6cb802

Please sign in to comment.