Skip to content

Commit

Permalink
Merge branch 'main' into igor/quint-timeout-qc-refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoffranca authored Jul 8, 2024
2 parents 864bdff + 92fe49c commit b128bea
Show file tree
Hide file tree
Showing 16 changed files with 109 additions and 80 deletions.
38 changes: 21 additions & 17 deletions node/Cargo.lock

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

33 changes: 18 additions & 15 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,31 @@ resolver = "2"
edition = "2021"
authors = ["The Matter Labs Team <[email protected]>"]
homepage = "https://matter-labs.io/"
license = "MIT"
repository = "https://github.com/matter-labs/era-consensus"
license = "MIT OR Apache-2.0"
keywords = ["blockchain", "zksync"]
version = "0.1.0-rc.1"

[workspace.dependencies]
# Crates from this repo.
zksync_consensus_bft = { path = "actors/bft" }
zksync_consensus_crypto = { path = "libs/crypto" }
zksync_consensus_executor = { path = "actors/executor" }
zksync_consensus_network = { path = "actors/network" }
zksync_consensus_roles = { path = "libs/roles" }
zksync_consensus_storage = { path = "libs/storage" }
zksync_consensus_tools = { path = "tools" }
zksync_consensus_utils = { path = "libs/utils" }
zksync_consensus_bft = { version = "=0.1.0-rc.1", path = "actors/bft" }
zksync_consensus_crypto = { version = "=0.1.0-rc.1", path = "libs/crypto" }
zksync_consensus_executor = { version = "=0.1.0-rc.1", path = "actors/executor" }
zksync_consensus_network = { version = "=0.1.0-rc.1", path = "actors/network" }
zksync_consensus_roles = { version = "=0.1.0-rc.1", path = "libs/roles" }
zksync_consensus_storage = { version = "=0.1.0-rc.1", path = "libs/storage" }
zksync_consensus_tools = { version = "=0.1.0-rc.1", path = "tools" }
zksync_consensus_utils = { version = "=0.1.0-rc.1", path = "libs/utils" }

# Crates from this repo that might become independent in the future.
zksync_concurrency = { path = "libs/concurrency" }
zksync_protobuf = { path = "libs/protobuf" }
zksync_protobuf_build = { path = "libs/protobuf_build" }
zksync_concurrency = { version = "=0.1.0-rc.1", path = "libs/concurrency" }
zksync_protobuf = { version = "=0.1.0-rc.1", path = "libs/protobuf" }
zksync_protobuf_build = { version = "=0.1.0-rc.1", path = "libs/protobuf_build" }

# Crates from Matter Labs.
pairing = { package = "pairing_ce", git = "https://github.com/matter-labs/pairing.git", rev = "d24f2c5871089c4cd4f54c0ca266bb9fef6115eb" }
vise = { version = "0.1.0", git = "https://github.com/matter-labs/vise.git", rev = "a5bb80c9ce7168663114ee30e794d6dc32159ee4" }
vise-exporter = { version = "0.1.0", git = "https://github.com/matter-labs/vise.git", rev = "a5bb80c9ce7168663114ee30e794d6dc32159ee4" }
pairing = { package = "pairing_ce", version = "=0.28.6" }
vise = "0.1.0"
vise-exporter = "0.1.0"

# Crates from third-parties.
anyhow = "1"
Expand Down
4 changes: 3 additions & 1 deletion node/actors/bft/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
name = "zksync_consensus_bft"
version = "0.1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true

[dependencies]
zksync_concurrency.workspace = true
Expand Down
4 changes: 3 additions & 1 deletion node/actors/executor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
name = "zksync_consensus_executor"
version = "0.1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true

[dependencies]
zksync_concurrency.workspace = true
Expand Down
4 changes: 3 additions & 1 deletion node/actors/network/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
name = "zksync_consensus_network"
version = "0.1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true

[dependencies]
zksync_concurrency.workspace = true
Expand Down
4 changes: 3 additions & 1 deletion node/libs/concurrency/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
name = "zksync_concurrency"
version = "0.1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true

[dependencies]
anyhow.workspace = true
Expand Down
4 changes: 3 additions & 1 deletion node/libs/crypto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
name = "zksync_consensus_crypto"
version = "0.1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true

[dependencies]
anyhow.workspace = true
Expand Down
4 changes: 3 additions & 1 deletion node/libs/protobuf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
name = "zksync_protobuf"
version = "0.1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true
links = "zksync_protobuf_proto"

[dependencies]
Expand Down
6 changes: 4 additions & 2 deletions node/libs/protobuf_build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
name = "zksync_protobuf_build"
version = "0.1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true

[dependencies]
anyhow.workspace = true
Expand All @@ -18,4 +20,4 @@ quote.workspace = true
syn.workspace = true

[lints]
workspace = true
workspace = true
4 changes: 3 additions & 1 deletion node/libs/roles/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
name = "zksync_consensus_roles"
version = "0.1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true
links = "zksync_consensus_roles_proto"

[dependencies]
Expand Down
4 changes: 3 additions & 1 deletion node/libs/storage/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
name = "zksync_consensus_storage"
version = "0.1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true

[dependencies]
zksync_concurrency.workspace = true
Expand Down
4 changes: 3 additions & 1 deletion node/libs/utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
name = "zksync_consensus_utils"
version = "0.1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true

[dependencies]
zksync_concurrency.workspace = true
Expand Down
5 changes: 4 additions & 1 deletion node/tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
[package]
name = "tester"
version = "0.1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true
publish = false

[dependencies]
zksync_consensus_tools.workspace = true
Expand Down
4 changes: 3 additions & 1 deletion node/tools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[package]
name = "zksync_consensus_tools"
version = "0.1.0"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true
default-run = "executor"

[dependencies]
Expand Down
Loading

0 comments on commit b128bea

Please sign in to comment.