From c46cf477368f0693c4d4efc2488f8eb8e12036d3 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Tue, 11 Apr 2023 09:28:29 -0400 Subject: [PATCH] Move tendermint under the coordinator We're planning to use it in the micro-blockchain the coordinator will run. --- Cargo.toml | 3 +-- {tendermint => coordinator/tendermint}/Cargo.toml | 2 +- {tendermint => coordinator/tendermint}/LICENSE | 0 {tendermint => coordinator/tendermint}/README.md | 0 {tendermint => coordinator/tendermint}/src/block.rs | 0 {tendermint => coordinator/tendermint}/src/ext.rs | 0 {tendermint => coordinator/tendermint}/src/lib.rs | 0 {tendermint => coordinator/tendermint}/src/message_log.rs | 0 {tendermint => coordinator/tendermint}/src/round.rs | 0 {tendermint => coordinator/tendermint}/src/time.rs | 0 {tendermint => coordinator/tendermint}/tests/ext.rs | 0 11 files changed, 2 insertions(+), 3 deletions(-) rename {tendermint => coordinator/tendermint}/Cargo.toml (86%) rename {tendermint => coordinator/tendermint}/LICENSE (100%) rename {tendermint => coordinator/tendermint}/README.md (100%) rename {tendermint => coordinator/tendermint}/src/block.rs (100%) rename {tendermint => coordinator/tendermint}/src/ext.rs (100%) rename {tendermint => coordinator/tendermint}/src/lib.rs (100%) rename {tendermint => coordinator/tendermint}/src/message_log.rs (100%) rename {tendermint => coordinator/tendermint}/src/round.rs (100%) rename {tendermint => coordinator/tendermint}/src/time.rs (100%) rename {tendermint => coordinator/tendermint}/tests/ext.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 463d3be4..1483ad2b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,8 +24,7 @@ members = [ "processor/messages", "processor", - "tendermint", - + "coordinator/tendermint", "coordinator", "substrate/primitives", diff --git a/tendermint/Cargo.toml b/coordinator/tendermint/Cargo.toml similarity index 86% rename from tendermint/Cargo.toml rename to coordinator/tendermint/Cargo.toml index 95931c42..d49f8a2f 100644 --- a/tendermint/Cargo.toml +++ b/coordinator/tendermint/Cargo.toml @@ -3,7 +3,7 @@ name = "tendermint-machine" version = "0.2.0" description = "An implementation of the Tendermint state machine in Rust" license = "MIT" -repository = "https://github.com/serai-dex/serai/tree/develop/tendermint" +repository = "https://github.com/serai-dex/serai/tree/develop/coordinator/tendermint" authors = ["Luke Parker "] edition = "2021" diff --git a/tendermint/LICENSE b/coordinator/tendermint/LICENSE similarity index 100% rename from tendermint/LICENSE rename to coordinator/tendermint/LICENSE diff --git a/tendermint/README.md b/coordinator/tendermint/README.md similarity index 100% rename from tendermint/README.md rename to coordinator/tendermint/README.md diff --git a/tendermint/src/block.rs b/coordinator/tendermint/src/block.rs similarity index 100% rename from tendermint/src/block.rs rename to coordinator/tendermint/src/block.rs diff --git a/tendermint/src/ext.rs b/coordinator/tendermint/src/ext.rs similarity index 100% rename from tendermint/src/ext.rs rename to coordinator/tendermint/src/ext.rs diff --git a/tendermint/src/lib.rs b/coordinator/tendermint/src/lib.rs similarity index 100% rename from tendermint/src/lib.rs rename to coordinator/tendermint/src/lib.rs diff --git a/tendermint/src/message_log.rs b/coordinator/tendermint/src/message_log.rs similarity index 100% rename from tendermint/src/message_log.rs rename to coordinator/tendermint/src/message_log.rs diff --git a/tendermint/src/round.rs b/coordinator/tendermint/src/round.rs similarity index 100% rename from tendermint/src/round.rs rename to coordinator/tendermint/src/round.rs diff --git a/tendermint/src/time.rs b/coordinator/tendermint/src/time.rs similarity index 100% rename from tendermint/src/time.rs rename to coordinator/tendermint/src/time.rs diff --git a/tendermint/tests/ext.rs b/coordinator/tendermint/tests/ext.rs similarity index 100% rename from tendermint/tests/ext.rs rename to coordinator/tendermint/tests/ext.rs