Skip to content

Commit

Permalink
resolve issues with weekly release
Browse files Browse the repository at this point in the history
  • Loading branch information
pls148 committed Jan 27, 2025
1 parent 018fbc5 commit 77180a7
Show file tree
Hide file tree
Showing 16 changed files with 777 additions and 501 deletions.
635 changes: 376 additions & 259 deletions Cargo.lock

Large diffs are not rendered by default.

40 changes: 14 additions & 26 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,24 @@ tokio = { version = "1", default-features = false, features = [
"sync",
] }

hotshot = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.83" }
hotshot = { git = "https://github.com/EspressoSystems/hotshot", branch = "bump/0.5.84" }
# Hotshot imports
hotshot-builder-api = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.83" }
hotshot-builder-core = { git = "https://github.com/EspressoSystems/marketplace-builder-core", tag = "0.1.59" }
marketplace-builder-core = { git = "https://github.com/EspressoSystems/marketplace-builder-core", tag = "0.1.59" }
marketplace-builder-shared = { git = "https://github.com/EspressoSystems/marketplace-builder-core", tag = "0.1.59" }
hotshot-events-service = { git = "https://github.com/EspressoSystems/hotshot-events-service.git", tag = "0.1.57" }
hotshot-orchestrator = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.83" }
hotshot-query-service = { git = "https://github.com/EspressoSystems/hotshot-query-service", tag = "v0.1.76" }
hotshot-stake-table = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.83" }
hotshot-builder-api = { git = "https://github.com/EspressoSystems/hotshot", branch = "bump/0.5.84" }
hotshot-builder-core = { git = "https://github.com/EspressoSystems/marketplace-builder-core", branch = "hotshot/rc-0.5.84" }
marketplace-builder-core = { git = "https://github.com/EspressoSystems/marketplace-builder-core", branch = "hotshot/rc-0.5.84" }
marketplace-builder-shared = { git = "https://github.com/EspressoSystems/marketplace-builder-core", branch = "hotshot/rc-0.5.84" }
hotshot-events-service = { git = "https://github.com/EspressoSystems/hotshot-events-service.git", branch = "hotshot/rc-0.5.84" }
hotshot-orchestrator = { git = "https://github.com/EspressoSystems/hotshot", branch = "bump/0.5.84" }
hotshot-query-service = { git = "https://github.com/EspressoSystems/hotshot-query-service", branch = "hotshot/rc-0.5.84" }
hotshot-stake-table = { git = "https://github.com/EspressoSystems/hotshot", branch = "bump/0.5.84" }
hotshot-state-prover = { version = "0.1.0", path = "hotshot-state-prover" }
hotshot-task = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.83" }
hotshot-testing = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.83" }
hotshot-types = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.83" }
libp2p-networking = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.83" }
hotshot-task = { git = "https://github.com/EspressoSystems/hotshot", branch = "bump/0.5.84" }
hotshot-testing = { git = "https://github.com/EspressoSystems/hotshot", branch = "bump/0.5.84" }
hotshot-types = { git = "https://github.com/EspressoSystems/hotshot", branch = "bump/0.5.84" }
libp2p-networking = { git = "https://github.com/EspressoSystems/hotshot", branch = "bump/0.5.84" }
hotshot-contract-adapter = { version = "0.1.0", path = "contracts/rust/adapter" }
# Temporary, used to pull in the mock auction results provider
hotshot-example-types = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.83" }
hotshot-example-types = { git = "https://github.com/EspressoSystems/hotshot", branch = "bump/0.5.84" }

# Push CDN imports
cdn-broker = { git = "https://github.com/EspressoSystems/Push-CDN", tag = "0.5.1-upgrade", package = "cdn-broker" }
Expand Down Expand Up @@ -162,15 +162,3 @@ opt-level = 0
opt-level = 0
[profile.test.package.hotshot-state-prover]
opt-level = 3

[patch."https://github.com/EspressoSystems/HotShot.git"]
hotshot = { git = "https://www.github.com/EspressoSystems/HotShot.git", tag = "0.5.83-patch1" }
hotshot-builder-api = { git = "https://www.github.com/EspressoSystems/HotShot.git", tag = "0.5.83-patch1" }
hotshot-orchestrator = { git = "https://www.github.com/EspressoSystems/HotShot.git", tag = "0.5.83-patch1" }
hotshot-stake-table = { git = "https://www.github.com/EspressoSystems/HotShot.git", tag = "0.5.83-patch1" }
hotshot-task = { git = "https://www.github.com/EspressoSystems/HotShot.git", tag = "0.5.83-patch1" }
hotshot-task-impls = { git = "https://www.github.com/EspressoSystems/HotShot.git", tag = "0.5.83-patch1" }
hotshot-testing = { git = "https://www.github.com/EspressoSystems/HotShot.git", tag = "0.5.83-patch1" }
hotshot-types = { git = "https://www.github.com/EspressoSystems/HotShot.git", tag = "0.5.83-patch1" }
libp2p-networking = { git = "https://www.github.com/EspressoSystems/HotShot.git", tag = "0.5.83-patch1" }
hotshot-example-types = { git = "https://www.github.com/EspressoSystems/HotShot.git", tag = "0.5.83-patch1" }
2 changes: 1 addition & 1 deletion builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ pub mod testing {
let event = subscribed_events.next().await.unwrap();
tracing::warn!("Event: {:?}", event.event);
if let EventType::QuorumProposal { proposal, .. } = event.event {
let parent_view_number = *proposal.data.view_number;
let parent_view_number = *proposal.data.view_number();
let parent_commitment =
Leaf2::from_quorum_proposal(&proposal.data).payload_commitment();
let encoded_signature = <SeqTypes as NodeType>::SignatureKey::sign(
Expand Down
2 changes: 1 addition & 1 deletion marketplace-builder/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ mod test {
/// Get the view number and commitment if given a `QuorumProposal` event.
async fn proposal_view_number_and_commitment(event: Event) -> Option<(u64, VidCommitment)> {
if let EventType::QuorumProposal { proposal, .. } = event.event {
let view_number = *proposal.data.view_number;
let view_number = *proposal.data.view_number();
let commitment = Leaf2::from_quorum_proposal(&proposal.data).payload_commitment();
return Some((view_number, commitment));
}
Expand Down
Loading

0 comments on commit 77180a7

Please sign in to comment.