From 0e8ff36857700d0711475007eabb17e446c60f05 Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Wed, 19 May 2021 18:47:11 +0000 Subject: [PATCH] graph-validators: hotfix broken vale:dais caused by removal of +bunt from clay --- pkg/arvo/app/graph-store.hoon | 1 - pkg/arvo/mar/graph/validator/chat.hoon | 2 +- pkg/arvo/mar/graph/validator/link.hoon | 2 +- pkg/arvo/mar/graph/validator/post.hoon | 2 +- pkg/arvo/mar/graph/validator/publish.hoon | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pkg/arvo/app/graph-store.hoon b/pkg/arvo/app/graph-store.hoon index 6763317fc..6c7f778f0 100644 --- a/pkg/arvo/app/graph-store.hoon +++ b/pkg/arvo/app/graph-store.hoon @@ -1,6 +1,5 @@ :: graph-store [landscape] :: -:: /+ store=graph-store, sigs=signatures, res=resource, default-agent, dbug, verb ~% %graph-store-top ..part ~ |% diff --git a/pkg/arvo/mar/graph/validator/chat.hoon b/pkg/arvo/mar/graph/validator/chat.hoon index 53c10c9f0..f1a0a1684 100644 --- a/pkg/arvo/mar/graph/validator/chat.hoon +++ b/pkg/arvo/mar/graph/validator/chat.hoon @@ -33,7 +33,7 @@ ++ grab |% ++ noun - |= p=* + |: p=`*`%*(. *indexed-post index.p [0 ~]) =/ ip ;;(indexed-post p) ?> ?=([@ ~] index.p.ip) ip diff --git a/pkg/arvo/mar/graph/validator/link.hoon b/pkg/arvo/mar/graph/validator/link.hoon index d87701864..3f0164c36 100644 --- a/pkg/arvo/mar/graph/validator/link.hoon +++ b/pkg/arvo/mar/graph/validator/link.hoon @@ -49,7 +49,7 @@ ++ grab |% ++ noun - |= p=* + |: p=`*`%*(. *indexed-post index.p [0 0 ~]) =/ ip ;;(indexed-post p) ?+ index.p.ip ~|(index+index.p.ip !!) :: top-level link post; title and url diff --git a/pkg/arvo/mar/graph/validator/post.hoon b/pkg/arvo/mar/graph/validator/post.hoon index a12e62e72..15c9a3f01 100644 --- a/pkg/arvo/mar/graph/validator/post.hoon +++ b/pkg/arvo/mar/graph/validator/post.hoon @@ -43,7 +43,7 @@ :: +noun: validate post :: ++ noun - |= p=* + |: p=`*`%*(. *indexed-post contents.p [%text '']~) =/ ip ;;(indexed-post p) ?> ?=(^ contents.p.ip) ip diff --git a/pkg/arvo/mar/graph/validator/publish.hoon b/pkg/arvo/mar/graph/validator/publish.hoon index c8da4405c..d19812b3e 100644 --- a/pkg/arvo/mar/graph/validator/publish.hoon +++ b/pkg/arvo/mar/graph/validator/publish.hoon @@ -58,7 +58,7 @@ :: +noun: validate publish note :: ++ noun - |= p=* + |: p=`*`%*(. *indexed-post index.p [0 ~]) =/ ip ;;(indexed-post p) ?+ index.p.ip !! :: top level post must have no content