diff options
| author | tv <tv@krebsco.de> | 2026-11-29 04:00:43 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-29 04:00:43 +0000 |
| commit | 2ae7562083f5f96490f90e9398762cf6a024d51e (patch) | |
| tree | 5e23c6bda5682e39413fe557348023cc4204d487 /src/simtest | |
| parent | f497cf6ef14de8204bc1edec078116593d791b97 (diff) | |
document: a unit's name, which the swarm passes on by
document::UnitId: the name of a unit of a document as its kind has it,
an Automerge change's hash. What the swarm announces, forwards along
trees, tells a peer it refused and drops is named so (the
dissemination, relay, refusals, AppState::drop_taken), and the session
is told so what a peer gets from another; a change's hash it is where
the document is asked, and on the wire.
Diffstat (limited to 'src/simtest')
| -rw-r--r-- | src/simtest/policy.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simtest/policy.rs b/src/simtest/policy.rs index e58f0c3..3531ac7 100644 --- a/src/simtest/policy.rs +++ b/src/simtest/policy.rs @@ -847,7 +847,7 @@ async fn a_refusal_naming_the_root() { replica.epoch_seq, ) }; - crate::swarm::refusals::tell(&a, b.local_id(), epoch, epoch_seq, vec![root]).await; + crate::swarm::refusals::tell(&a, b.local_id(), epoch, epoch_seq, vec![root.into()]).await; tokio::time::sleep(Duration::from_secs(3)).await; assert!(holds(&b, "notes/x").await, "b dropped its document"); assert_eq!(b.remake.list_quarantine(|entry| entry.id.clone()).len(), 0); |
