From 5fa90922391f6823f3e2a9a0a3c5aed49339a55e Mon Sep 17 00:00:00 2001 From: Daniel Knopik Date: Thu, 19 Dec 2024 12:13:37 +0100 Subject: [PATCH] move `qbft` crate to common directory --- Cargo.toml | 4 ++-- anchor/{ => common}/qbft/Cargo.toml | 0 anchor/{ => common}/qbft/src/config.rs | 0 anchor/{ => common}/qbft/src/error.rs | 0 anchor/{ => common}/qbft/src/lib.rs | 0 anchor/{ => common}/qbft/src/tests.rs | 0 anchor/{ => common}/qbft/src/types.rs | 0 anchor/{ => common}/qbft/src/validation.rs | 0 8 files changed, 2 insertions(+), 2 deletions(-) rename anchor/{ => common}/qbft/Cargo.toml (100%) rename anchor/{ => common}/qbft/src/config.rs (100%) rename anchor/{ => common}/qbft/src/error.rs (100%) rename anchor/{ => common}/qbft/src/lib.rs (100%) rename anchor/{ => common}/qbft/src/tests.rs (100%) rename anchor/{ => common}/qbft/src/types.rs (100%) rename anchor/{ => common}/qbft/src/validation.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 6faa7e66e..f5379b4ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,13 +3,13 @@ members = [ "anchor", "anchor/client", + "anchor/common/qbft", "anchor/common/ssv_types", "anchor/common/version", "anchor/http_api", "anchor/http_metrics", "anchor/network", "anchor/processor", - "anchor/qbft", ] resolver = "2" @@ -18,7 +18,7 @@ edition = "2021" [workspace.dependencies] client = { path = "anchor/client" } -qbft = { path = "anchor/qbft" } +qbft = { path = "anchor/common/qbft" } http_api = { path = "anchor/http_api" } http_metrics = { path = "anchor/http_metrics" } network = { path = "anchor/network" } diff --git a/anchor/qbft/Cargo.toml b/anchor/common/qbft/Cargo.toml similarity index 100% rename from anchor/qbft/Cargo.toml rename to anchor/common/qbft/Cargo.toml diff --git a/anchor/qbft/src/config.rs b/anchor/common/qbft/src/config.rs similarity index 100% rename from anchor/qbft/src/config.rs rename to anchor/common/qbft/src/config.rs diff --git a/anchor/qbft/src/error.rs b/anchor/common/qbft/src/error.rs similarity index 100% rename from anchor/qbft/src/error.rs rename to anchor/common/qbft/src/error.rs diff --git a/anchor/qbft/src/lib.rs b/anchor/common/qbft/src/lib.rs similarity index 100% rename from anchor/qbft/src/lib.rs rename to anchor/common/qbft/src/lib.rs diff --git a/anchor/qbft/src/tests.rs b/anchor/common/qbft/src/tests.rs similarity index 100% rename from anchor/qbft/src/tests.rs rename to anchor/common/qbft/src/tests.rs diff --git a/anchor/qbft/src/types.rs b/anchor/common/qbft/src/types.rs similarity index 100% rename from anchor/qbft/src/types.rs rename to anchor/common/qbft/src/types.rs diff --git a/anchor/qbft/src/validation.rs b/anchor/common/qbft/src/validation.rs similarity index 100% rename from anchor/qbft/src/validation.rs rename to anchor/common/qbft/src/validation.rs