From a81717e53cf43dcb64454717f5301fc6c6c8c90e Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 25 Oct 2026 23:30:20 +0100 Subject: [PATCH] Seal the seeded account in the adapter-input test, the second fixture of its kind (issue 1945, PR #467) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The kind: a test that seeds a bus account without sealing it, which an account counted as issued only once sealed (ADR 0543 §2) no longer counts. The whole integration level, run locally, found two: the addresses test (fixed before) and TestTheAdaptersInputCarriesTheOwnSecretsTheBoxesTheLicencesAndTheBus. Test only. --- .../compose_input_credentials_integration_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/mesh-controller/compose_input_credentials_integration_test.go b/cmd/mesh-controller/compose_input_credentials_integration_test.go index 411ea852..09ca3614 100644 --- a/cmd/mesh-controller/compose_input_credentials_integration_test.go +++ b/cmd/mesh-controller/compose_input_credentials_integration_test.go @@ -217,6 +217,11 @@ func TestTheAdaptersInputCarriesTheOwnSecretsTheBoxesTheLicencesAndTheBus(t *tes Module: "objects"}, "a-password"); err != nil { t.Fatal(err) } + // Minted and sealed to its node: an account counts as issued, and is named among the minted, only once sealed + // (ADR 0543 §2, PR #467). + if err := inv.MarkBusAccountSealed(ctx, "anchor.objects"); err != nil { + t.Fatal(err) + } if err := inv.PutBusMembership(ctx, "laptop", "sealed-membership"); err != nil { t.Fatal(err) }