remove unnecessary code blocks
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
parent
e7a191d5e7
commit
85f1dc9646
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "ghost-weaver"
|
name = "ghost-weaver"
|
||||||
version = "0.0.0"
|
version = "0.0.1"
|
||||||
description = "Weaving a secure cryptographic tapestry across different external chains."
|
description = "Weaving a secure cryptographic tapestry across different external chains."
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
|
|||||||
@ -47,7 +47,7 @@ mod tests;
|
|||||||
#[cfg(feature = "runtime-benchmarks")]
|
#[cfg(feature = "runtime-benchmarks")]
|
||||||
mod benchmarking;
|
mod benchmarking;
|
||||||
|
|
||||||
#[cfg(any(test, feature = "runtime-benchmarks"))]
|
#[cfg(any(test))]
|
||||||
mod mock;
|
mod mock;
|
||||||
|
|
||||||
use crate::errors::*;
|
use crate::errors::*;
|
||||||
|
|||||||
@ -220,16 +220,6 @@ impl<Block, NetworkId, AuthIndex> AttestationMetadata<Block, NetworkId, AuthInde
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Default, Clone, Encode, Decode, TypeInfo, MaxEncodedLen)]
|
|
||||||
pub struct NetworkAttestation<Block, BoundedMap>
|
|
||||||
where
|
|
||||||
Block: AtLeast32BitUnsigned + Encode + Decode + TypeInfo + MaxEncodedLen + Default,
|
|
||||||
BoundedMap: Encode + Decode + TypeInfo + MaxEncodedLen + Default + Clone,
|
|
||||||
{
|
|
||||||
pub until: Block,
|
|
||||||
pub map: BoundedMap,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Default, Copy, Clone, Encode, Decode, TypeInfo, MaxEncodedLen)]
|
#[derive(Default, Copy, Clone, Encode, Decode, TypeInfo, MaxEncodedLen)]
|
||||||
pub struct TapestryDraft<Block: AtLeast32BitUnsigned> {
|
pub struct TapestryDraft<Block: AtLeast32BitUnsigned> {
|
||||||
pub until: Block,
|
pub until: Block,
|
||||||
@ -277,12 +267,6 @@ where
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Default, Copy, Clone, Encode, Decode, TypeInfo, MaxEncodedLen)]
|
|
||||||
pub struct LoomState {
|
|
||||||
pub hash: H256,
|
|
||||||
pub pulled_threads: ThreadId,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Clone, Encode, Decode, Eq, PartialEq, RuntimeDebug, TypeInfo, MaxEncodedLen)]
|
#[derive(Clone, Encode, Decode, Eq, PartialEq, RuntimeDebug, TypeInfo, MaxEncodedLen)]
|
||||||
pub struct ThreadPayload<Balance: UniqueSaturatedInto<u128>> {
|
pub struct ThreadPayload<Balance: UniqueSaturatedInto<u128>> {
|
||||||
proof_index: ThreadId,
|
proof_index: ThreadId,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user