remove unnecessary code blocks

Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
Uncle Stinky 2026-08-31 15:02:05 +03:00
parent e7a191d5e7
commit 85f1dc9646
Signed by: st1nky
GPG Key ID: 016064BD97603B40
3 changed files with 2 additions and 18 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "ghost-weaver"
version = "0.0.0"
version = "0.0.1"
description = "Weaving a secure cryptographic tapestry across different external chains."
license.workspace = true
authors.workspace = true

View File

@ -47,7 +47,7 @@ mod tests;
#[cfg(feature = "runtime-benchmarks")]
mod benchmarking;
#[cfg(any(test, feature = "runtime-benchmarks"))]
#[cfg(any(test))]
mod mock;
use crate::errors::*;

View File

@ -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)]
pub struct TapestryDraft<Block: AtLeast32BitUnsigned> {
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)]
pub struct ThreadPayload<Balance: UniqueSaturatedInto<u128>> {
proof_index: ThreadId,