feat(client): expose probe send commitment through typed receipts

This commit is contained in:
Nils Andreas Svee committed 2026-10-04 19:14:06 +07:00
1 parent eebe83986a
commit a6ba335302
18 files changed
+322 -122

No files matched your search

@@ -243,8 +243,7 @@ where
.unwrap();
let negotiated = assert_started(client.open().unwrap());
let sent_events = client.send_probe().unwrap();
assert_eq!(sent_events.len(), 1);
let receipt = client.send_probe().unwrap();
let reply_events = client.recv_once().unwrap();
assert_eq!(reply_events.len(), 1);
@@ -254,7 +253,7 @@ where
OneProbeRun {
negotiated,
sent: sent_events.into_iter().next().unwrap(),
sent: receipt.into(),
reply: reply_events.into_iter().next().unwrap(),
observations,
}