Skip to content
Draft

wip #2283

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions node/src/mev_shield/author.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,10 @@ impl Default for ShieldKeys {
}

/// Shared context state.
#[freeze_struct("62af7d26cf7c1271")]
#[freeze_struct("245b565abca7d403")]
#[derive(Clone)]
pub struct ShieldContext {
pub keys: Arc<Mutex<ShieldKeys>>,
pub timing: TimeParams,
}

/// Derive AEAD key directly from the 32‑byte ML‑KEM shared secret.
Expand Down Expand Up @@ -153,7 +152,6 @@ where
{
let ctx = ShieldContext {
keys: Arc::new(Mutex::new(ShieldKeys::new())),
timing: timing.clone(),
};

let aura_keys: Vec<sp_core::sr25519::Public> = keystore.sr25519_public_keys(AURA_KEY_TYPE);
Expand Down
Loading
Loading