huskies: merge 977

This commit is contained in:
dave
2026-05-13 15:07:11 +00:00
parent dcb43c465a
commit f268dca5bb
14 changed files with 59 additions and 758 deletions
+2 -3
View File
@@ -2,8 +2,7 @@
use std::collections::{HashMap, HashSet};
use fastcrypto::ed25519::Ed25519KeyPair;
use fastcrypto::traits::KeyPair;
use crate::keypair::Ed25519KeyPair;
use crate::debug::DebugView;
use crate::keypair::SignedDigest;
@@ -36,7 +35,7 @@ impl<T: CrdtNode + DebugView> BaseCrdt<T> {
/// routing messages to the right BaseCRDT. Usually you should just make a single
/// struct that contains all the state you need.
pub fn new(keypair: &Ed25519KeyPair) -> Self {
let id = keypair.public().0.to_bytes();
let id = keypair.verifying_key().to_bytes();
Self {
id,
doc: T::new(id, vec![]),