Skip to content

Commit

Permalink
refactor: Removing actor pipes and naming (#213)
Browse files Browse the repository at this point in the history
Getting rid of the whole actor pipe architecture. It was only created
because we thought we would have many components, in reality we ended up
with just two big components. This is just a refactor, no logic changes.
  • Loading branch information
brunoffranca authored Nov 13, 2024
1 parent f4cc128 commit 84bc7e4
Show file tree
Hide file tree
Showing 109 changed files with 645 additions and 768 deletions.
330 changes: 213 additions & 117 deletions node/Cargo.lock

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[workspace]
members = [
"actors/bft",
"actors/executor",
"actors/network",
"components/bft",
"components/executor",
"components/network",
"libs/concurrency",
"libs/crypto",
"libs/protobuf",
Expand All @@ -26,10 +26,10 @@ version = "0.5.0"

[workspace.dependencies]
# Crates from this repo.
zksync_consensus_bft = { version = "=0.5.0", path = "actors/bft" }
zksync_consensus_bft = { version = "=0.5.0", path = "components/bft" }
zksync_consensus_crypto = { version = "=0.5.0", path = "libs/crypto" }
zksync_consensus_executor = { version = "=0.5.0", path = "actors/executor" }
zksync_consensus_network = { version = "=0.5.0", path = "actors/network" }
zksync_consensus_executor = { version = "=0.5.0", path = "components/executor" }
zksync_consensus_network = { version = "=0.5.0", path = "components/network" }
zksync_consensus_roles = { version = "=0.5.0", path = "libs/roles" }
zksync_consensus_storage = { version = "=0.5.0", path = "libs/storage" }
zksync_consensus_tools = { version = "=0.5.0", path = "tools" }
Expand Down Expand Up @@ -73,8 +73,8 @@ hyper-util = { version = "0.1", features = ["full"] }
im = "15.1.0"
jsonrpsee = { version = "0.23.0", features = ["http-client", "server"] }
k256 = { version = "0.13", features = ["ecdsa"] }
k8s-openapi = { version = "0.22.0", features = ["latest"] }
kube = { version = "0.91.0", features = ["derive", "runtime"] }
k8s-openapi = { version = "0.23.0", features = ["latest"] }
kube = { version = "0.96.0", features = ["derive", "runtime"] }
num-bigint = "0.4.4"
num-traits = "0.2.18"
once_cell = "1.17.1"
Expand Down
23 changes: 0 additions & 23 deletions node/actors/bft/src/io.rs

This file was deleted.

102 changes: 0 additions & 102 deletions node/actors/bft/src/lib.rs

This file was deleted.

70 changes: 0 additions & 70 deletions node/actors/executor/src/io.rs

This file was deleted.

40 changes: 0 additions & 40 deletions node/actors/network/src/io.rs

This file was deleted.

1 change: 0 additions & 1 deletion node/actors/network/src/state.rs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
authors.workspace = true
description = "ZKsync consensus bft actor"
description = "ZKsync consensus BFT component"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 84bc7e4

Please sign in to comment.