Adds missing actual implementations on iOS

This commit is contained in:
Vitor Pamplona
2026-02-17 19:00:24 -05:00
parent c4e3d99392
commit cf7bdef028
5 changed files with 122 additions and 23 deletions
@@ -170,7 +170,7 @@ class GiftWrapReceivingBenchmark {
wrap.pubKey.hexToByteArray(),
)
benchmarkRule.measureRepeated { assertNotNull(innerJson?.let { Event.fromJson(it) }) }
benchmarkRule.measureRepeated { assertNotNull(innerJson.let { Event.fromJson(it) }) }
}
@Test
@@ -205,6 +205,6 @@ class GiftWrapReceivingBenchmark {
seal.pubKey.hexToByteArray(),
)
benchmarkRule.measureRepeated { assertNotNull(innerJson?.let { Rumor.fromJson(it) }) }
benchmarkRule.measureRepeated { assertNotNull(innerJson.let { Rumor.fromJson(it) }) }
}
}
@@ -138,7 +138,7 @@ class GiftWrapSigningBenchmark {
benchmarkRule.measureRepeated {
runBlocking {
GiftWrapEvent.create(
event = seal!!,
event = seal,
recipientPubKey = receiver.pubKey,
)
}