Skip to content

Commit 476c221

Browse files
committed
Rename merkle module
1 parent 7eacbba commit 476c221

File tree

15 files changed

+10
-10
lines changed

15 files changed

+10
-10
lines changed

crates/kilt-dip-primitives/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#![cfg_attr(not(feature = "std"), no_std)]
2828

2929
/// Module to deal with cross-chain Merkle proof as generated by the KILT chain.
30-
pub mod merkle;
30+
pub mod merkle_proofs;
3131
/// Module to deal with cross-chain state proofs.
3232
pub mod state_proofs;
3333
/// Collection of traits used throughout the crate and useful for both providers
@@ -38,6 +38,6 @@ pub mod utils;
3838
/// deployed both on a sibling parachain and on a parent relaychain.
3939
pub mod verifier;
4040

41-
pub use merkle::latest::*;
41+
pub use merkle_proofs::latest::*;
4242
pub use traits::RelayStateRootsViaRelayStorePallet;
4343
pub use verifier::*;

crates/kilt-dip-primitives/src/merkle/v0/dip_subject_state/mod.rs renamed to crates/kilt-dip-primitives/src/merkle_proofs/v0/dip_subject_state/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use sp_runtime::{traits::SaturatedConversion, BoundedVec};
2525
use sp_std::vec::Vec;
2626

2727
use crate::{
28-
merkle::v0::{
28+
merkle_proofs::v0::{
2929
input_common::TimeBoundDidSignature,
3030
output_common::{DidKeyRelationship, DipOriginInfo, RevealedDidKey, RevealedDidMerkleProofLeaf},
3131
},

crates/kilt-dip-primitives/src/merkle/v0/input_common.rs renamed to crates/kilt-dip-primitives/src/merkle_proofs/v0/input_common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use parity_scale_codec::{Decode, Encode};
2121
use scale_info::TypeInfo;
2222
use sp_std::vec::Vec;
2323

24-
use crate::{merkle::v0::output_common::RevealedDidMerkleProofLeaf, utils::BoundedBlindedValue};
24+
use crate::{merkle_proofs::v0::output_common::RevealedDidMerkleProofLeaf, utils::BoundedBlindedValue};
2525

2626
/// The state proof for a parachain head.
2727
///

crates/kilt-dip-primitives/src/merkle/v0/provider_state/mod.rs renamed to crates/kilt-dip-primitives/src/merkle_proofs/v0/provider_state/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use sp_std::{fmt::Debug, vec::Vec};
2828
use sp_trie::{verify_trie_proof, LayoutV1};
2929

3030
use crate::{
31-
merkle::v0::{
31+
merkle_proofs::v0::{
3232
dip_subject_state::DipRevealedDetailsAndUnverifiedDidSignature,
3333
input_common::{DidMerkleProof, DipCommitmentStateProof, ProviderHeadStateProof, TimeBoundDidSignature},
3434
},

0 commit comments

Comments
 (0)