From 10b0b668c64d6a5c5a46c02d7d679fea40cc8e55 Mon Sep 17 00:00:00 2001 From: Samuel Brack Date: Tue, 2 Jul 2024 13:11:06 +0200 Subject: [PATCH] add namespace change --- pact/dia-namespace.pact | 3 +++ pact/dia-oracle.pact | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 pact/dia-namespace.pact diff --git a/pact/dia-namespace.pact b/pact/dia-namespace.pact new file mode 100644 index 0000000..d9ac9a2 --- /dev/null +++ b/pact/dia-namespace.pact @@ -0,0 +1,3 @@ +(enforce-keyset (read-keyset 'admin-keyset)) + +(define-namespace (ns.create-principal-namespace (read-keyset "admin-keyset")) (read-keyset "admin-keyset") (read-keyset "admin-keyset")) diff --git a/pact/dia-oracle.pact b/pact/dia-oracle.pact index 073e8b4..be4248b 100644 --- a/pact/dia-oracle.pact +++ b/pact/dia-oracle.pact @@ -1,7 +1,7 @@ -(namespace "free") +(namespace "n_bfb76eab37bf8c84359d6552a1d96a309e030b71") (enforce-keyset (read-keyset 'admin-keyset)) -(define-keyset "free.dia-admin-keyset" (read-keyset 'admin-keyset)) +(define-keyset "n_bfb76eab37bf8c84359d6552a1d96a309e030b71.dia-admin-keyset" (read-keyset 'admin-keyset)) (module dia-oracle GOVERNANCE @doc "DIA key/value oracle with support for multiple updates in a single tx" @@ -10,7 +10,7 @@ [ (defproperty admin-authorized (authorized-by ADMIN_KEYSET)) ] - (defconst ADMIN_KEYSET "free.dia-admin-keyset") + (defconst ADMIN_KEYSET "n_bfb76eab37bf8c84359d6552a1d96a309e030b71.dia-admin-keyset") (defconst UNIX_EPOCH (parse-time "%s" "0") "Zero Unix epoch") (defschema value-schema