Commit Graph

6325 Commits

Author SHA1 Message Date
Jōshin
29a6692784
khan: minor whitespace cleanup 2022-03-26 09:17:38 -06:00
Jōshin
83baaaafa0
lull, zuse: cool 2022-03-26 09:17:28 -06:00
Philip Monk
ee3951e2df clay: require non-dead files at head of remote 2022-03-25 22:15:53 -07:00
Philip Monk
4278d4c8b3
Merge pull request #5673 from urbit/philip/fix-uno
hoon: fix +uno:by when map is null
2022-03-25 18:23:32 -07:00
Philip Monk
07d01a0071 Merge branch 'philip/fix-uno' into philip/tomb 2022-03-25 18:11:34 -07:00
Philip Monk
50fb239d2f hoon: fix +uno:by when map is null
This crashed at runtime when `a` is null because it tried to instantiate
`meg`, and that means bunting its argument, and that calls `node`, where
the assert failed.

Wet gates use the bunt of their formal argument, so we use that.
2022-03-25 18:08:13 -07:00
Philip Monk
6e641005a0 clay: add upgrade to %11 2022-03-25 18:02:22 -07:00
Philip Monk
fb3f74f639 clay: prefer life 2022-03-25 15:32:38 -07:00
drbeefsupreme
5d9d4af0c0
squash! squash! squash! naive: l2 csv more informative printfs & comments 2022-03-25 18:10:29 -04:00
drbeefsupreme
656a86479f
spider: fix child threads
addresses #5442 by adding %thread-done and %thread-fail marks. also
fixes await-thread:strandio and removes some blank lines from
app/spider.hoon

%thread-done loses the type of the result, so you'll need to use ;; to
get it back. the real way to fix this is to have threads produce cages
instead of vases
2022-03-25 18:01:48 -04:00
drbeefsupreme
534849ba92
squash! squash! naive: l2 csv more informative printfs & comments 2022-03-25 17:42:43 -04:00
drbeefsupreme
48d3b3f4d2
squash! naive: l2 csv more informative printfs & comments 2022-03-25 17:25:24 -04:00
drbeefsupreme
2de2b8cbd0
naive: l2 csv more informative printfs & comments 2022-03-25 17:17:45 -04:00
drbeefsupreme
1941c91215
naive: l2 csv factor out %eth-get-tx-receipts
adds a new thread for retrieving transaction receipts, and modifies
naive-csv
to call it as a child thread
2022-03-25 17:04:45 -04:00
drbeefsupreme
efca5bfedc
naive: l2 csv factor out %eth-get-timestamps
requires child threads to be working
2022-03-25 16:17:40 -04:00
Philip Monk
ef9521272a Merge remote-tracking branch 'origin/lf/ford-memory-shit' into philip/tomb 2022-03-25 13:13:24 -07:00
Philip Monk
c5fda496ac clay: add basic %tomb 2022-03-25 13:13:09 -07:00
Philip Monk
fb05255a83 clay: align comments 2022-03-25 12:38:51 -07:00
Philip Monk
99a10aa7a8 clay: use XX for things that really need to change 2022-03-25 12:33:48 -07:00
Philip Monk
0c3eee07b5 Merge remote-tracking branch 'origin/master' into philip/tomb 2022-03-25 12:21:56 -07:00
drbeefsupreme
4a403a676d
naive: l2 csv add @da to saved file 2022-03-25 11:28:45 -04:00
drbeefsupreme
9cb1cde9b4
naive: l2 csv change gasUsed to effectiveGasPrice 2022-03-25 11:27:01 -04:00
drbeefsupreme
2fdce9e6ca
naive: l2 csv add ^sein:title field 2022-03-25 11:22:26 -04:00
Joe Bryan
d937e131a4 hoon: preserve structural sharing by testing subject/product equality in +burp 2022-03-25 10:28:05 -04:00
Joe Bryan
15e570a622 hoon: plug type leak in vase literals by properly burping %hint 2022-03-25 10:27:32 -04:00
Philip Monk
a6832975c7 helm: add poke to helm to allow self-breaching moons
Intended use is for transitory moons to be able to breach themselves on
startup.

If you run a moon without persistence, then every time the program is
restarted, it must be breached.  This lets the moon breach itself
instead of requiring direct interaction with the planet.  The moon
should reserve the first bone for this purpose, and then every time it
starts up, it should send [%helm-moon-breach ~moon-name] to hood on the
planet.
2022-03-24 19:20:01 -07:00
drbeefsupreme
61e70c928b
squash! naive: l2 csv refactoring for readability 2022-03-24 19:12:54 -04:00
drbeefsupreme
b0cee44497
naive: l2 csv refactoring for readability
semantics should be unchanged
2022-03-24 18:20:31 -04:00
fang
3259f1f588
aqua: fix most tests
Small touch-ups to simulation behavior and ph tests. Most of them pass
now, even if they're still really slow at times.

The breach ones don't pass, but also complain of dangling bone, so might
work once the fix for that is in.
2022-03-23 22:19:35 +01:00
Philip Monk
5ff4cc7f66
Merge pull request #5612 from ynx0/story
clay: add `story`, a set of tools to support commit messages
2022-03-22 21:49:16 -07:00
Philip Monk
17e237eae3 ted: remove unused -azimuth-tracker 2022-03-22 21:44:35 -07:00
drbeefsupreme
0786f62e8b
naive: l2 csv export csv file
passes to clay to ask it to write the csv to disk
2022-03-22 18:04:34 -04:00
drbeefsupreme
0f8ea20ac0
naive: l2 csv flatten data into list of tx
this takes all the gathered data and turns it into a list suitable for
transformation into a csv
2022-03-22 17:15:07 -04:00
fang
804c8a8bb7
aqua: use cache for fake ships only
Boot sequence for real ships contains %dawn, which is affected by
azimuth state and may not be consistent.
2022-03-21 20:29:23 +01:00
Liam Fitzgerald
dd70856188 clay: be careful with subject in ford results
This fixes a space leak where the entire ford/clay core would be
included in the ford cache. Heavily reduces memory usage by clay,
reducing total usage from 100-200MB to around 10MB.
2022-03-21 13:02:36 -06:00
Liam Fitzgerald
2def946ded clay: break out ford memory usage in more detail
Instead of reporting a single memory size for built files, marks and
conversions, we now report memory size per path, mark name and mark
pair, respectively.
2022-03-21 12:21:38 -06:00
Jōshin
4be43d5e28
hoon: fix comment whitespace 2022-03-21 10:24:27 -06:00
yosoyubik
cff562b4c6 Merge branch 'next/arvo' into roller/batch-split 2022-03-20 14:27:50 +01:00
yosoyubik
cf838fd1d7 roller: add batch-trimming functionality
If a batch gets bigger than a max size defined by the ethereum node
the raw transaction is sent to, the /ted/roller/send thread will crash and
the batch will be blocked, stopping any subsequent batches to be sent.

This detects when the current batch reaches a certain threshold and only
includes transactions up to that point, moving the ones that are not sent
back to the pending queue, adjusting their history and finding status.
2022-03-20 14:07:27 +01:00
fang
3a4993f58c
aqua: cache results of booting ships from pill
This gives us much higher cycle times when retrying tests over and over,
since we can just fast-forward past the boot sequence, which never
changes unless we change the pill.
2022-03-19 00:24:23 +01:00
drbeefsupreme
c304f62b34
naive: l2 csv all relevant data in one map
puts timestamps, gas costs, and rolls+their effects into one map
2022-03-17 17:16:09 -04:00
drbeefsupreme
5171ec367a
naive: l2 csv get naive effects
passing the event log to naive.hoon and harvesting the diffs
2022-03-17 14:13:54 -04:00
drbeefsupreme
bce1c9fe2a
squash! squash! naive: l2 csv - names for address, hash, blocknum 2022-03-17 12:51:54 -04:00
drbeefsupreme
01900b10d5
squash! naive: l2 csv - names for address, hash, blocknum 2022-03-17 12:25:30 -04:00
drbeefsupreme
8f1c9bbe66
naive: l2 csv - names for address, hash, blocknum
no semantic difference, just making the code more readable
2022-03-17 12:23:00 -04:00
fang
befc22c3a9
pill: use %pill mark, not %boot-pill
%pill already exists, whereas %boot-pill doesn't, so clearly the former
is more correct.
2022-03-17 17:03:10 +01:00
fang
ba511525c7
ph: remove deprecated migration testing threads 2022-03-17 17:01:55 +01:00
fang
250e750a89
spider: factor spider-arg type out into interface
And fix a callsite that wasn't conforming.
2022-03-16 21:10:31 +01:00
drbeefsupreme
903394f00f
naive: l2 csv add roller address to collated data 2022-03-15 20:19:33 -04:00
drbeefsupreme
758138d397
naive: l2 csv first data collation
collects block number, gas prices, and timestamps into one structure.
not finished.
2022-03-15 20:05:25 -04:00
drbeefsupreme
674e872d47
naive: L2 csv swap lists to maps
was using lists in a few places where maps would be more appropriate.
should probably actually be ordered maps but this is wip
2022-03-15 19:11:54 -04:00
drbeefsupreme
d09fb0e9c4
naive: L2 tx csv gas price request
logic for requesting gas price by transaction hash implemented
2022-03-15 18:09:07 -04:00
drbeefsupreme
4a6a1e9a71
naive: L2 csv transaction receipts
gets transaction receipts for a list of hashes, does not parse them yet
2022-03-15 17:34:00 -04:00
drbeefsupreme
417dc513e0
squash! naive: L2 csv thread refactor filters 2022-03-15 15:11:32 -04:00
drbeefsupreme
28aa3c0e56
naive: L2 csv thread refactor filters
just some cleaning, no semantic difference
2022-03-15 15:09:46 -04:00
drbeefsupreme
4e76c7487e
naive: l2 csv thread initial commit: timestamps
scries %azimuth for logs.state, filters the L2 events, and then gets
their timestamps. ought to use ted/eth/get-timestamps but doesn't due to
issues with spawning child threads, but there's probably a way to do it
without child threads
2022-03-15 14:40:41 -04:00
Yaseen
f487afd4ee story: marginal output formatting improvement to +story-list 2022-03-11 12:28:07 -05:00
Yaseen
341e27b5c3 story: enforce 80 cols, fix formatting, update comments 2022-03-11 12:08:40 -05:00
Yaseen
18537e0ae0 story: allow |story-write to also accept a lone title 2022-03-11 11:00:57 -05:00
Yaseen
add4452589 review: symlink base-dev files into arvo 2022-03-11 10:56:23 -05:00
Yaseen
a43dafdf44 review: align end comments 2022-03-11 10:48:35 -05:00
fang
3df227760f
hoon: hook up $+ for shorthand type rendering
Too often when dealing with big types the compiler traces and other such
outputs become hard to read. Wrapping a type as $+(shorthand big-type)
will now print #shorthand in place of the type.
2022-03-10 01:45:18 +01:00
ryjm
20fdae85a4 fix typo and beak 2022-03-08 10:13:04 -05:00
ryjm
dc03d866f8 arvo: language-server desk support 2022-03-06 15:45:47 -05:00
ryjm
155729ec8b %home -> %base
Mostly cosmetic, but also fixes `language-server` and parts of sundry
neglected components (the nix build for solid pills, aqua, gaze exports,
+help)
2022-03-06 11:55:55 -05:00
Jōshin
06fe78ef6e
Merge branch 'next/arvo' into jo/khan 2022-03-02 20:28:44 -06:00
Jōshin
0139550c79
khan: saner tic rollover, remove our 2022-03-02 20:15:44 -06:00
Jōshin
e54e92cfa9
khan: docs 2022-03-02 18:02:20 -06:00
Jōshin
9d50957861
arvo: remove $crag, promote $page 2022-03-02 17:59:56 -06:00
Jōshin
8afea3c2ba
arvo: $card is not a cask 2022-03-02 17:38:45 -06:00
Jōshin
d06d8044fd
test: confirm different tids on same eny 2022-03-02 17:30:56 -06:00
Jōshin
0b507cf498
khan: don't reset tic
instead make it a rolling 128-bit integer. 128 bits is the same size as
the +sham space, so is one natural choice for "big enough to never have
to think about this." 64, 32, 16, even 8 bits would probably be fine.
2022-03-02 17:28:10 -06:00
Jōshin
18274090b2
khan: handle multiple %fards in one event 2022-03-02 16:37:46 -06:00
Jōshin
5d7321385f
khan: separate arms by blank comments 2022-03-02 15:09:01 -06:00
Jōshin
1ef958ea25
khan: use +en-beam / +de-beam, wide form 2022-03-02 15:07:38 -06:00
Jōshin
02d796cddb
arvo: remove redundant * 2022-03-02 15:07:10 -06:00
Jōshin
e4b6fe6ad3
test: 1162 2022-03-02 13:25:10 -06:00
Jōshin
91d390d529
khan: update docs 2022-03-02 13:23:06 -06:00
Jōshin
340f4d5b6c
khan: %fard/%arow use $cage, not $vase
Threads should eventually take and produce $cage instead of $vase. Since
%khan is likely to be used by third parties, we write to the eventual
intended API. We ignore the mark on the input $cage (it is safe to
always specify %noun), and we always use %noun as the output mark.

%fyrd now makes more sense. It was previously discarding the type of the
output %arow and re-encoding the raw noun as a vase of the output mark;
it is now performing mark conversion from the mark of the output $cage
to the originally requested output mark.
2022-03-02 13:07:52 -06:00
Yaseen
a57cb822a3
Merge branch 'urbit:master' into story 2022-03-02 12:03:44 -05:00
lukechampine
53a0c87cdb ames: add sendkeys-packet 2022-03-02 00:56:57 -05:00
lukechampine
df6318acd0 ames: fix comet self-attestation handling 2022-03-02 00:52:48 -05:00
lukechampine
1044d42a15 ames: don't enqueue blobs sent to unknown comets 2022-03-02 00:46:18 -05:00
Jōshin
f5fb214939
khan: initial state version is %0 2022-03-01 23:38:55 -06:00
Jōshin
6ce6e4f504
khan: structural slap, not general slam 2022-03-01 19:34:56 -06:00
Jōshin
2e9b4f5a94
khan: better wire production
runs afoul of a likely hoon bug and/or use case for dependent hoon.
2022-03-01 19:33:54 -06:00
DaneBettis
ad2e6975af changes in response to code review 2022-03-01 21:27:33 +00:00
DaneBettis
ee46c6a0dd vere: add %nara %hela hints, add a hoon test module for hints
nara: swedish for near, provides a trace from the start of the nearest virtualization
      to the statement wrapped by the nara hint.

hela: swedish for whole, provides a trace from the start of the event
      to the statement wrapped by the hela hint.

The eventual goal is to present these traces in a way that is most salient & useful to developers
and in a way that is aesthetically pleasing as the bout hint is useful and nice looking.

For this pull request the goal is to provide the actual functionality in code that we can feel
safe and comfortable adding to the master branch. To this end, I've added a trivial set of tests for
nara and hela in pkg/arvo/tests/run/hints.hoon - they only prove that invoking these hints will not
crash the runtime, but I'm open to ideas for how I can test these hints further.
2022-03-01 21:24:11 +00:00
Yaseen
591c19b9a9 story: rename generators 2022-02-25 18:27:54 -05:00
Yaseen
70afcbd642 clay: fix bug in fuse
Co-authored-by: Philip Monk <phil@pcmonk.me>
2022-02-25 16:34:44 -05:00
Yaseen
c1a8d527fa story: fix output formatting in +story-log 2022-02-25 16:28:17 -05:00
Jōshin
a9442040be
khan: alignment 2022-02-25 11:16:47 -08:00
Jōshin
224a363780
test: fix failure introduced by random tids 2022-02-25 11:08:09 -08:00
Joe Bryan
9c93068835 gall: adds verbose arg to agent scry implementation 2022-02-23 00:15:37 -05:00
Joe Bryan
92779d8179 gall: updates agent /whey scry to produce %mass mark 2022-02-23 00:14:44 -05:00
Joe Bryan
ff3bb495d8 hoon: updates %mcgl with an hygienic expansion 2022-02-22 20:39:30 -05:00
Yaseen
33aa0c8fa7 story: generators: fix case check 2022-02-22 18:33:38 -05:00
Yaseen
5f421d577a story: fix scry path in |story-set 2022-02-22 18:11:55 -05:00
Joe Bryan
20c4645727 gall: adds optional agent integration with |mass 2022-02-22 13:07:01 -05:00
Yaseen
38a2e9d74a story: generators: add desk existence everywhere 2022-02-21 22:13:15 -05:00
Yaseen
4eb7e623cd story: generators: fix case scry 2022-02-21 22:10:22 -05:00
Jōshin
d771a4b9ef
khan: randomize tids
tid was accidentally getting set to the name of the output mark. As we
don't currently support cancelling threads, there is no reason to
maintain the originally-intended correspondence between tid and conn
request-id.

Take the opportunity to clean up indentation somewhat.
2022-02-19 02:18:49 -08:00
Yaseen
a149dc6c40 story: generators: add check for invalid case 2022-02-18 22:30:24 -05:00
~nallux-dozryl
ab35dd4028
Merge branch 'urbit:master' into master 2022-02-19 09:04:02 +08:00
Yaseen
c02f59818e story: fix generator bugs 2022-02-18 18:51:37 -05:00
Yaseen
05784fcee3 story: check for storyfile existence and use case from beak where appl. 2022-02-18 18:20:17 -05:00
Yaseen
4b04da5a9a story: make |story-{set,remove} use $cash instead of $case 2022-02-18 17:49:17 -05:00
Yaseen
3d006d60ad clay: add scry for case existence check 2022-02-18 17:43:38 -05:00
Yaseen
9d85401832 story: add generator help text 2022-02-18 17:40:55 -05:00
fang
98c6c77ebb
Merge branch 'next/arvo' 2022-02-17 20:32:26 +01:00
Jōshin
470ae80d4b
khan: cleanup 2022-02-15 22:32:52 -08:00
Jōshin
0e185b66ed
test: fix 2022-02-15 22:32:43 -08:00
Jōshin
6aa72069e3
arvo: introduces $crag
Also strips out `$` from khan top-level comment.

There are arguments for keeping $crag in lull, and on the other side for
moving $cast to arvo. This seemed like the most reasonable approach.
2022-02-14 12:46:31 -06:00
Jōshin
6d275fe9f3
khan: move =/ down 2022-02-14 09:09:55 -06:00
Jōshin
6c443191a7
khan: name $cast type 2022-02-13 21:13:48 -06:00
Jōshin
044e9015af
Merge branch 'next/arvo' into jo/khan
Conflicts:
	bin/brass.pill
	bin/solid.pill

Resolved by regenerating pills.
2022-02-13 21:00:10 -06:00
Jōshin
e4f5438e88
test: tlv 2022-02-13 20:37:34 -06:00
Jōshin
22ef135323
test: missing mark cases, further cleanup 2022-02-13 20:30:36 -06:00
Jōshin
a1621ed2d4
test: cleanup 2022-02-13 19:58:36 -06:00
Jōshin
76911c6784
test: cleanup 2022-02-13 19:56:29 -06:00
Jōshin
27b6b4f706
test: %fyrd fail case 2022-02-13 13:09:39 -08:00
Jōshin
286c909283
test: refactor, strip out inner %fard call 2022-02-13 12:54:21 -08:00
Jōshin
18e2d751a5
test: remaining %fard failures 2022-02-13 12:51:43 -08:00
Jōshin
5750f5f0f6
test: %khan full run, %fyrd 2022-02-13 12:02:13 -08:00
Jōshin
1d487a758b
test: full run, happy path 2022-02-13 07:33:03 -08:00
yosoyubik
1dd5fca11c roller: bug fix in looking for sending diff 2022-02-12 14:36:40 +01:00
yosoyubik
72794870c8 roller: include signing address in sending txs 2022-02-12 14:02:50 +01:00
Jōshin
d7608019f2
khan: cleanup, namespace 2022-02-11 22:18:15 -08:00
Jōshin
c0423adea6
khan: parameterized types, nested implementation
%fyrd is now implemented in terms of %fard, and likewise %avow in terms
of %arow. State is tracked via wire rather than in a global map.

Unit tests adjusted to match.
2022-02-11 21:58:09 -08:00
Yaseen
61ca368f28 story: |story-set: better error message on missing desk 2022-02-11 13:08:16 -05:00
yosoyubik
403c8af519 roller: check for existence in resend nonce 2022-02-11 15:46:13 +01:00
yosoyubik
5c9fc52f47 roller: keep force flag in sending transactions 2022-02-11 14:28:27 +01:00
yosoyubik
db660b6167 roller-rpc: make force field optional 2022-02-10 20:44:50 +01:00
yosoyubik
5fd991161c roller: add support for forced transactions 2022-02-10 20:23:27 +01:00
Jōshin
ca0a861c5e
zuse: add missing assertions 2022-02-09 14:14:12 -06:00
Liam Fitzgerald
b813580b93 zuse: add ++ns:dejs:format
Adds a signed integer JSON parser, i.e. a gate of type $-(json @s)
2022-02-09 13:16:24 -06:00
Jōshin
5ff5082a5d
khan: docs, lift arg vase into (unit) 2022-02-08 12:03:00 -06:00
Jōshin
34fd7f5adf
test: wip full-run test 2022-02-08 08:44:55 -06:00
Jōshin
776604bf74
test: rewrite khan start-args unit test 2022-02-07 17:51:05 -06:00
Jōshin
8123255a62
khan: add %fard/%arow for in-arvo threads
These take and produce vases, and assign random tids (rather than
deducing them from the input duct.)

Since %fard does not require mark conversion, we make the mark/beak on
$thread-state optional (and use this to decide whether to send %avow or
%arow.) Provide a state adapter since it's possible that people have
been experimenting with this vane.

This makes the negative case of %avow/%arow kind of clunky, since there
is no content difference, but the following does not seem possible
within the Hoon type system:

    =/  gif
      ?~  p.tad
      %arow  %avow
    [hen %give gif %| p.cag tang]~
2022-02-07 17:51:05 -06:00
Yaseen
8814f31879 story: shorten recur statement in +story-log 2022-02-05 22:56:27 -05:00
Yaseen
fc5c7d53ea story: make desk an optional param in story-list 2022-02-05 22:50:10 -05:00
Yaseen
4a921ad68b story: fix |story-remove and allow it to remove a specific prose 2022-02-05 22:50:10 -05:00
Yaseen
ce0fa85e18 story: generators improvements
- use desk parameter instead of %base everywhere
- formatting clean up
- make |story-remove take a case instead of an aeon
- make desk param optional for story-set and story-log
2022-02-05 22:50:10 -05:00
Yaseen
94d55f1e33 story: misc changes 2022-02-04 12:49:10 -05:00
Jōshin
64fcd685af
zuse: comment clarifying sk bounds check 2022-02-03 13:52:09 -06:00
Jōshin
4cef7dc38b
bounds-check against sk=1
+sign:schnorr crashes on `=(0 sk)`, so the bounds checking code is not
exercised for sk=0. It also crashes on `(gte sk n.domain.c)`, which is
redundant with the size check on sk, so we remove that.
2022-02-03 13:21:21 -06:00
Jōshin
f07f759253
zuse: style cleanup, use +rep/+end 2022-02-03 12:54:27 -06:00
Jōshin
822eb6ea08
Merge branch 'next/arvo' into jo/secp-arvo 2022-02-02 20:34:11 -06:00
Jōshin
4c22e2ceaa
spider: blank lines 2022-01-31 15:47:14 -06:00
Yaseen
b7e0b28220
Merge branch 'urbit:master' into story 2022-01-30 16:03:48 -05:00
Yaseen
75d6882b51 story: fix to-text arms 2022-01-30 15:59:58 -05:00
Yaseen
8787c43c83 story: cleanup 2022-01-30 15:58:35 -05:00
drbeefsupreme
f67962b803
helm: cleanup +poke-rekey to match #5522 2022-01-28 12:23:36 -05:00
Jōshin
ccf9110f7f
test: khan test cleanup
;;(vase ...) does a nest-check of the type of the kernel. This is
undesirable, so we instead run everything through +slum and cast the
result to +tang.
2022-01-28 09:05:37 -08:00
Jōshin
21ea32e8ad
khan: +bear allows a full +beak 2022-01-27 22:28:30 -08:00
Jōshin
72981203c8
khan: PR feedback, wip tests 2022-01-27 22:20:31 -08:00
Hunter Miller
88e956df01 Merge branch 'next/landscape' 2022-01-27 10:24:04 -06:00
Jōshin
7f6868a06e
khan: strip inner faces from +bear 2022-01-26 21:50:08 -08:00
Jōshin
05a11d57b3
khan: cleanup
- only store metadata in the persistent map. just enough to support
  (eventual) thread cancellation and output mark lookup.

- try to delete thread state at other failure points not covered by
  %kick.

- reflect back the passed output mark rather than form.dais. not sure
  about this one yet.
2022-01-26 20:09:36 -08:00
Jōshin
aba5c0303d
khan: del in %kick 2022-01-26 17:45:25 -08:00
Jōshin
1281e1cdbe
khan: functionally done 2022-01-26 17:41:01 -08:00
Jōshin
425bf6b011
khan: accepts thread arguments with marks 2022-01-26 16:26:30 -08:00
Yaseen
a0cc6d8980 story: make +story-log use arms from lib 2022-01-26 18:07:29 -05:00
drbeefsupreme
b5f299c02d
helm: fix |rekey to work with multikey files 2022-01-26 16:29:14 -05:00
Philip Monk
34bcd2ffcd
Merge pull request #5495 from urbit/m/whos-who
helm: bind /who.json
2022-01-26 12:47:47 -07:00
Yaseen
484772e2b7 story: misc changes 2022-01-26 11:41:22 -05:00
Jōshin
8ad57d8bd2
khan: cleanup 2022-01-25 21:28:45 -08:00
Jōshin
12b4c80cf1
khan: wip threads v0
super ghetto first pass with a bunch of stuff hard-coded to prevent
sending giant vases over the wire.
2022-01-25 20:08:48 -08:00
Jōshin
fd7d315e3b
khan: wip fyrd 2022-01-25 15:37:48 -08:00
Yaseen
5b512abae5 story: update |story-remove to use new types 2022-01-25 14:54:55 -05:00
Yaseen
86ef82dbe1 story: misc changes 2022-01-25 14:54:30 -05:00
~nallux-dozryl
dd53baa059
Fix comment indent for abs:si 2022-01-24 15:24:01 +08:00
Jōshin
30df250c7d
khan: closer to starting threads 2022-01-22 01:46:59 +00:00
Jōshin
a247113c57
khan: %done task 2022-01-22 01:46:12 +00:00
Jōshin
3cf803129d
khan: basic +call, types 2022-01-21 22:09:01 +00:00
Jōshin
575ff61fa6
khan: vane skeleton 2022-01-21 18:48:05 +00:00
Yaseen
c818d293ba story: add generator +story-log 2022-01-21 11:50:42 -05:00
Yaseen
a927d31629 story: make |story-list use new types 2022-01-20 16:01:01 -05:00
Yaseen
f491aa0384 story: update |story-set to use new types 2022-01-20 15:58:05 -05:00
Yaseen
b06df068c0 story: make |story-init use new types and make overwriting optional 2022-01-20 15:56:47 -05:00
yosoyubik
d62ba7d6b5 roller: fix wrong ship quota 2022-01-20 16:15:38 +01:00
yosoyubik
0c9fc76b93 eth-watcher: fix zoom-margin to account for reorgs
The previous value—used for testing—didn't consider
block reorgs, which meant that if we zoom to the latest
block that has no transactions, but that gets later replaced
by a 1-block reorg that does have a transaction, we'll miss it,
making our Azimuth state incomplete.

To fix it, we rewind the Azimuth state to the contents of the snapshot,
and then start retrieving logs from the latest one we have.
2022-01-19 17:41:05 +01:00
yosoyubik
3d943ec201 ames: ignore missing peer-state on-publ-sponsor 2022-01-18 20:34:32 +01:00
Yaseen
b37fd09fab clay: implement %base-tako scry under the %s care 2022-01-13 15:56:20 -05:00
fang
7be6950fe5
Merge branch 'm/helm-perms' into next/arvo 2022-01-13 00:36:22 +01:00
fang
0bc1f49f0f
drum: only process pokes from the local ship
No mark files exist for any of the drum marks, so trying to poke remote drums
would fail anyway, but relying on the mark system in that way seems a bit
fragile, so we add an explicit permission check.
2022-01-13 00:24:31 +01:00
fang
bde8c0b04a
helm: only process pokes from the local ship
No mark files exist for any of the helm marks (except `%helm-hi`), so trying to
poke remote helms would fail anyway, but relying on the mark system in that way
seems a bit fragile, so we add an explicit permission check.
2022-01-12 13:28:44 +01:00
jose
f158ebe312
Merge pull request #5532 from urbit/azimuth/jael-fix
jael: give new private key to subscribers on %keys new-event
2022-01-12 12:47:21 +01:00
yosoyubik
432d9674f5 jael: don't put conflicting this-su in the subject 2022-01-12 11:01:06 +01:00
Jōshin
ce05e562ed
test: schnorr bounds checking 2022-01-09 05:49:47 +00:00
Jōshin
71c59737d8
zuse: boundary assertions for schnorr
Just assert on mis-sized values.
2022-01-09 05:31:36 +00:00
Jōshin
4591fa272e
zuse: schnorr test cases
These are from:
<https://github.com/bitcoin/bips/blob/master/bip-0340/test-vectors.csv>
2022-01-09 05:28:22 +00:00
yosoyubik
fccf99e0a6 jael: refactor new-event for %keys diff
this also adds a %rerun %poke to /app/azimuth
2022-01-08 19:28:11 +01:00
yosoyubik
8535563de6 jael: give private key to subscribers on keys diff
Triggering this event has been added to /app/azimuth's +on-load
2022-01-08 09:48:28 +01:00
yosoyubik
583d5f5063 azimuth: process snapshot on-load 2022-01-07 18:13:51 +01:00
yosoyubik
1950736518 azimuth: update snapshot at block 13.958.653 2022-01-07 17:31:49 +01:00
yosoyubik
8df443bc46 azimuth: remove eth-logs 2022-01-06 16:43:28 +01:00
fang
3ad84e3afd
make-desk: include /mar/txt 2022-01-04 15:58:37 +01:00
Yaseen
dcb8aedc09 story: amend |story-set to use the tako from appropriate desk 2021-12-30 21:01:03 -05:00
Jōshin
40fbd16036
zuse: schnorr address 2021-12-30 05:46:44 +00:00
Jōshin
cb5983c6ae
zuse: schnorr jet hints 2021-12-30 04:25:31 +00:00
Jōshin
f93457ce9c
zuse: style 2021-12-30 04:14:25 +00:00
Jōshin
0fb3dd5ed0
zuse: cleanup 2021-12-30 00:47:11 +00:00
Jōshin
022ec2867d
zuse: banish byte twiddling from schnorr
Actually it's just hidden in +sha-256l:sha now.
2021-12-30 00:42:47 +00:00
Jōshin
57ef17fc91
zuse: signatures were backwards 2021-12-29 23:58:31 +00:00
Jōshin
09294d79bc
zuse: unused ffra 2021-12-29 23:50:16 +00:00
Jōshin
4c6187787f
zuse: remove redundant flips on sig 2021-12-29 23:50:16 +00:00
Jōshin
4f1269b205
zuse: cleanup in schnorr 2021-12-29 23:50:15 +00:00
Jōshin
b296f3912e
zuse: verify:schnorr works 2021-12-29 23:50:15 +00:00
Jōshin
ab4b735471
zuse: sign:schnorr basically done
Schnorr's choice of big-endian encoding commits us to some degree of
byte twiddling; try to make this fairly seamless.
2021-12-29 23:49:54 +00:00
Jōshin
f39421c97b
zuse: flip bytes in sig
gross!
2021-12-29 19:02:51 +00:00
Jōshin
a1c548ced4
zuse: schnorrsig-sign from spec
test vectors match, but are byte-flipped. has to do a lot of endianness
twiddling.
2021-12-29 18:57:45 +00:00
Jōshin
aa3bbe165e
zuse: schnorrsig stubs 2021-12-25 08:47:43 +00:00
Joe Bryan
1657c548cc Merge branch 'master' into next/arvo
* master:
  [nix] track nixos-21.11 branch whenever niv updates, bump to include qemu-in-virtualization fix
  webterm: v1.0.0
  herm: permission checks
  herm: avoid trailing empty path segments
  pmnsh: update secp256k1 configure flags
  secp256k1: use nixpkgs provided secp256k1 and add to sources-pmnsh
  webterm: remove border, let term live in page
  theme: cleaning up a few mismatches
  webterm: handle old-style blits and belts
  build: correct lmdb static builds
  build: explicitly override h2o build platforms to support darwin
  ci: upgrade cachix/install-nix-action from v13 -> v16
  build: remove haskell related nix code and haskell.nix dependency
  webterm: update imports
  @urbit/api: move term types
  webterm: fix broken imports
  webterm: update package name for lerna
  webterm: commit missing api files
  webterm: backport
2021-12-17 23:39:04 -05:00
fang
970075bbcd
helm, docket: bind /who endpoint in helm instead
This seems like a better place.
2021-12-17 00:42:57 +01:00
Joe Bryan
e8cdafddfc arvo: refactor |mass output, make vane /whey peek optional 2021-12-16 12:21:21 -05:00
Joe Bryan
32e1ed0a15 arvo: fix type typo (s/mein/mien/g) 2021-12-16 12:15:48 -05:00
yosoyubik
1bda134280 azimuth: update /app/azimuth snapshot 2021-12-15 08:31:26 +01:00
Yaseen
077c23b9e7 story: add generator |story-init 2021-12-14 14:31:38 -05:00
Yaseen
2626c32085 story: let |story-set take a case and make it optional 2021-12-14 14:31:09 -05:00
fang
dd6b090bfa
Merge pull request #5454 from urbit/m/backport-nu-webterm
webterm: backport
2021-12-14 19:23:23 +01:00
yosoyubik
5d4a410653 roller: don't set :frequency timer on commit 2021-12-14 16:39:22 +01:00
yosoyubik
d0309abfd8 roller: get suggested gas price only for mainnet 2021-12-14 15:44:43 +01:00
yosoyubik
1b278ce104 dice: dont print %failed logs in tx-effects 2021-12-14 15:27:44 +01:00
yosoyubik
fc540bf209 roller: handle sending malformed batches 2021-12-14 15:24:25 +01:00
yosoyubik
d1a04c7c54 Merge branch 'naive/snapshot' into roller/gas-price 2021-12-14 09:41:22 +01:00
yosoyubik
4724c32d3d pill: load azimuth snapshot file with mime mark 2021-12-14 09:40:34 +01:00
yosoyubik
0c7ada2076 roller: fix response parsing from gasoracle 2021-12-13 19:16:47 +01:00
fang
fd375c1d90
herm: permission checks
Make sure herm can only be interacted with by the local ship.
2021-12-13 14:25:14 +01:00
fang
c7c601c041
herm: avoid trailing empty path segments
append /view to the existing subscription paths to "wrap" the possibly
empty path segment of the session name.
2021-12-13 14:24:20 +01:00
yosoyubik
92c498cd04 Merge branch 'naive/snapshot' into roller/gas-price 2021-12-10 18:42:55 +01:00
yosoyubik
8601b13e3f azimuth: remove unused import in snapshot mark 2021-12-10 16:59:30 +01:00
yosoyubik
f6dca03786 pill: restore solid pill 2021-12-10 16:19:59 +01:00
yosoyubik
fd2ff95989 roller: fix refuel generator 2021-12-10 13:13:14 +01:00
yosoyubik
f6ff4f108b roller: add utilities for handling low-gas batches
This adds support for handling cases where the send-batch thread failed,
mainly among them, a thread crash. One of the events that causes this
behavior is a ver low gas price for this L1 transaction.

Here we add support for manually bumping the price for such transaction,
and for increasing the default fallback gas-price, together with discarding
any malformed batch from the sending queue.
2021-12-10 11:36:45 +01:00
Jōshin
d94aa5704b
Merge branch 'master' into next/arvo
Conflicts:
	pkg/arvo/lib/azimuth.hoon

This file was turned into a symlink to pkg/base-dev/lib/azimuth.hoon on
one side of the fork, and meanwhile edited on the other side of the fork
(to update ecliptic to the new address for the WSTR fix.)

The two sides of the fork both had different outdated addresses in
base-dev's azimuth.hoon file, and Git's UI helpfully refilled the
contents of arvo's azimuth.hoon so that it showed a merge conflict with
an empty diff.

Resolved by reading out HEAD:pkg/arvo/lib/azimuth.hoon into
pkg/base-dev/lib/azimuth.hoon and manually recreating the symlink.
2021-12-10 08:24:32 +00:00
yosoyubik
c467d5aa67 Merge branch 'roller/quota-left' into naive/snapshot 2021-12-09 07:45:18 +01:00
yosoyubik
ae05bbf571 roller: don't crash if nonce not in queue 2021-12-09 07:44:53 +01:00
yosoyubik
4384f19643 azimuth: use ship as prefix for loading snapshot log 2021-12-09 07:30:08 +01:00
yosoyubik
cce14699c8 azimuth: update log message 2021-12-08 12:52:23 +01:00
yosoyubik
37adba1ba0 various: update to new udiff:point type 2021-12-08 11:23:35 +01:00
yosoyubik
1e912d1ec4 Merge branch 'roller/quota-left' into naive/snapshot 2021-12-08 11:02:23 +01:00
yosoyubik
463ca6e8db roller: set default quota to 25 2021-12-08 11:02:05 +01:00
Philip Monk
5c20b63a5a
Merge pull request #5412 from urbit/jb/safer-dojo
dojo: improve safety of mark conversion
2021-12-07 20:20:53 -08:00
Philip Monk
1ffdad8719
Merge pull request #5439 from ynx0/dev-fixes
meta: fix various issues in file tree for development
2021-12-07 19:07:34 -08:00
Philip Monk
7583d33cf1
Merge pull request #5436 from urbit/m/claz-lockup-txs
claz: better linear lockup ops support
2021-12-07 18:41:55 -08:00
yosoyubik
28dacad857 Merge branch 'roller/quota-left' into naive/snapshot 2021-12-07 17:48:30 +01:00
yosoyubik
33852ea90e roller: support private keys with leading 0x 2021-12-07 17:47:56 +01:00
yosoyubik
0833ee9ea6 azimuth: only print number of points during init 2021-12-07 16:32:39 +01:00
yosoyubik
81eb6ae247 pill: add azimuth snapshot 2021-12-07 16:13:39 +01:00
fang
3df0efd7c6
Merge pull request #5473 from urbit/m/base-atom
pkg: include atom mark in base-dev
2021-12-06 15:11:12 +01:00
yosoyubik
d08ab43f3a lull: skip rift/life printf when booting 2021-12-06 13:47:59 +01:00
fang
4bff1df7e8
pkg: include atom mark in base-dev 2021-12-05 14:50:50 +01:00
yosoyubik
ad16155c77 azimuth: load azimuth state from state snapshot 2021-12-03 16:11:15 +01:00
fang
2c71a5d79d
azimuth: update ecliptic address
To account for the recent upgrade.
2021-12-02 21:45:39 +01:00
Liam Fitzgerald
82e8d35a2a eyre: address mark review, update pill 2021-12-02 09:06:55 -05:00
Liam Fitzgerald
6160a77eaa eyre: include mark of fact in channel json
This change greatly improves the ergonomics of working with channel JSON
in statically typed languages, as the polymorphism is moved out of the
actual diff and into the event framing.
2021-12-01 17:48:57 -05:00
Yaseen
1d111db103 story: rename generator |story-add to |story-set 2021-12-01 11:45:11 -05:00
yosoyubik
d5c44598ba roller: refactor and clean up 2021-11-28 16:37:06 +01:00
h5gq3
c742b58426
improve de-xml parser
de-xml parser fails when xml content node contains doublequotes (`doq` rule), this PR proposes to remove this restriction as high-level javascript APIs that operate on DOM don't entitize/encode doublequotes by default.
2021-11-28 12:34:10 +02:00
Yaseen
7add802ab9 story: add generator |story-remove 2021-11-26 20:53:52 -05:00
Yaseen
78468dc8ee story: add generator |story-add 2021-11-26 20:53:20 -05:00
Yaseen
808e6ce763 story: add generator +story-list 2021-11-25 17:02:29 -05:00
yosoyubik
8c8aef96aa dice: include nas when rolling over tx-effects 2021-11-25 21:22:15 +01:00
Yaseen
163ed030d4 clay: add new %s scry which gives the tako for a given beak 2021-11-25 12:48:24 -05:00
fang
14bfcc0288
claz: add upgrade poll support 2021-11-25 11:56:42 +01:00
yosoyubik
2e94a0d446 azimuth, dice: simplify index update 2021-11-24 15:31:59 +01:00
yosoyubik
528a046b51 roller: add to state ship allowance and next-slice 2021-11-23 10:55:50 +01:00
yosoyubik
144065c4fc roller-rpc: add %get-remaining-quota 2021-11-22 14:02:31 +01:00
Yaseen
8819d61ff6 symlink arvo/lib/azimuth.hoon to base-dev/lib/azimuth.hoon 2021-11-19 12:33:12 -05:00
fang
0a5bcf7464
claz: interleave transfer proxy & deposit txs
Dumb hack, but very nice for multi-tx batches.
2021-11-18 17:48:23 +01:00
fang
130761039d
claz: include linear release txs 2021-11-18 17:46:53 +01:00
Philip Monk
ff63ffd1aa
azimuth: stop processing state in %watch
Also reprocess state in +on-load for ships which currently have
unprocessed state.
2021-11-17 10:22:27 -08:00
Philip Monk
45a8d12c35
Merge remote-tracking branch 'origin/philip/hotfix' into philip/hotfix 2021-11-17 10:00:49 -08:00
yosoyubik
9430c666d2 azimuth: update state on-watch 2021-11-17 12:40:06 +01:00
Philip Monk
a58db10b94
azimuth: don't crash if timer failed 2021-11-16 21:09:10 -08:00
Philip Monk
4b328a4fa7
azimuth: make +run-logs tail-recursive
Also kick the call to +mule out of the loop.  By uncommenting the
diagnostics in u3m_fall, I measured that running through the 290k events
the azimuth snapshot required this much memory:

Head recursive, +mule in:  1.1GB
Head recursive, +mule out: 780MB
Tail recursive, +mule in:  700MB
Tail recursive, +mule out: 70MB

So this commit chooses the last one.  The most delicate part is making
sure the effects are the right order; this uses the usual idiom.

Kicking +mule out of the loop is okay because lib/naive should never
fail, and if it does then azimuth shouldn't advance until an out-of-band
solution is decided.

Addresses #5431
2021-11-16 20:03:20 -08:00
Philip Monk
78fe24f7e1
tmp: remove jamfiles 2021-11-16 15:53:55 -08:00
Philip Monk
fae27385ff
eth-watcher: remove printfs 2021-11-16 14:47:17 -08:00
Philip Monk
a2a89d3532
Merge remote-tracking branch 'origin/next/arvo' into philip/roller 2021-11-16 13:58:57 -08:00
Philip Monk
4656372b09
Merge pull request #5426 from ynx0/claybel
clay: support labels
2021-11-15 08:49:31 -08:00
Yaseen
c080eb8336 fix comment styling 2021-11-15 09:07:24 -05:00
Yaseen
ae7cf81c29
clay: keep info in stacktrace when labeling fails
Co-authored-by: Philip Monk <phil@pcmonk.me>
2021-11-15 05:32:59 -05:00
yosoyubik
0d592f67d1 Merge remote-tracking branch 'origin/philip/roller' into naive/roller 2021-11-15 05:48:57 +01:00
yosoyubik
a8ccf5c32e roller-rpc: fix typo 2021-11-15 05:44:52 +01:00
Philip Monk
8af1dd3acc
clay: refactor +wake
+wake had accumulated several layers of abstractions which were later
rendered unnecessary.  This removes those abstractions and should have
no semantic effect.
2021-11-14 19:35:32 -08:00
Yaseen
70a85ccdb0 remove unnecessary comments 2021-11-14 20:41:30 -05:00
Yaseen
17751e7890 clay: enforce referential transparency on labels 2021-11-14 16:49:17 -05:00
Philip Monk
95a8504763
Merge pull request #5423 from urbit/release/next-sys
various: release/next-sys -> next/arvo
2021-11-12 20:11:17 -08:00
Philip Monk
f20cb399f8
Merge remote-tracking branch 'origin/master' into next/arvo 2021-11-12 20:08:06 -08:00
fang
b9b1fbfb1a
Merge pull request #5310 from urbit/m/acme-base
acme: load custom cert from base desk, not home
2021-11-13 00:44:14 +01:00
Philip Monk
23980d1f64
kiln: throw away pending commits on good commits
When we receive a commit that we can apply from the source, we throw
away any skipped pending commits.  This lets us receive updates at the
current kelvin even if we heard pending commits for later kelvins.
2021-11-12 14:38:17 -08:00
Philip Monk
901bcdf7b8
kiln: don't allow bump-many for non-current kelvin 2021-11-12 14:37:54 -08:00
Yaseen
25ce97cade clay: add support for labeling commits
- add helper arm `label:de`
- update relevant code to take in arbitrary aeons
2021-11-12 15:35:06 -05:00
Philip Monk
84453c13d5
Merge remote-tracking branch 'origin/lf/fix-hardcoding' into philip/hotfix 2021-11-12 12:13:35 -08:00
Philip Monk
6665bc0986
kiln: fix |bump to not require except 2021-11-12 12:06:45 -08:00
Liam Fitzgerald
5dc60da825 kiln: fix %kiln-bump mark 2021-11-12 14:38:34 -05:00
fang
9d2936a6e7
Merge branch 'next/arvo' into m/cite-redux 2021-11-12 13:21:42 +01:00
fang
d379a38486
zuse: explicitly +cut in +cite:title, add tests 2021-11-12 13:11:40 +01:00
yosoyubik
bfcf7631d4 roller: remove network generator 2021-11-11 06:59:13 +01:00
yosoyubik
cb1567a4ac dice: remove extra p 2021-11-11 06:36:27 +01:00
Philip Monk
5f51bb0d4d
Merge remote-tracking branch 'origin/next/arvo' into philip/roller 2021-11-10 20:53:30 -08:00
yosoyubik
155e02c3cb Merge remote-tracking branch 'origin/next/arvo' into naive/roller 2021-11-11 05:50:44 +01:00
Philip Monk
74ad24acb9
kiln: don't bump on-load 2021-11-10 18:08:27 -08:00
yosoyubik
ed2d9bb482 Merge remote-tracking branch 'origin/philip/roller' into naive/roller 2021-11-10 18:44:25 +01:00
yosoyubik
da739d6e87 azimuth: add sponsorship scry 2021-11-10 18:39:43 +01:00
yosoyubik
4727b49b89 acme: point acme to /~debug 2021-11-10 18:38:13 +01:00
yosoyubik
e32b0a1956 roller: add sponsorship index 2021-11-10 17:46:22 +01:00
Joe Bryan
e5ebbe89ac
Merge pull request #5413 from urbit/jb/start
arvo: fix |start
2021-11-10 07:40:01 -08:00
yosoyubik
856d8ed8fc azimuth: use last-snap only in %default network 2021-11-10 11:47:22 +01:00
Philip Monk
2131dd8cac
gen: fix broken generator 2021-11-10 01:36:39 -08:00
Philip Monk
d9d7f69f26
test: make lib/vere/dawn not crash 2021-11-10 01:25:08 -08:00
Philip Monk
6a152218b2
test: fix :test 2021-11-10 01:04:17 -08:00
Philip Monk
8c1a4cafa2
gen: fix broken generators 2021-11-10 00:58:24 -08:00
Philip Monk
3290b68d40
Merge remote-tracking branch 'origin/naive/roller' into philip/roller-ci 2021-11-10 00:41:25 -08:00
Philip Monk
04fbb045d2
ci: try 2021-11-10 00:40:56 -08:00
Philip Monk
a742ead132
Merge remote-tracking branch 'origin/jb/start' into philip/roller 2021-11-10 00:36:03 -08:00
Philip Monk
c2933c017f
kiln: don't bump suspended desks 2021-11-09 23:49:37 -08:00
yosoyubik
dd20bbd1d3 naive-transactions: remove unused arm 2021-11-10 08:29:37 +01:00
Joe Bryan
0a2cb6da7d arvo: revive |start 2021-11-10 02:28:38 -05:00
Philip Monk
08ab77893e
azimuth: don't start on fake ships 2021-11-09 22:36:05 -08:00
yosoyubik
da8f185f2a Merge remote-tracking branch 'origin/philip/roller' into naive/roller 2021-11-10 07:09:46 +01:00
yosoyubik
1ade4d29f0 roller: add default network 2021-11-10 07:09:22 +01:00
Philip Monk
9fc74f60d9
Merge remote-tracking branch 'origin/master' into philip/roller 2021-11-09 22:03:25 -08:00
Philip Monk
b6049228f7
Merge remote-tracking branch 'origin/naive/roller' into philip/roller 2021-11-09 22:03:20 -08:00
Philip Monk
1698542035
zuse: decrement kelvin to 419 2021-11-09 21:40:12 -08:00
yosoyubik
48fd671b9a various: removed unused/wip files 2021-11-10 06:23:36 +01:00
jose
e84e338499
Merge pull request #5407 from urbit/yu/rein-fix
hood: fix |rein when starting/stopping multiple agents
2021-11-10 05:54:00 +01:00
Philip Monk
185fd1f979
azimuth: fixing upgrading from mainnet
load snapshot and node on boot and make sure we initalize after
eth-watcher updates
2021-11-09 16:42:03 -08:00
Philip Monk
e4a069a4f6
jael: remove vestigial boq and nod 2021-11-09 16:41:23 -08:00
Philip Monk
ad265ce41f
Merge remote-tracking branch 'origin/master' into lf/fix-kelvin 2021-11-09 14:15:40 -08:00
Philip Monk
bf7f4ba453
Merge remote-tracking branch 'origin/m/naive-ugprade-path' into philip/roller 2021-11-09 12:52:25 -08:00
Joe Bryan
6200873680 dojo: protect against missing mark in bunt (%sa) 2021-11-09 15:04:39 -05:00
Joe Bryan
bb7804d510 dojo: virtualize mark conversion 2021-11-09 15:04:32 -05:00
Philip Monk
60436f2673
Merge remote-tracking branch 'origin/naive/roller' into philip/roller 2021-11-09 10:47:48 -08:00
yosoyubik
084c70497d roller-rpc: fix serializing tx for personal_sign 2021-11-09 19:18:10 +01:00
yosoyubik
502fd5822b roller-rpc: add rpc %spawns-remaining 2021-11-09 16:08:30 +01:00
yosoyubik
360f5fdd35 roller: only add tx to pending if verifies 2021-11-09 16:06:29 +01:00
fang
07e59afcfe
azimuth: properly nuke azimuth-tracker on-init 2021-11-09 16:00:01 +01:00
Philip Monk
8bfb4acc20
pill: set everything to mainnet for consistency 2021-11-09 00:59:40 -08:00
Philip Monk
42410a708d
azimuth: give backlog on %watch 2021-11-09 00:42:34 -08:00
Philip Monk
1db1819d4d
azimuth: update snapshot 2021-11-09 00:24:10 -08:00
Philip Monk
ea199bfba9
azimuth: correctly load snapshot on boot 2021-11-09 00:22:32 -08:00
Philip Monk
45c1693085
jael: use default network id 2021-11-08 22:59:06 -08:00
Philip Monk
8d20ce1f56
azimuth: set mainnet naive contract 2021-11-08 22:32:15 -08:00
Philip Monk
681faa68e4
azimuth: send updates to jael 2021-11-08 21:56:47 -08:00
Philip Monk
91b38d4cea
ivory: update preboot validation format
string<->numbers didn't match the json serialization.  This makes
preboot validation succeed.
2021-11-08 20:34:32 -08:00
Liam Fitzgerald
536e7a27e0 kiln: prevent unnecessary bumps when reloading
If a desk is suspended/paused/local, then we should exclude it when
bumping in the +on-load, because a suspended/paused/local desk cannot
have a pending commit that would allow it to bump successfully.
2021-11-08 16:46:00 -06:00
yosoyubik
9e2e6a7aee roller-rpc: add %hash-raw-transaction rpc
the returned hash can be used to cancel pending txs
by signing the message 'cancel: 0xke.ccak'
2021-11-08 17:47:55 +01:00
yosoyubik
df9827a2cb roller: on submit, crash if no naive state exists 2021-11-08 16:28:12 +01:00
yosoyubik
9015dbb1c5 roller: restrict config actions to our.bowl 2021-11-08 16:22:25 +01:00
yosoyubik
a22b16a465 roller: give rpc error if roller has no l2 state 2021-11-08 16:08:59 +01:00
yosoyubik
89c4d30b30 roller: remove sigwut 2021-11-08 07:33:03 +01:00
yosoyubik
54f6110f7a Merge remote-tracking branch 'origin/master' into naive/roller 2021-11-08 07:25:55 +01:00
Philip Monk
18e4c620df
Merge remote-tracking branch 'origin/master' into next/arvo 2021-11-07 22:22:47 -08:00
Philip Monk
d9276cd51c
clay: Add support for representing tombstones
This adds support for tombstoned files to clay.  It does not include any
way to actually tombstone them; that is left for later.

This allows tombstoning at the level of a file.  Precisely, this expands
+blob:clay by adding a %dead case:

    +$  blob                                              ::  fs blob
      $%  [%delta p=lobe q=[p=mark q=lobe] r=page]        ::  delta on q
          [%direct p=lobe q=page]                         ::  immediate
          [%dead p=lobe ~]                                ::  tombstone
      ==                                                  ::

Thus, we maintain the invariant that every lobe corresponds to a blob,
but now a blob may be an explicit tombstone.

Details:
- This has not been tested at all, except that it compiles and boots.
- This does not have a state adapter from master.  The only state change
  is the definition of +cach.
- Additionally, out-of-date ships may unexpectedly receive a %dead blob
  from a foreign clay which would interfere with their ability to download
  that desk.  No code changes necessary, but sponsors should avoid
  tombstoning files in %base for a while so their children can get the
  update.
- A merge will only fail if the tombstoned file conflicts with another
  change.  Note that as written, merging from a past desk *can* bring a
  tombstoned file to the head of a desk.  Possibly this shouldn't be
  allowed.

This also includes a couple refactors that were made possible by ford
fusion (since everything is synchronous now) but never got done.  In
both cases we get to remove a monad, which simplifies the code
considerably.

- refactor +merge's error handling to use !!/mule instead of threading
  through errors
- refactor all +read-* functions and related parts of +try-fill-sub to
  eagerly convert lobes to cages.

We also add support reading %a/b/c/e/f/r/x from past and foreign desks,
when possible.  Apologies that all of these are in one commit, it was
all a single chunk of work.

This is a draft until we have a way to tombstone.  I suspect we'll want
to have a mechanism of keeping track of gc roots and trace to remove,
but this PR doesn't suggest any particular strategy.
2021-11-07 22:17:02 -08:00
yosoyubik
291f6128e7 roller-rpc: add %hash-transaction
hysterical raisins, deprecated in newer version of roller-api
2021-11-08 06:11:37 +01:00
yosoyubik
705eb5cb4b roller-rpc: rename methods for hashing l2 txs 2021-11-07 11:58:03 +01:00
yosoyubik
b2a7c2830f Merge branch 'naive/roller' into naive/roller-personal-sign 2021-11-07 10:57:15 +01:00
yosoyubik
5ea87c1f47 roller: add generators for config options 2021-11-07 10:36:46 +01:00
yosoyubik
fb5ab3edfd roller: log batch tx hash 2021-11-07 10:01:15 +01:00
yosoyubik
e54805893f roller: bugfix for incorrect predicted l2 nonce 2021-11-06 15:18:39 +01:00
yosoyubik
095ce0dff4 roller: wip add quota per ship for tx submission 2021-11-06 10:27:00 +01:00
fang
fecb809573
jael, azimuth: reconfigure jael for L2
Jael needs to be reconfigured to listen to the new aagent for azimuth
events, and the old app needs to be shut down. We do this in
/app/azimuth's +on-init.

Additionally, we make sure that jael doesn't crash when it (as expected)
loses its subscription to the old agent.
2021-11-06 01:10:33 +01:00
yosoyubik
1c641629e2 roller: add azimuth refresh-rate to getConfig RPC 2021-11-04 09:54:25 +01:00
yosoyubik
aabf028b89 roller: wip support for metamask personal_sign 2021-11-03 16:58:57 +01:00
yosoyubik
387c991c13 hood: bugfix when using |rein with multiple agents 2021-11-03 11:38:02 +01:00
yosoyubik
07d5ddfe0c roller: fix length for signatures in sending batch 2021-11-02 15:08:18 +01:00
Philip Monk
2efbdea892
Merge remote-tracking branch 'origin/release/next-vere' into next/vere 2021-11-01 21:22:38 -07:00
yosoyubik
2bb218cfc8 roller: bugfix for adding failed txs to history 2021-11-01 10:09:11 +01:00
yosoyubik
27576e272b Merge remote-tracking branch 'origin/philip/naive' into naive/roller 2021-10-31 15:14:15 +01:00
yosoyubik
87f1a0847d roller: allow operator to provide roller pk 2021-10-31 14:03:38 +01:00
yosoyubik
c5c6379260 roller: keep only one status entry in tx history 2021-10-31 14:02:33 +01:00
yosoyubik
8b45302982 roller: restore finding index as sig+raw-tx hash 2021-10-30 13:12:09 +02:00
fang
beebc5fe0e
gen: |new-desk -> |make-desk 2021-10-29 11:28:19 +02:00
fang
0d6775ca40
Merge pull request #5350 from hosted-fornet/remove-crunch-library-and-generator
crunch: remove from `base` to allow distribution as app
2021-10-29 11:20:46 +02:00
Joe Bryan
e1a2eaf822
Merge pull request #5261 from DaneBettis/jb/dynamic-hint-template
vere: adds %bout hint, to time a hoon expression in nanoseconds
2021-10-27 16:09:17 -07:00
DaneBettis
9dce9359e5 vere: added %bout sanity checks, added bout call in test.hoon 2021-10-27 18:49:55 +00:00
fang
0ec3d5111d
Merge branch 'master' into naive/roller 2021-10-26 20:46:32 +02:00
fang
36cd69b6d0
Merge tag 'urbit-os-v2.100' into naive/roller 2021-10-26 17:08:03 +02:00
fang
260c75f05d
zuse: fix +cite for odd-length names
Render `@p` shorthands correctly for short moon names. Fixes #5318.

This also changes galaxy and star moons to render as `~parent^` instead of some
longer variation.
2021-10-26 02:11:45 +02:00
fang
71c7d315a9
gen: add |new-desk for creating minimal desks
Includes the bare minimum of necessary files.
2021-10-25 16:20:34 +02:00
fang
895c7f82c0
Merge pull request #5339 from urbit/m/nuke-carefully
hood: ask for confirmation during |nuke
2021-10-22 15:46:17 +02:00
hosted-fornet
19693a6fb7 crunch: remove from base to allow distribution as app 2021-10-21 21:28:29 -07:00
fang
a7d707fa91
hood: add non-interactive mode to |nuke
Also improves the copy a bit.
2021-10-20 14:15:50 -05:00
DaneBettis
6dcbb82f54 vere: altered %bout to use micro symbol, fixed comments 2021-10-20 19:07:41 +00:00
fang
5c09a46c07
hood: ask for confirmation during |nuke 2021-10-20 11:40:57 -05:00
yosoyubik
824de38532 roller: wip order roller tx history by timestamp 2021-10-16 12:47:39 +02:00
yosoyubik
a392ccde58 roller: wip finding map simplification 2021-10-16 07:26:57 +02:00
fang
bbd044185c
Merge pull request #5227 from urbit/m/righteous-paths
hoon: correctly parse empty path
2021-10-14 23:12:29 +02:00
yosoyubik
21139ea8de roller: increase next-nonce if not out of sync 2021-10-14 15:42:06 +02:00
yosoyubik
ca0681a4b5 roller: fix for duplicate transactions in a batch 2021-10-13 12:56:47 +02:00
yosoyubik
91be390397 roller: use an ordered map for tracking L2 batches 2021-10-11 17:16:17 +02:00
fang
45ec631ed2
Merge pull request #5315 from urbit/m/bar-ota
gen: make |ota useful again
2021-10-08 19:57:38 +02:00
fang
f9f91b9592
gen: make |ota useful again
As an alias for installing into the base desk. Defaults to the remote
ship's %kids desk if no desk is specified.
2021-10-08 21:39:19 +04:00
fang
ef90e9db31
Merge pull request #5233 from urbit/m/eip-1559-plus
ethereum: add signing support for eip-1559 transactions
2021-10-08 19:16:37 +02:00
fang
5131d3165d
Merge branch 'release/next-userspace' into m/eip-1559-plus 2021-10-08 20:42:37 +04:00
fang
f91c4dec08
Merge branch 'master' into release/next-sys 2021-10-08 17:39:03 +04:00
fang
02e2f58d9d
Merge pull request #5283 from urbit/m/ruinator
jael: add %ruin task for pretend-breaching others
2021-10-08 14:11:09 +02:00
fang
8ed93c27c4
kiln: re-emit clay listen for affected ships
Previous version of kiln had a bug where a crash caused the listen to be
dropped, making kiln ignore base commits.
2021-10-07 23:12:42 +04:00
fang
bbc20e6bb7
kiln: safely bump not-yet-installed desks
Previously this wasn't accounting for the "couldn't read kelvin from
local desk" case properly, resulting in crashes during updates to base,
after which other desks wouldn't be started back up.
2021-10-07 22:29:24 +04:00
fang
bf4aef198c
clay: give %u answer for non-existent desks
Instead of considering it "in the future", an existence check for paths
on non-existent desks now always produce false.
2021-10-07 21:57:56 +04:00
fang
565c1b0bf2
acme: load custom cert from base desk, not home
Small patch for the ancient workaround.
2021-10-07 09:54:29 +02:00
Hunter Miller
62741df416
Merge pull request #5300 from urbit/ted/kiln-dudes
kiln: refresh dudes on local reinstall
2021-10-06 17:42:46 -05:00
fang
c29108a5f0
dojo: support running threads from other desks
Similar to the syntax for generators, you can now -desk!thread to run
the thread from the specified desk.
2021-10-06 19:57:53 +04:00
Philip Monk
163ca690ce
naive: remove unused arms 2021-10-05 23:58:59 -05:00
Philip Monk
7b528e823f
naive: final touch-up 2021-10-05 22:20:35 -05:00
Joe Bryan
9a1b9b4450 Merge branch 'master' into release/next-vere
* master: (595 commits)
  grid: updating glob
  landscape: updating glob
  graph-store: clean up merge artefact
  interface: reduce %all-stats correctly
  docket: correctly en-vase a docket definition
  kiln: don't +mean the tang noun alongside the tang
  hood: scry for list of desks with empty desk name
  hood: remove needless weld
  hood: report %kids desk hash in +report-vats
  landscape: fix joining indicator in statusbar
  interface: reduce %saw-place correctly
  app-prefs: fixing logic around enabled
  pull-hook: add nice flag to kick poke
  graph-pull-hook: renegotiate subscriptions
  graph-store: Handle missing update-logs gracefully in scries
  arvo: update jamfiles
  landscape: correctly freeze graph-update-2
  jael: on rekey, update life if moon
  tmp/ jamfiles
  btc: updating glob
  ...
2021-10-05 11:33:08 -04:00
fang
5a8b98b77e
Merge branch 'master' into release/next-sys 2021-10-05 16:57:56 +04:00
Ted Blackman
adf8670c31 kiln: refresh dudes on local reinstall 2021-10-04 18:17:29 -04:00
fang
aa48973c6a
Merge branch 'release/next-userspace' 2021-10-04 23:45:45 +04:00
yosoyubik
4d1c6c230f roller: proper parsing of crypto-suite 2021-10-04 12:44:54 +02:00
yosoyubik
2d1a5215bc roller: increase nonce on successful send roll 2021-10-03 16:15:42 +02:00
yosoyubik
56b2d6b451 roller: simplify handling of /predict timer 2021-10-03 15:09:11 +02:00
fang
66b8c046b7
kiln: don't +mean the tang noun alongside the tang 2021-10-02 13:07:23 +02:00
yosoyubik
86276b894b roller: use chain details in endpoint generator 2021-10-02 09:12:58 +02:00
yosoyubik
5938f3569e roller: add logic for fixing out-sync nonce 2021-10-02 08:44:37 +02:00
fang
2a1c47ddd2
jael: add %ruin task for pretend-breaching others
The initial use case here is clearing state relating to long-gone
comets, but this could prove to be a useful general-purpose rescue tool.
2021-10-01 01:54:33 +04:00
Liam Fitzgerald
52be186fcc pull-hook: add nice flag to kick poke 2021-09-30 19:17:49 +10:00
Liam Fitzgerald
c6b4ff11fe arvo: update jamfiles 2021-09-30 14:32:34 +10:00
Philip Monk
facdf4dbc1
jael: on rekey, update life if moon 2021-09-29 20:51:57 -05:00
Ted Blackman
eac1ba1ba5 tmp/ jamfiles 2021-09-29 21:25:04 -04:00
Ted Blackman
5cce66523c Revert "clay: print cult"
This reverts commit d4bc38f774.
2021-09-29 20:31:57 -04:00
Ted Blackman
86a2715e67 clay: purge %next and %sing on migration 2021-09-29 20:10:53 -04:00
Ted Blackman
d4bc38f774 clay: print cult 2021-09-29 20:01:43 -04:00
Ted Blackman
5e1778ea84 clay: compile failure 2021-09-29 19:43:26 -04:00
Ted Blackman
2effd3cec0 Merge branch 'dist' of github.com:urbit/urbit into dist 2021-09-29 19:37:18 -04:00
Ted Blackman
b16d176863 clay: delete /app/publish from subscription state on migration 2021-09-29 19:36:29 -04:00
Philip Monk
3c658b17fa
Revert "gall: don't crash on suspended agent build failures"
This reverts commit d446418d53.
2021-09-29 18:30:01 -05:00
Ted Blackman
d446418d53 gall: don't crash on suspended agent build failures 2021-09-29 18:49:20 -04:00
Ted Blackman
bd46a367a3 clay: always notify if new read says nonexistent 2021-09-29 17:57:55 -04:00
Ted Blackman
7e5feb4cb4 gall: implement pupal +stay 2021-09-29 16:24:12 -04:00
Ted Blackman
fd54c96a3f gall: %jolt restart agent from new desk 2021-09-29 16:03:14 -04:00
Ted Blackman
9560fa43b2 gall,clay: fix migration file build dates; add %home as parent desk in jams 2021-09-29 15:00:42 -04:00
Ted Blackman
f985a3745e Merge branch 'dist' of github.com:urbit/urbit into dist 2021-09-29 15:00:19 -04:00
Fang
fd85eb8176
desk-jam: exclude /tests from desk jams 2021-09-29 22:59:19 +04:00
Ted Blackman
a55c1cb515 Revert "dojo: support running threads from other desks"
This reverts commit 446e53318a.
2021-09-29 14:29:52 -04:00
Fang
f6bb541269
gall: also watch changes to /sys/kelvin 2021-09-29 22:13:39 +04:00
Fang
27fcc9b4c3
various: %home -> %base 2021-09-29 22:13:08 +04:00
Fang
446e53318a
dojo: support running threads from other desks 2021-09-29 18:06:45 +04:00
Liam Fitzgerald
25de4cadbb landscape: move version mark, update jam 2021-09-29 23:49:04 +10:00
Fang
cc1189eeb7
pill: generate brass multi-desk pill 2021-09-29 17:19:24 +04:00
Liam Fitzgerald
ebe5fe68ef various: update pills, jams, docket 2021-09-29 22:53:18 +10:00
yosoyubik
37aee72f55 roller: retrieve latest (current+pending) nonce 2021-09-29 14:38:20 +02:00
Liam Fitzgerald
452d6cab74 garden: update docket, jam 2021-09-29 20:01:30 +10:00
Liam Fitzgerald
ff2e1f1c6f arvo: update jamfiles, pills, dockets 2021-09-29 16:09:22 +10:00
Liam Fitzgerald
31f5898087 kiln: track original publisher with desk.ship file 2021-09-29 13:27:28 +10:00
Ted Blackman
597e36b8f9 kiln: fix local reinstall 2021-09-28 22:27:42 -04:00
Edward Amsden
dd99d734df
Merge pull request #5264 from urbit/ea/dist-trouble-vat-fixes
Fix +vats and alias +trouble to it
2021-09-28 20:24:06 -04:00
Edward Amsden
9b4ab936ee
hood: make gen/trouble/hoon a symlink of gen/vats/hoon 2021-09-28 20:18:34 -04:00
Liam Fitzgerald
9ee819e5ac spider: do not glob http request serving in +handle-start-thread 2021-09-29 09:57:23 +10:00
Ted Blackman
b362d38608 mar: add kiln snapshot json conversion 2021-09-28 17:25:48 -04:00
Fang
de409e6edb
kiln: adjust dudes even if remote is identical
There might be cases where the local situation still doesn't match. This
lets us recover from that.
2021-09-29 00:56:35 +04:00
Ted Blackman
afc8d631a7 delete glob mark from %base 2021-09-28 16:02:04 -04:00
Ted Blackman
3f5dc4d5e5 kiln: give %commit fact on no-op download 2021-09-28 15:43:25 -04:00
Ted Blackman
5511cc95b5 docket,kiln: snapshot on %watch 2021-09-28 15:33:16 -04:00
Fang
7427191a21
dist: pills and jams 2021-09-28 21:37:26 +04:00
Fang
526e60b04c
strandio: fail when http request gets cancelled
Instead of waiting for a proper response. Iris doesn't currently retry!

Also updates docket to detect this case and retry appropriately.
2021-09-28 20:51:51 +04:00
Fang
6d1636b566
herm: ignore legacy /tube wire responses
We use /$ now.
2021-09-28 19:37:13 +04:00
Fang
d0091baa62
desk-jams: update
Also cleans docket back up.
2021-09-28 19:30:07 +04:00
Fang
400d2e4f44
Merge remote-tracking branch 'origin/lf/versioning-marks-dist' into dist 2021-09-28 17:13:33 +04:00
Fang
1867209a12
Merge branch 'jm/spider-gall' into dist 2021-09-28 17:12:17 +04:00
Fang
c9e8c8ca60
kiln: make dist desks public on-boot
So that our sponsees (and other ship) can install the software on them.
2021-09-28 16:22:37 +04:00
Fang
059c2daed3
clay: make distribution desks public on-migrate
To ensure our sponsees (and other ships) can install from them.
2021-09-28 15:59:36 +04:00
Edward Amsden
dc6f2146e4
dist: update jamfiles 2021-09-28 07:41:02 -04:00
Liam Fitzgerald
77f7b05939 kiln: version external marks 2021-09-28 12:50:45 +10:00
ryjm
ed5e7e84ce spider: remove noisy logs
we weren't logging these anyway
2021-09-27 22:17:43 -04:00
ryjm
bf534ffe71 spider: clean serving threads 2021-09-27 22:09:35 -04:00
Ted Blackman
ba353fbd36 kiln: local aeon 0 check 2021-09-27 21:47:42 -04:00
ryjm
472f16fd2e garden spider: address comments 2021-09-27 21:23:46 -04:00
ryjm
47a6aa2753 spider garden: remove sigpams and move glob mark 2021-09-27 21:23:46 -04:00
ryjm
098587bf8b spider: fix mark validation
glob is succesfully downloaded and inserted into the docket state, but
as an octet stream. need to define the correct marks.
2021-09-27 21:23:46 -04:00
ryjm
121a7c9468 garden spider: add desk tracking 2021-09-27 21:23:46 -04:00
ryjm
ddf9e769ae spider, docket: move back to threads 2021-09-27 21:23:46 -04:00
ryjm
a08c38b83c spider: track desks and validate marks (wip) 2021-09-27 21:23:46 -04:00
ryjm
c630b560ee gall: don't verify spider marks 2021-09-27 21:23:46 -04:00
Liam Fitzgerald
32d97b8578 arvo: update jamfiles 2021-09-28 11:20:56 +10:00
Ted Blackman
7168959bf9 zuse: revert accidental kelvin change 2021-09-27 21:13:34 -04:00
Ted Blackman
1a16496308 ./symbolic-merge.sh base-dev arvo 2021-09-27 21:02:18 -04:00
Ted Blackman
5450a2a9c8 /tmp desk jams 2021-09-27 20:39:21 -04:00
Hunter Miller
9f45dce312 Merge branch 'dist' of github.com:urbit/urbit into dist 2021-09-27 18:57:16 -05:00
Hunter Miller
72e3aca57c Merge branch 'ea/master-dist-deconflict' into dist 2021-09-27 18:56:49 -05:00
Hunter Miller
502f2e8a9c Merge branch 'hm/btc-wallet-conflict-resolution' into ea/master-dist-deconflict 2021-09-27 18:55:45 -05:00
Ted Blackman
855e97d17a kiln: update other agents on kernel updates 2021-09-27 19:34:15 -04:00
Fang
18701b2ad2
kiln: always check local desk when adjusting dudes
We do not care about what's on foreign, the local desk is the thing
we're taking action on. This is more robust in the face of absent
information about foreign desks etc.

Also stops pretending to take-commet during take-merge-main. We'll get a
separate commit event.
2021-09-28 00:57:38 +04:00
Fang
18bad9c423
gall: give correct %gu results
Give false for suspended agents, instead of always giving true if the
agent exists.
2021-09-28 00:22:52 +04:00
Fang
4785dbbee5
docket: %leave glob subscriptions if necessary
If we're about to re-%watch on the same wire, we need to %leave first to
avoid getting into a duplicate wire situation.
2021-09-27 23:57:39 +04:00
Edward Amsden
02d2185eb3
move hoons to base-dev 2021-09-27 15:10:19 -04:00
Ted Blackman
7665e75849 manual merge @liam-fitzgerald misc. fixes PR 2021-09-27 14:50:58 -04:00
Ted Blackman
a869a75e4c pkg/arvo/tmp: update jamfiles 2021-09-27 14:35:11 -04:00
Ted Blackman
c947f899e6 -jam-all-desks: prevent recursive tempfile cancer 2021-09-27 14:20:44 -04:00
Edward Amsden
8484a87399
updated base.jam 2021-09-27 12:52:16 -04:00
Edward Amsden
20104b056b
dojo: fix house-6 type to use session-6 instead of session
Co-authored-by: Fang-
2021-09-27 12:39:06 -04:00
Fang
934c32d401
dojo: !< the vase like a normal person
It was never broken to begin with.
2021-09-27 19:12:39 +04:00
yosoyubik
f243500068 Merge remote-tracking branch 'origin/philip/naive' into naive/roller 2021-09-27 16:29:12 +02:00
Fang
ca6636b149
kiln: ensure +vats engine always initialized
This was not the case for +poke-install, leading us to write a vat to
state under the %$ desk.
2021-09-27 15:06:47 +04:00
Fang
82ab1c04c2
dist: track deskjams properly 2021-09-27 13:57:16 +04:00
Fang
deade98d02
dist: update pills and jams 2021-09-27 13:52:22 +04:00
Fang
1640ff6d38
dist: add glob mark, merge base-dev into others
This had fallen off the wagon at some point.
2021-09-27 13:34:23 +04:00
yosoyubik
a7ff010768 roller: return cryptoSuite in point as json string 2021-09-27 06:44:38 +02:00
yosoyubik
737afea9fa roller: return ship in rawTx as json number 2021-09-27 06:44:07 +02:00
Ted Blackman
ede1976745 kiln: partial fixes for +take-download scry crash 2021-09-27 00:08:11 -04:00
Ted Blackman
9aa8566a6e -jam-all-desks 2021-09-26 22:03:13 -04:00
Ted Blackman
2544b79e4b kiln,desks: remove %fish from /desk/bill; fix some other kiln issues 2021-09-26 17:03:26 -04:00
Fang
f9675040d1
dist: include desk jam files for livenet upgrade
These are required to ship alongside the rest of /pkg/arvo in the
"upgrade from master" case.
2021-09-27 00:31:20 +04:00
Ted Blackman
54e7f31d25 kiln: minor print cleanup 2021-09-26 15:32:27 -04:00
Fang
059fb9e1ee
dbug: fix dashboard for the softdist age
We can no longer rely on landscape to be installed and serving a
channel.js, so we bring our own.

App discovery works through gall now. We can only ask per desk though,
so we still need to talk to clay for the set of desks.
2021-09-26 14:21:54 +04:00
Ted Blackman
38767e5dee kiln: don't merge %kids from random desks 2021-09-26 01:07:45 -04:00
Ted Blackman
9d4cd216b3 kiln: +fmt for slogging 2021-09-26 01:07:23 -04:00
Philip Monk
a94e17915f clay: fix failure to load apps
When you loaded an app with an error, then fixed the error, it would
create the main gall %mult subscription at a time in the past.  Then,
clay would never fill the subscription since it couldn't get the old %a
entries for the apps.

This fixes the issue in two ways:  first, don't subscribe in the past.
Second, if clay can't get the old versions, just fire the subscription
anyway.
2021-09-26 00:26:37 -04:00
Ted Blackman
d81a4a7cba dill,kiln: fixes for boot and same-kelvin OTAs 2021-09-26 00:20:37 -04:00
Ted Blackman
8f115bf059 clay: remote-install desks during migration 2021-09-25 16:53:52 -04:00
Ted Blackman
bbc80f9d45 zuse,ames: ^^sein:title 2021-09-25 16:52:53 -04:00
Ted Blackman
ef65c9c152 +agents generator 2021-09-25 16:15:55 -04:00
Ted Blackman
2b27425dfe
Merge pull request #5254 from ryjm/jm/clay-trace
clay: print stacktrace on build failure
2021-09-25 15:43:30 -04:00
ryjm
154deb3281 clay: print stacktrace on build failure 2021-09-25 15:36:00 -04:00
Fang
ed516900e7
kiln: notify about local installs
Remote install send a %commit because they receive new files. Local
installs never receive files, so weren't notifying kiln subscribers.

Here we "manually" send a %commit fact when installing a local desk.
2021-09-25 18:26:04 +04:00
Fang
4ed2a5914b
eyre: bind most specific endpoint first
This sticks to the old behavior, which was briefly lost in recent
changes.
2021-09-25 17:44:31 +04:00
Fang
7d3fc3d9b1
eyre: update tests wrt recent changes 2021-09-25 17:16:39 +04:00
Fang
f51ac34517
dojo: reset =dir during migration
The base desk is the new default. If we leave the dir untouched, for
most users this means they remain on home, which gets rendered
explicitly in the prompt since it's no longer the default desk.
2021-09-25 15:43:43 +04:00
fang
fbf9ecd34c
Merge pull request #5246 from urbit/m/dojo-deskology
dojo: support running other-desk generators
2021-09-24 23:26:00 +02:00
Fang
dc5662b73e
dojo: finalize new +desk!generator syntax 2021-09-25 01:12:55 +04:00
Fang
369a6b7a47
eyre: allow overwriting existing bindings
Previously, if trying to bind to an endpoint that was already bound to,
eyre would reject it. This doesn't play very nicely in a softdist world
where uninstalled apps might not get a chance to clean up, and apps
might re-bind simply for being re-installed.

Here we change eyre to overwrite an existing binding if it conflicts
with the new one to be added.
2021-09-25 00:54:24 +04:00
Fang
ce09681b0a
clay: avoid migrating during boot
We set the "have we migrated yet" flag to true during boot, because
we're starting out in a post-migration world.

Also fixes a state version number.
2021-09-24 20:55:28 +04:00
Ted Blackman
6bf3a7fe4c Merge branch 'ted/dist-migrate-wip' into dist 2021-09-23 18:12:09 -04:00
Ted Blackman
c80fb82318 clay,kiln,landscape/notify: migration runs 2021-09-23 18:07:13 -04:00
Fang
9f89dadc41
dojo: support running other-desk generators
Syntax is +desk#gen. (We can probably find something nicer.)

:app|gen desugars to :app +desk#gen, where the desk is the desk the app
is running on.

:app|desk#gen currently broken, in the sense that the above desugaring
takes precedence.

+on-load just aborts any running user action to avoid having a
monstrously large state adapter.
2021-09-23 20:09:54 +02:00
Philip Monk
32f07f4c3e
naive: add block-number to input
Unused, but will be used to trigger all upgrades
2021-09-23 12:24:20 -05:00
Liam Fitzgerald
5dadee5375 Merge remote-tracking branch 'origin/dist' into m/dist-ames-glob-fixes 2021-09-23 15:50:55 +10:00
Ted Blackman
16abd02a66 gall: set %hood to %base during dist upgrade 2021-09-22 23:11:41 -04:00
Fang
6812d15480
gall, kiln: better migration logic 2021-09-22 22:34:20 +02:00
Fang
f70ec7f4c4
Merge remote-tracking branch 'origin/dist' into ted/dist-migrate-wip 2021-09-22 20:55:43 +02:00
Fang
eb1ec5b749
clay: clean up migration error case printfs 2021-09-22 15:45:04 +02:00
Liam Fitzgerald
f3befc8afc hood: fix pause poke 2021-09-22 13:20:05 +10:00
Fang
904165f83a
clay: don't forget the extra q
+load still nest-fails though.
2021-09-22 01:39:29 +02:00
Fang
f588ea9feb
clay: grab tmp desk jamfile correctly 2021-09-22 01:16:21 +02:00
Ted Blackman
30364ab29b clay: wip migration 2021-09-21 19:13:54 -04:00
Fang
0512ed1281
Revert "kiln: better +install-local fix"
This reverts commit e4949aeb6f.

The better fix wasn't better at all!
2021-09-21 19:06:03 +02:00
Fang
e4949aeb6f
kiln: better +install-local fix
We have an upstream, and it is local.
2021-09-21 17:53:17 +02:00
Fang
8d91e8a903
kiln: safer +install-local printf
We don't have upstream tracking state for local installs, so this
would just crash.
2021-09-21 17:32:27 +02:00
Liam Fitzgerald
e8148f20dd base-dev,arvo: update marks, add %ship mark 2021-09-21 14:51:57 +10:00
Liam Fitzgerald
848f52a8ad Merge remote-tracking branch 'origin/dist' into lf/dist-fixes 2021-09-21 13:44:12 +10:00
Liam Fitzgerald
571f8cef5e kiln: actually unpause desk 2021-09-21 12:49:04 +10:00
Hunter Miller
c7cafd8e1a permalink: fixed path and spider case 2021-09-20 21:09:19 -05:00
Paul Driver
381f970c75 working keccak jets 2021-09-20 18:38:10 -07:00
Fang
c0bfab9bf5
clay: wip migrate from desk jams
To work around mark availability issues.
2021-09-21 00:28:31 +02:00
Ted Blackman
55306b503c zuse: fix build errors 2021-09-20 17:22:32 -04:00
Fang
e9aa3821ef
zuse, clay: further wip migration 2021-09-20 23:13:04 +02:00
Fang
da28fbfed9
Merge dist into m/distpilled 2021-09-20 19:35:51 +02:00