Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
Merge pull request #772 from EspressoSystems/hotshot/rc-0.5.84
Browse files Browse the repository at this point in the history
[WEEKLY RELEASE] HotShot 0.5.84
  • Loading branch information
pls148 authored Jan 28, 2025
2 parents f27507f + 4fbd70c commit 8eb2603
Show file tree
Hide file tree
Showing 5 changed files with 152 additions and 32 deletions.
153 changes: 130 additions & 23 deletions Cargo.lock

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

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ testing = [
"portpicker",
"rand",
"spin_sleep",
"tempfile",
"tempfile"
]

[[example]]
Expand All @@ -62,9 +62,9 @@ derivative = "2.2"
derive_more = "0.99"
either = "1.12"
futures = "0.3"
hotshot = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.83" }
hotshot-testing = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.83" }
hotshot-types = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.83" }
hotshot = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.84" }
hotshot-testing = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.84" }
hotshot-types = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.84" }
itertools = "0.12.1"
jf-merkle-tree = { version = "0.1.0", git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", features = [
"std",
Expand Down Expand Up @@ -115,7 +115,7 @@ sqlx = { version = "0.8", features = [

# Dependencies enabled by feature "testing".
espresso-macros = { git = "https://github.com/EspressoSystems/espresso-macros.git", tag = "0.1.0", optional = true }
hotshot-example-types = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.83", optional = true }
hotshot-example-types = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.84", optional = true }
portpicker = { version = "0.1", optional = true }
rand = { version = "0.8", optional = true }
spin_sleep = { version = "1.2", optional = true }
Expand All @@ -136,7 +136,7 @@ backtrace-on-stack-overflow = { version = "0.3", optional = true }
clap = { version = "4.5", features = ["derive", "env"] }
espresso-macros = { git = "https://github.com/EspressoSystems/espresso-macros.git", tag = "0.1.0" }
generic-array = "0.14"
hotshot-example-types = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.83" }
hotshot-example-types = { git = "https://github.com/EspressoSystems/HotShot.git", tag = "0.5.84" }
portpicker = "0.1"
rand = "0.8"
reqwest = "0.12.3"
Expand Down
9 changes: 6 additions & 3 deletions examples/simple-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,12 @@ async fn init_consensus(
config,
Arc::new(RwLock::new(membership)),
network,
HotShotInitializer::from_genesis::<MockVersions>(TestInstanceState::default())
.await
.unwrap(),
HotShotInitializer::from_genesis::<MockVersions>(
TestInstanceState::default(),
0,
)
.await
.unwrap(),
ConsensusMetricsValue::new(&*data_source.populate_metrics()),
storage,
MarketplaceConfig {
Expand Down
9 changes: 9 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[toolchain]
# TODO: Compilation of jf-pcs with rust 1.84 takes a very long time, while this
# is being fixed we use rust 1.83. See
# https://github.com/rust-lang/rust/issues/135457 for upstream issue.
#
# channel = "stable"
channel = "1.83"
components = ["rustfmt", "llvm-tools-preview", "rust-src", "clippy"]
profile = "minimal"
1 change: 1 addition & 0 deletions src/testing/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ impl<D: DataSourceLifeCycle + UpdateStatusData> MockNetwork<D> {
network,
HotShotInitializer::from_genesis::<MockVersions>(
TestInstanceState::default(),
0,
)
.await
.unwrap(),
Expand Down

0 comments on commit 8eb2603

Please sign in to comment.