From 251783b9bca166ba850e2380b1f80a152e48dfb0 Mon Sep 17 00:00:00 2001 From: collin Date: Wed, 12 Aug 2020 12:58:32 -0700 Subject: [PATCH] rename files --- ..._local_data_commitment.rs => local_data_commitment.rs} | 0 state/src/errors/mod.rs | 8 ++++---- .../{verify_record_commitment.rs => record_commitment.rs} | 0 ..._local_data_commitment.rs => local_data_commitment.rs} | 2 +- state/src/local_data_commitment/mod.rs | 4 ++-- state/src/record_commitment/mod.rs | 4 ++-- .../{verify_record_commitment.rs => record_commitment.rs} | 0 7 files changed, 9 insertions(+), 9 deletions(-) rename state/src/errors/{verify_local_data_commitment.rs => local_data_commitment.rs} (100%) rename state/src/errors/{verify_record_commitment.rs => record_commitment.rs} (100%) rename state/src/local_data_commitment/{verify_local_data_commitment.rs => local_data_commitment.rs} (96%) rename state/src/record_commitment/{verify_record_commitment.rs => record_commitment.rs} (100%) diff --git a/state/src/errors/verify_local_data_commitment.rs b/state/src/errors/local_data_commitment.rs similarity index 100% rename from state/src/errors/verify_local_data_commitment.rs rename to state/src/errors/local_data_commitment.rs diff --git a/state/src/errors/mod.rs b/state/src/errors/mod.rs index cfa49d974c..38a61a49ea 100644 --- a/state/src/errors/mod.rs +++ b/state/src/errors/mod.rs @@ -7,8 +7,8 @@ pub use self::state_leaf_values::*; pub mod state_values; pub use self::state_values::*; -pub mod verify_local_data_commitment; -pub use self::verify_local_data_commitment::*; +pub mod local_data_commitment; +pub use self::local_data_commitment::*; -pub mod verify_record_commitment; -pub use self::verify_record_commitment::*; +pub mod record_commitment; +pub use self::record_commitment::*; diff --git a/state/src/errors/verify_record_commitment.rs b/state/src/errors/record_commitment.rs similarity index 100% rename from state/src/errors/verify_record_commitment.rs rename to state/src/errors/record_commitment.rs diff --git a/state/src/local_data_commitment/verify_local_data_commitment.rs b/state/src/local_data_commitment/local_data_commitment.rs similarity index 96% rename from state/src/local_data_commitment/verify_local_data_commitment.rs rename to state/src/local_data_commitment/local_data_commitment.rs index 63f38c956e..09bceda873 100644 --- a/state/src/local_data_commitment/verify_local_data_commitment.rs +++ b/state/src/local_data_commitment/local_data_commitment.rs @@ -1,4 +1,4 @@ -use crate::{record_commitment::verify_record_commitment, LocalDataVerificationError, StateLeafValues, StateValues}; +use crate::{verify_record_commitment, LocalDataVerificationError, StateLeafValues, StateValues}; use leo_typed::Input as TypedInput; use snarkos_algorithms::commitment_tree::CommitmentMerklePath; diff --git a/state/src/local_data_commitment/mod.rs b/state/src/local_data_commitment/mod.rs index 2f13f6333c..77a5949d51 100644 --- a/state/src/local_data_commitment/mod.rs +++ b/state/src/local_data_commitment/mod.rs @@ -4,5 +4,5 @@ pub use self::state_values::*; pub mod state_leaf_values; pub use self::state_leaf_values::*; -pub mod verify_local_data_commitment; -pub use self::verify_local_data_commitment::*; +pub mod local_data_commitment; +pub use self::local_data_commitment::*; diff --git a/state/src/record_commitment/mod.rs b/state/src/record_commitment/mod.rs index 9f92e4a742..9d2f688f6e 100644 --- a/state/src/record_commitment/mod.rs +++ b/state/src/record_commitment/mod.rs @@ -1,5 +1,5 @@ pub mod dpc_record_values; pub use self::dpc_record_values::*; -pub mod verify_record_commitment; -pub use self::verify_record_commitment::*; +pub mod record_commitment; +pub use self::record_commitment::*; diff --git a/state/src/record_commitment/verify_record_commitment.rs b/state/src/record_commitment/record_commitment.rs similarity index 100% rename from state/src/record_commitment/verify_record_commitment.rs rename to state/src/record_commitment/record_commitment.rs