Skip to content

Commit

Permalink
add namespace change
Browse files Browse the repository at this point in the history
  • Loading branch information
kaythxbye committed Jul 2, 2024
1 parent 817e6ad commit 10b0b66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions pact/dia-namespace.pact
Original file line number Diff line number Diff line change
@@ -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"))
6 changes: 3 additions & 3 deletions pact/dia-oracle.pact
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 10b0b66

Please sign in to comment.