From a7c5104f46ff8894bf0bc20b0dff1486ad1b3c7a Mon Sep 17 00:00:00 2001 From: rabsef-bicrym <52549148+rabsef-bicrym@users.noreply.github.com> Date: Fri, 6 May 2022 13:42:11 -0700 Subject: [PATCH] Solve #5706 - Create vase at each branch of `t.t.t.t.path` #5706 describes an issue with using `!>` higher up in `graph-store` where multiple types are potentially included in the vase's construction, resulting in a type of `?((unit time) update-log:store)` when scrying the internals - no fun! --- pkg/landscape/app/graph-store.hoon | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkg/landscape/app/graph-store.hoon b/pkg/landscape/app/graph-store.hoon index 8ab7ab012..2e5db90fd 100644 --- a/pkg/landscape/app/graph-store.hoon +++ b/pkg/landscape/app/graph-store.hoon @@ -679,20 +679,19 @@ =/ update-log (~(get by update-logs) [ship term]) :- ~ :- ~ :- %noun - !> ?+ t.t.t.t.path (on-peek:def path) ~ - ^- update-log:store + !> ^- update-log:store ?~(update-log *update-log:store u.update-log) :: [%latest ~] - ^- (unit time) + !> ^- (unit time) %+ biff update-log |= =update-log:store (bind (pry:orm-log:store update-log) head) :: [%subset @ @ ~] - ^- update-log:store + !> ^- update-log:store ?~ update-log *update-log:store =* start i.t.t.t.t.t.path =* end i.t.t.t.t.t.t.path