Skip to content

Commit

Permalink
Update revision for consensus deps
Browse files Browse the repository at this point in the history
  • Loading branch information
slowli committed Nov 2, 2023
1 parent 0033abb commit 82f4923
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
38 changes: 19 additions & 19 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions core/lib/zksync_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ vlog = { path = "../vlog" }

multivm = { path = "../multivm" }
# Consensus dependenices
zksync_concurrency = { package = "concurrency", version = "0.1.0", git = "https://github.com/matter-labs/era-consensus.git", rev = "470e75d9318c2961ecfaf1d6e9223eeb5326a189" }
zksync_consensus_roles = { package = "roles", version = "0.1.0", git = "https://github.com/matter-labs/era-consensus.git", rev = "470e75d9318c2961ecfaf1d6e9223eeb5326a189" }
zksync_consensus_storage = { package = "storage", version = "0.1.0", git = "https://github.com/matter-labs/era-consensus.git", rev = "470e75d9318c2961ecfaf1d6e9223eeb5326a189" }
zksync_consensus_executor = { package = "executor", version = "0.1.0", git = "https://github.com/matter-labs/era-consensus.git", rev = "470e75d9318c2961ecfaf1d6e9223eeb5326a189" }
zksync_concurrency = { package = "concurrency", version = "0.1.0", git = "https://github.com/matter-labs/era-consensus.git", rev = "a4636aad8d79d4cd55f3e6412b197d068f084fc8" }
zksync_consensus_roles = { package = "roles", version = "0.1.0", git = "https://github.com/matter-labs/era-consensus.git", rev = "a4636aad8d79d4cd55f3e6412b197d068f084fc8" }
zksync_consensus_storage = { package = "storage", version = "0.1.0", git = "https://github.com/matter-labs/era-consensus.git", rev = "a4636aad8d79d4cd55f3e6412b197d068f084fc8" }
zksync_consensus_executor = { package = "executor", version = "0.1.0", git = "https://github.com/matter-labs/era-consensus.git", rev = "a4636aad8d79d4cd55f3e6412b197d068f084fc8" }

serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
8 changes: 4 additions & 4 deletions core/lib/zksync_core/src/sync_layer/gossip/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ async fn syncing_via_gossip_fetcher(delay_first_block: bool, delay_second_block:
let ctx = &ctx::test_root(&ctx::AffineClock::new(CLOCK_SPEEDUP as f64));
let rng = &mut ctx.rng();
let mut validator =
FullValidatorConfig::for_single_validator(rng, genesis_block.payload.clone());
let external_node = validator.connect_external_node(rng);
FullValidatorConfig::for_single_validator(rng, genesis_block.payload.clone()).await;
let external_node = validator.connect_external_node(rng).await;

let validator_storage = Arc::new(InMemoryStorage::new(genesis_block));
if !delay_first_block {
Expand Down Expand Up @@ -231,8 +231,8 @@ async fn syncing_via_gossip_fetcher_with_multiple_l1_batches(initial_block_count
let ctx = &ctx::test_root(&ctx::AffineClock::new(CLOCK_SPEEDUP as f64));
let rng = &mut ctx.rng();
let mut validator =
FullValidatorConfig::for_single_validator(rng, genesis_block.payload.clone());
let external_node = validator.connect_external_node(rng);
FullValidatorConfig::for_single_validator(rng, genesis_block.payload.clone()).await;
let external_node = validator.connect_external_node(rng).await;

let validator_storage = Arc::new(InMemoryStorage::new(genesis_block));
for block in initial_blocks {
Expand Down

0 comments on commit 82f4923

Please sign in to comment.