diff --git a/Cargo.lock b/Cargo.lock index 750f64f794af..5ed00a2884a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8092,8 +8092,7 @@ dependencies = [ [[package]] name = "zksync_concurrency" version = "0.1.0-rc.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28279a743cd2ec5a0e3f0fec31b2e4fdd509d0b513e0aaeb000200ce464123e5" +source = "git+https://github.com/matter-labs/era-consensus.git?rev=78ade978b38480cab2b4335d9f41155e24d5c9a1#78ade978b38480cab2b4335d9f41155e24d5c9a1" dependencies = [ "anyhow", "once_cell", @@ -8125,8 +8124,7 @@ dependencies = [ [[package]] name = "zksync_consensus_bft" version = "0.1.0-rc.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "011210cdeb207516fe95ec2c8a77b3c36e444e2cd17e7db57afdc55a263025d6" +source = "git+https://github.com/matter-labs/era-consensus.git?rev=78ade978b38480cab2b4335d9f41155e24d5c9a1#78ade978b38480cab2b4335d9f41155e24d5c9a1" dependencies = [ "anyhow", "async-trait", @@ -8147,8 +8145,7 @@ dependencies = [ [[package]] name = "zksync_consensus_crypto" version = "0.1.0-rc.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dbbc36ff78548f022192f20fb76909b1b0a460fc85289ccc54ce0ce54263165" +source = "git+https://github.com/matter-labs/era-consensus.git?rev=78ade978b38480cab2b4335d9f41155e24d5c9a1#78ade978b38480cab2b4335d9f41155e24d5c9a1" dependencies = [ "anyhow", "blst", @@ -8171,8 +8168,7 @@ dependencies = [ [[package]] name = "zksync_consensus_executor" version = "0.1.0-rc.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f6811105b9b0fffb5983382c504d466a415f41f4a3b0f6743837bcbfc0b332" +source = "git+https://github.com/matter-labs/era-consensus.git?rev=78ade978b38480cab2b4335d9f41155e24d5c9a1#78ade978b38480cab2b4335d9f41155e24d5c9a1" dependencies = [ "anyhow", "rand 0.8.5", @@ -8191,8 +8187,7 @@ dependencies = [ [[package]] name = "zksync_consensus_network" version = "0.1.0-rc.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e79538ef206af7006c94c8d047582cf214ac493f7dd8340d40cace4f248d8c35" +source = "git+https://github.com/matter-labs/era-consensus.git?rev=78ade978b38480cab2b4335d9f41155e24d5c9a1#78ade978b38480cab2b4335d9f41155e24d5c9a1" dependencies = [ "anyhow", "async-trait", @@ -8226,8 +8221,7 @@ dependencies = [ [[package]] name = "zksync_consensus_roles" version = "0.1.0-rc.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0070c54eed2f5cf26e76d9ec3ccdf05fdafb18c0712c8d97ef4987634972396" +source = "git+https://github.com/matter-labs/era-consensus.git?rev=78ade978b38480cab2b4335d9f41155e24d5c9a1#78ade978b38480cab2b4335d9f41155e24d5c9a1" dependencies = [ "anyhow", "bit-vec", @@ -8248,8 +8242,7 @@ dependencies = [ [[package]] name = "zksync_consensus_storage" version = "0.1.0-rc.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d221fbd8e22f49175132c252a4923a945c1fa4a548ad66c3fc0366789cc9e53" +source = "git+https://github.com/matter-labs/era-consensus.git?rev=78ade978b38480cab2b4335d9f41155e24d5c9a1#78ade978b38480cab2b4335d9f41155e24d5c9a1" dependencies = [ "anyhow", "async-trait", @@ -8259,6 +8252,7 @@ dependencies = [ "tracing", "vise", "zksync_concurrency", + "zksync_consensus_crypto", "zksync_consensus_roles", "zksync_protobuf", "zksync_protobuf_build", @@ -8267,8 +8261,7 @@ dependencies = [ [[package]] name = "zksync_consensus_utils" version = "0.1.0-rc.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7c3d9b3b6b795ce16e0ead2b8813a2f7a1a01c9a9e3fb50993d6ecbfcdbca98" +source = "git+https://github.com/matter-labs/era-consensus.git?rev=78ade978b38480cab2b4335d9f41155e24d5c9a1#78ade978b38480cab2b4335d9f41155e24d5c9a1" dependencies = [ "anyhow", "rand 0.8.5", @@ -9202,8 +9195,7 @@ dependencies = [ [[package]] name = "zksync_protobuf" version = "0.1.0-rc.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fe77d262206bb22f4bc26e75b68466b2e7043baa4963fe97190ce8540a5d700" +source = "git+https://github.com/matter-labs/era-consensus.git?rev=78ade978b38480cab2b4335d9f41155e24d5c9a1#78ade978b38480cab2b4335d9f41155e24d5c9a1" dependencies = [ "anyhow", "bit-vec", @@ -9223,8 +9215,7 @@ dependencies = [ [[package]] name = "zksync_protobuf_build" version = "0.1.0-rc.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1205d607aa7291e3e016ce202d97cd7eb7d232913076dd873cbe48d564bf656" +source = "git+https://github.com/matter-labs/era-consensus.git?rev=78ade978b38480cab2b4335d9f41155e24d5c9a1#78ade978b38480cab2b4335d9f41155e24d5c9a1" dependencies = [ "anyhow", "heck 0.5.0", diff --git a/Cargo.toml b/Cargo.toml index 443f85493865..9215b3bc34b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -284,3 +284,15 @@ zksync_contract_verification_server = { path = "core/node/contract_verification_ zksync_node_api_server = { path = "core/node/api_server" } zksync_tee_verifier_input_producer = { path = "core/node/tee_verifier_input_producer" } zksync_base_token_adjuster = { path = "core/node/base_token_adjuster" } + +[patch.crates-io] +zksync_concurrency = { version = "0.1.0-rc.1", git = "https://github.com/matter-labs/era-consensus.git", rev = "78ade978b38480cab2b4335d9f41155e24d5c9a1" } +zksync_consensus_bft = { version = "0.1.0-rc.1", git = "https://github.com/matter-labs/era-consensus.git", rev = "78ade978b38480cab2b4335d9f41155e24d5c9a1" } +zksync_consensus_crypto = { version = "0.1.0-rc.1", git = "https://github.com/matter-labs/era-consensus.git", rev = "78ade978b38480cab2b4335d9f41155e24d5c9a1" } +zksync_consensus_executor = { version = "0.1.0-rc.1", git = "https://github.com/matter-labs/era-consensus.git", rev = "78ade978b38480cab2b4335d9f41155e24d5c9a1" } +zksync_consensus_network = { version = "0.1.0-rc.1", git = "https://github.com/matter-labs/era-consensus.git", rev = "78ade978b38480cab2b4335d9f41155e24d5c9a1" } +zksync_consensus_roles = { version = "0.1.0-rc.1", git = "https://github.com/matter-labs/era-consensus.git", rev = "78ade978b38480cab2b4335d9f41155e24d5c9a1" } +zksync_consensus_storage = { version = "0.1.0-rc.1", git = "https://github.com/matter-labs/era-consensus.git", rev = "78ade978b38480cab2b4335d9f41155e24d5c9a1" } +zksync_consensus_utils = { version = "0.1.0-rc.1", git = "https://github.com/matter-labs/era-consensus.git", rev = "78ade978b38480cab2b4335d9f41155e24d5c9a1" } +zksync_protobuf = { version = "0.1.0-rc.1", git = "https://github.com/matter-labs/era-consensus.git", rev = "78ade978b38480cab2b4335d9f41155e24d5c9a1" } +zksync_protobuf_build = { version = "0.1.0-rc.1", git = "https://github.com/matter-labs/era-consensus.git", rev = "78ade978b38480cab2b4335d9f41155e24d5c9a1" }