pill: restore solid pill

This commit is contained in:
yosoyubik 2021-12-10 16:19:59 +01:00
parent c467d5aa67
commit f6dca03786
7 changed files with 18 additions and 11 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e79296644adeb15e9fc73ede547c996270659358a61e627cb4056b89c04f7b08
size 26099275
oid sha256:c29577dc949ac0689ba3c97ad13b812ea6c3c6cc9d255b770d2da95fd9af84b9
size 23121802

View File

@ -8,15 +8,16 @@
dbug
:: Generally don't update the snapshot until we have clay tombstoning.
::
/* snap %azimuth /app/azimuth/state/azimuth
/* snap %azimuth-snapshot /app/azimuth/version-0/azimuth-snapshot
:: /* snap %azimuth /app/azimuth/state/azimuth
:: To update, run from dojo:
:: -azimuth-snap-state %default 'state'
:: -azimuth-snap-state %default 'version-0'
::
:: To recreate from a list of logs:
:: =e -build-file %/lib/ethereum/hoon
:: =l .^((list event-log:rpc:e) %gx /=azimuth=/logs/noun)
:: */app/azimuth/logs/eth-logs &eth-logs l
:: -azimuth-snap-logs %default 'state'
:: -azimuth-snap-logs %default 'version-0'
::
=/ snap=snap-state snap
=/ last-snap=@ number.id.snap

View File

@ -60,8 +60,11 @@
leaf+"owners: {<~(wyt by owners)>}"
==
::
=/ =path /app/azimuth/[name]/azimuth
=/ =cage azimuth+!>([%0 id nas owners sponsors])
=/ =path /app/azimuth/[name]/azimuth-snapshot
=/ =cage
:- %azimuth-snapshot
!> ^- snap-state
[%0 id nas owners sponsors]
=/ =task [%info %base %& [path %ins cage]~]
=/ =card [%pass /next %arvo %c task]
;< ~ bind:m (send-raw-card:strandio card)

View File

@ -30,8 +30,11 @@
leaf+"owners: {<~(wyt by owners)>}"
==
::
=/ =path /app/azimuth/[name]/azimuth
=/ =cage azimuth+!>([%0 id nas owners sponsors])
=/ =path /app/azimuth/[name]/azimuth-snapshot
=/ =cage
:- %azimuth-snapshot
!> ^- snap-state
[%0 id nas owners sponsors]
=/ =task [%info %base %& [path %ins cage]~]
=/ =card [%pass /next %arvo %c task]
;< ~ bind:m (send-raw-card:strandio card)

View File

@ -84,11 +84,11 @@
:_ hav
:+ lyt
mark=;;(@tas (head tyl))
?. ?=([%azimuth *] tyl)
?. ?=([%azimuth-snapshot *] tyl)
noun=.^(* %cx pax)
=; convert
mime=(convert .^(snap-state %cx pax))
.^($-(snap-state mime) %cf (weld bas /azimuth/mime))
.^($-(snap-state mime) %cf (weld bas /azimuth-snapshot/mime))
=/ all ~(tap by dir.lon)
|- ^+ hav
?~ all hav