Fixing CRDT tests

This commit is contained in:
Dave Hrycyszyn
2024-06-25 14:09:41 +01:00
parent 9c00a7f30a
commit 6b29d49aaa
3 changed files with 20 additions and 14 deletions

View File

@@ -20,7 +20,7 @@ use serde_json::json;
// 5. block actual messages from honest actors (eclipse attack)
#[add_crdt_fields]
#[derive(Clone, CrdtNode)]
#[derive(Clone, CrdtNode, Debug)]
struct ListExample {
list: ListCrdt<char>,
}
@@ -91,13 +91,13 @@ fn test_forge_update() {
}
#[add_crdt_fields]
#[derive(Clone, CrdtNode)]
#[derive(Clone, CrdtNode, Debug)]
struct Nested {
a: Nested2,
}
#[add_crdt_fields]
#[derive(Clone, CrdtNode)]
#[derive(Clone, CrdtNode, Debug)]
struct Nested2 {
b: LwwRegisterCrdt<bool>,
}