Files
giza-kmp/docs/tools/engine-interop/old/build.gradle.kts
T
Kgothatso NgakoandClaude Opus 5.5 a08a878935 docs(tools): the shipped engine against the old one, both ways, three epochs (quartz-mls-marmot-update, Phase 3)
docs/tools/engine-interop runs marmot-kmp 2.3.0 over mls-kmp 1.3.1 against
quartz 1.15.2's engine -- the one a Bennu peer on that version runs -- in two
JVMs over a pipe, since one build cannot hold two versions of the quartz group.
Each side creates a room in turn; the other joins by Welcome, applies two more
commits and reads a message each way at every epoch. 20 checks, all green, so
mls 1.3.1's new epoch-0 shape costs nothing against the old engine.

The note records Phase 3, including the first draft of the epoch-0 test, which
asserted a restore-time repair mls-kmp drafted and then removed before 1.3.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 11:22:00 +02:00

15 lines
620 B
Kotlin

plugins {
kotlin("jvm") version "2.4.10"
application
}
dependencies {
// The engine the app shipped before marmot-kmp, and the one a Bennu peer on that version
// runs. From Maven Central: this build is separate from ../new because Magpie serves the
// quartz group exclusively, and its relay has nothing older than 2.19.0.
implementation("com.vitorpamplona.quartz:quartz:1.15.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.11.0")
runtimeOnly("fr.acinq.secp256k1:secp256k1-kmp-jni-jvm:0.24.0")
}
kotlin { jvmToolchain(21) }
application { mainClass.set("OldPeerKt") }