From dd2ec3f05f3575d814e199a6d35dee1d2ff3e56f Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Sat, 28 Mar 2026 11:50:43 -0400 Subject: [PATCH] moves the initialization of the Secp lib to the setup of the test to make sure it doesn't affect the expiration timing tests. --- .../quartz/nip01Core/store/sqlite/BaseDBTest.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/quartz/src/commonTest/kotlin/com/vitorpamplona/quartz/nip01Core/store/sqlite/BaseDBTest.kt b/quartz/src/commonTest/kotlin/com/vitorpamplona/quartz/nip01Core/store/sqlite/BaseDBTest.kt index 8ab0e902c..10a587176 100644 --- a/quartz/src/commonTest/kotlin/com/vitorpamplona/quartz/nip01Core/store/sqlite/BaseDBTest.kt +++ b/quartz/src/commonTest/kotlin/com/vitorpamplona/quartz/nip01Core/store/sqlite/BaseDBTest.kt @@ -20,8 +20,7 @@ */ package com.vitorpamplona.quartz.nip01Core.store.sqlite -import com.vitorpamplona.quartz.nip01Core.store.sqlite.DefaultIndexingStrategy -import com.vitorpamplona.quartz.nip01Core.store.sqlite.EventStore +import com.vitorpamplona.quartz.utils.Secp256k1Instance import kotlin.test.AfterTest import kotlin.test.BeforeTest @@ -38,6 +37,9 @@ open class BaseDBTest { @BeforeTest fun setup() { + // Load our crypto libs + Secp256k1Instance + val booleans = listOf(true, false) dbs = mutableMapOf()