upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/grasp-audit/src/fixtures.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-12-24 08:02:12 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-12-24 11:54:18 +0000
commit70d0197e85ae4ef85202781f6d2dc9e76bd508b3 (patch)
tree45efb6565e81ba755acc5955e68d5b7119d1e122 /grasp-audit/src/fixtures.rs
parentf8c3e3920ed2a1bdaab30be912276993449a5476 (diff)
feat(purgatory): add broken purgatory implementation
Diffstat (limited to 'grasp-audit/src/fixtures.rs')
-rw-r--r--grasp-audit/src/fixtures.rs12
1 files changed, 10 insertions, 2 deletions
diff --git a/grasp-audit/src/fixtures.rs b/grasp-audit/src/fixtures.rs
index dca204b..30df6e3 100644
--- a/grasp-audit/src/fixtures.rs
+++ b/grasp-audit/src/fixtures.rs
@@ -1172,7 +1172,11 @@ impl<'a> TestContext<'a> {
1172 1172
1173 tokio::time::sleep(Duration::from_millis(200)).await; 1173 tokio::time::sleep(Duration::from_millis(200)).await;
1174 1174
1175 if !self.client.is_event_on_relay(maintainer_state_event.id).await? { 1175 if !self
1176 .client
1177 .is_event_on_relay(maintainer_state_event.id)
1178 .await?
1179 {
1176 return Err(anyhow::anyhow!("state event not released from purgatory")); 1180 return Err(anyhow::anyhow!("state event not released from purgatory"));
1177 } 1181 }
1178 1182
@@ -1345,7 +1349,11 @@ impl<'a> TestContext<'a> {
1345 1349
1346 tokio::time::sleep(Duration::from_millis(200)).await; 1350 tokio::time::sleep(Duration::from_millis(200)).await;
1347 1351
1348 if !self.client.is_event_on_relay(recursive_maintainer_state_event.id).await? { 1352 if !self
1353 .client
1354 .is_event_on_relay(recursive_maintainer_state_event.id)
1355 .await?
1356 {
1349 return Err(anyhow::anyhow!("state event not released from purgatory")); 1357 return Err(anyhow::anyhow!("state event not released from purgatory"));
1350 } 1358 }
1351 1359