Skip to content

Commit

Permalink
Add test-node binary
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJeremyHe committed Apr 23, 2024
1 parent 2fb55ce commit 31800fb
Show file tree
Hide file tree
Showing 11 changed files with 917 additions and 454 deletions.
33 changes: 32 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ futures = "0.3"
hotshot = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.40" }
hotshot-builder-api = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.40" }
hotshot-builder-core = { git = "https://github.com/EspressoSystems/hotshot-builder-core", tag = "0.1.7" }
hotshot-contract-adapter = { version = "0.1.0", path = "contracts/rust/adapter"}
hotshot-orchestrator = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.40" }
hotshot-query-service = { git = "https://github.com/EspressoSystems/hotshot-query-service", tag = "0.1.9" }
hotshot-stake-table = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.40" }
Expand Down
2 changes: 1 addition & 1 deletion hotshot-state-prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ es-version = { workspace = true }
ethers = { workspace = true }
futures = { workspace = true }
hotshot = { workspace = true }
hotshot-contract-adapter = { path = "../contracts/rust/adapter" }
hotshot-contract-adapter = { workspace = true }
hotshot-orchestrator = { workspace = true }
hotshot-stake-table = { workspace = true }
hotshot-types = { workspace = true }
Expand Down
10 changes: 9 additions & 1 deletion sequencer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
testing = ["hotshot-testing"]
testing = ["hotshot-testing", "tempfile"]
libp2p = []

[[bin]]
name = "test-node"
required-features = ["testing"]

[dev-dependencies]
escargot = "0.5.10"
espresso-macros = { git = "https://github.com/EspressoSystems/espresso-macros.git", tag = "0.1.0" }
hotshot-query-service = { workspace = true, features = ["testing"] }
rand = "0.8.5"
reqwest = { version = "0.11.26", features = ["json"]}
tempfile = "3.9.0"

[dependencies]
Expand Down Expand Up @@ -46,9 +52,11 @@ dotenvy = { workspace = true }
es-version = { workspace = true }
ethers = { workspace = true }
ethers-contract-derive = "2.0.10"
tempfile = { version = "3.9.0", optional = true}
futures = { workspace = true }

hotshot = { workspace = true }
hotshot-contract-adapter = { workspace = true }
hotshot-events-service = { workspace = true }
hotshot-orchestrator = { workspace = true }
hotshot-query-service = { workspace = true }
Expand Down
Loading

0 comments on commit 31800fb

Please sign in to comment.