From 99fd8e7737515e6532643a6cf471817276c96fd6 Mon Sep 17 00:00:00 2001 From: morph <82043364+morph-dev@users.noreply.github.com> Date: Mon, 25 Mar 2024 20:43:55 +0200 Subject: [PATCH] rename merkle to merkle_old --- Cargo.toml | 2 +- {merkle => merkle_old}/Cargo.toml | 2 +- {merkle => merkle_old}/history.json | 0 {merkle => merkle_old}/proptest-regressions/mpt.txt | 0 {merkle => merkle_old}/src/account.rs | 0 {merkle => merkle_old}/src/history.rs | 0 {merkle => merkle_old}/src/lib.rs | 0 {merkle => merkle_old}/src/main.rs | 2 +- {merkle => merkle_old}/src/mpt.rs | 0 {merkle => merkle_old}/src/nibbles.rs | 0 {merkle => merkle_old}/src/nodes/branch.rs | 0 {merkle => merkle_old}/src/nodes/decode.rs | 0 {merkle => merkle_old}/src/nodes/extension.rs | 0 {merkle => merkle_old}/src/nodes/leaf.rs | 0 {merkle => merkle_old}/src/nodes/mod.rs | 0 {merkle => merkle_old}/src/nodes/node.rs | 0 16 files changed, 3 insertions(+), 3 deletions(-) rename {merkle => merkle_old}/Cargo.toml (96%) rename {merkle => merkle_old}/history.json (100%) rename {merkle => merkle_old}/proptest-regressions/mpt.txt (100%) rename {merkle => merkle_old}/src/account.rs (100%) rename {merkle => merkle_old}/src/history.rs (100%) rename {merkle => merkle_old}/src/lib.rs (100%) rename {merkle => merkle_old}/src/main.rs (98%) rename {merkle => merkle_old}/src/mpt.rs (100%) rename {merkle => merkle_old}/src/nibbles.rs (100%) rename {merkle => merkle_old}/src/nodes/branch.rs (100%) rename {merkle => merkle_old}/src/nodes/decode.rs (100%) rename {merkle => merkle_old}/src/nodes/extension.rs (100%) rename {merkle => merkle_old}/src/nodes/leaf.rs (100%) rename {merkle => merkle_old}/src/nodes/mod.rs (100%) rename {merkle => merkle_old}/src/nodes/node.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 0372634..4ad040e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace] -members = [ "db", "merkle", "verkle" ] +members = [ "db", "merkle_old", "verkle" ] resolver = "2" [profile.bench] diff --git a/merkle/Cargo.toml b/merkle_old/Cargo.toml similarity index 96% rename from merkle/Cargo.toml rename to merkle_old/Cargo.toml index 7a1e375..8470dea 100644 --- a/merkle/Cargo.toml +++ b/merkle_old/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "merkle" +name = "merkle_old" version = "0.1.0" edition = "2021" diff --git a/merkle/history.json b/merkle_old/history.json similarity index 100% rename from merkle/history.json rename to merkle_old/history.json diff --git a/merkle/proptest-regressions/mpt.txt b/merkle_old/proptest-regressions/mpt.txt similarity index 100% rename from merkle/proptest-regressions/mpt.txt rename to merkle_old/proptest-regressions/mpt.txt diff --git a/merkle/src/account.rs b/merkle_old/src/account.rs similarity index 100% rename from merkle/src/account.rs rename to merkle_old/src/account.rs diff --git a/merkle/src/history.rs b/merkle_old/src/history.rs similarity index 100% rename from merkle/src/history.rs rename to merkle_old/src/history.rs diff --git a/merkle/src/lib.rs b/merkle_old/src/lib.rs similarity index 100% rename from merkle/src/lib.rs rename to merkle_old/src/lib.rs diff --git a/merkle/src/main.rs b/merkle_old/src/main.rs similarity index 98% rename from merkle/src/main.rs rename to merkle_old/src/main.rs index 08c3a02..589585d 100644 --- a/merkle/src/main.rs +++ b/merkle_old/src/main.rs @@ -2,7 +2,7 @@ use std::io::{self, Write}; use alloy_primitives::keccak256; use anyhow::Result; -use merkle::{ +use merkle_old::{ history::{Deposit, HistoricalDeposits}, MerklePatriciaTrie, }; diff --git a/merkle/src/mpt.rs b/merkle_old/src/mpt.rs similarity index 100% rename from merkle/src/mpt.rs rename to merkle_old/src/mpt.rs diff --git a/merkle/src/nibbles.rs b/merkle_old/src/nibbles.rs similarity index 100% rename from merkle/src/nibbles.rs rename to merkle_old/src/nibbles.rs diff --git a/merkle/src/nodes/branch.rs b/merkle_old/src/nodes/branch.rs similarity index 100% rename from merkle/src/nodes/branch.rs rename to merkle_old/src/nodes/branch.rs diff --git a/merkle/src/nodes/decode.rs b/merkle_old/src/nodes/decode.rs similarity index 100% rename from merkle/src/nodes/decode.rs rename to merkle_old/src/nodes/decode.rs diff --git a/merkle/src/nodes/extension.rs b/merkle_old/src/nodes/extension.rs similarity index 100% rename from merkle/src/nodes/extension.rs rename to merkle_old/src/nodes/extension.rs diff --git a/merkle/src/nodes/leaf.rs b/merkle_old/src/nodes/leaf.rs similarity index 100% rename from merkle/src/nodes/leaf.rs rename to merkle_old/src/nodes/leaf.rs diff --git a/merkle/src/nodes/mod.rs b/merkle_old/src/nodes/mod.rs similarity index 100% rename from merkle/src/nodes/mod.rs rename to merkle_old/src/nodes/mod.rs diff --git a/merkle/src/nodes/node.rs b/merkle_old/src/nodes/node.rs similarity index 100% rename from merkle/src/nodes/node.rs rename to merkle_old/src/nodes/node.rs