Pyry Kovanen
148c7880da
eth-watcher: remove obsolete zoom-margin handling
2022-04-11 22:15:14 +03:00
Philip Monk
81574fe93c
clay: add |norm
2022-04-08 21:32:14 -07:00
Philip Monk
ed00d38166
clay: add |tomb
2022-04-08 21:20:02 -07:00
Philip Monk
78d2d12cca
clay; fix overly cautios tombstoning
2022-04-08 17:28:42 -07:00
Philip Monk
39b7b0a96b
clay: add %tako scry
2022-04-08 16:21:19 -07:00
Philip Monk
07d8187fcc
clay: allow to set norm for past revision
2022-04-08 15:50:35 -07:00
Philip Monk
d71a685b91
clay: add norm to +pick cache
2022-04-07 18:10:00 -07:00
Philip Monk
85fb3502c7
Merge branch 'philip/trie' into philip/tomb
2022-04-07 17:16:14 -07:00
Philip Monk
d46dc282c4
arvo: revert axal to use $
2022-04-07 17:15:59 -07:00
Philip Monk
3096bc8991
Merge branch 'philip/trie' into philip/tomb
2022-04-07 16:31:27 -07:00
Philip Monk
6765a03cac
clay: address review comments
2022-04-07 16:31:12 -07:00
fang
132592e32e
Merge pull request #5695 from pkova/master
...
eth-watcher: implement optional to-block parameter
2022-04-07 16:15:21 +02:00
fang
c4f3825f3a
aqua: revert erroneously committed changes
...
These changes, part of optimization experiments, had snuck in somewhere.
2022-04-07 14:39:52 +02:00
pkova
32ac7434f4
eth-watcher: implement optional to-block parameter
2022-04-07 14:24:28 +03:00
Philip Monk
6dc20bfa7f
clay: trying to find %dead bug
2022-04-07 00:44:49 -07:00
Philip Monk
7482717c02
clay: make +pick fast
2022-04-06 23:16:26 -07:00
Philip Monk
84ccf60b19
clay: add gc routines
2022-04-06 21:45:30 -07:00
Philip Monk
8084200f81
clay: add norm state, remove mark from %delta blobs
2022-04-06 21:44:50 -07:00
fang
13d1c28927
hoon: make manual shorthand type printing prettier
2022-04-06 23:24:43 +02:00
Philip Monk
a51152d1a4
clay: address review comments
2022-04-06 12:16:22 -07:00
drbeefsupreme
d74bde7408
naive: l2 csv more comment spacing
2022-04-06 12:18:24 -04:00
drbeefsupreme
2ba36f97ac
naive: l2 csv remove space from line >80 char
2022-04-06 12:16:57 -04:00
drbeefsupreme
e70b036e07
naive: l2 csv correct tx-data initialization
...
it seemed to work correctly before, but this makes it more clear that
we're doing the right thing
2022-04-06 12:10:00 -04:00
drbeefsupreme
fe9481d9b9
naive: l2 csv remove wip comment
...
it's done better now
2022-04-06 11:58:21 -04:00
drbeefsupreme
d38d8ab371
naive: remove name collision for block
...
the face block was being used for both blocknums and [blocknum
block-dat], this makes all blocknums called blocknum instead
2022-04-06 11:55:20 -04:00
drbeefsupreme
a4250cbac0
naive: l2 csv error handling for child threads
...
use +mean instead of just a bare ~|
2022-04-06 11:50:44 -04:00
drbeefsupreme
76b195e4ce
naive: l2 csv style changes
...
no semantic differences
2022-04-06 11:44:28 -04:00
drbeefsupreme
77573850aa
Merge branch 'jon/thread-marks' into jon/l2-csv
2022-04-06 11:39:03 -04:00
~datnut-pollen
a7005dcddb
naive: l2 csv apply ~wicdev's style suggestions
...
Co-authored-by: Philip Monk <phil@pcmonk.me>
2022-04-06 10:51:07 -04:00
fang
9bbf6dfad0
aqua: disable cache loading for real ships for now
...
It breaks some of the azimuth-related tests in a seemingly inconsistent
way, and I cannot find a way to make it work.
2022-04-06 14:52:21 +02:00
fang
fa1a04ea6e
aqua: support using real moons
...
Only "shortmoons" though, due to some ames lane size limitation which
makes encoding longer ships difficult.
Notably the -ph-moon-az test does not pass, the moon cannot talk to a
non-sponsor galaxy.
2022-04-06 14:51:02 +02:00
Philip Monk
4131821b4f
clay: unify all trie implementations
...
We had trie operations independently implemented in +de in arvo,
+an:cloy in zuse, +zu in clay, lib/trie, and app/spider. This unifies
them all into +de in arvo, aggregating the used operations.
2022-04-06 00:19:38 -07:00
Philip Monk
0f6f2d6321
clay: bump kelvin, refactor
2022-04-06 00:18:23 -07:00
Philip Monk
90a2625016
clay: style
2022-04-05 20:30:52 -07:00
fang
14f518ef4a
ph: clarify comment in moon test
2022-04-05 23:05:07 +02:00
lukechampine
8399b7b96c
ames: add resend timer for attestation requests
2022-04-04 00:19:55 -04:00
lukechampine
2f7a5964b3
tests: add message flow tests for comets
2022-04-02 22:38:59 -04:00
Philip Monk
73180a0d94
Merge pull request #5670 from urbit/jon/thread-marks
...
spider: fix child threads
2022-04-01 16:48:15 -07:00
fang
69c3976460
aqua: remove todo list note
...
Was committed accidentally.
2022-03-31 23:39:20 +02:00
fang
30be6ef9c8
aqua: stub out azimuth snapshot in pills
...
It would interfere with aqua's simulation of azimuth.
2022-03-30 17:38:09 +02:00
fang
3d639f325e
aqua: cache real ships as well
...
And inject their latest keys as soon as we pull them from cache. This
way, we avoid having to do the whole boot sequence again just for a
modified dawn event.
2022-03-30 16:38:48 +02:00
fang
2f3527921a
aqua: increase azimuth refresh rate for real ships
...
This reduces the time it takes to run tests that wait on azimuth events.
For example, -ph-breach-hi runs ~30% faster.
2022-03-30 13:59:10 +02:00
fang
dad82436be
aqua: support injecting arbitrary tasks
2022-03-30 12:51:46 +02:00
fang
c55975e8de
azimuth: allow configuring of the refresh rate
...
Pulls a constant out of the code, into state, and adds a poke for
changing it.
2022-03-30 12:19:57 +02:00
drbeefsupreme
5ff408057b
squash! spider: mv %thread-done %thread-fail to base-dev
2022-03-28 10:48:43 -04:00
drbeefsupreme
19db24acdd
spider: mv %thread-done %thread-fail to base-dev
2022-03-28 10:42:05 -04:00
Joe Bryan
9a1b3eaf15
Merge pull request #5664 from urbit/jb/type-leak
...
hoon: plug type leak in compiler bootstrap
2022-03-28 09:08:59 -04:00
Philip Monk
90098067f2
clay: extend %tomb to delete all unneeded blobs
2022-03-26 14:37:46 -07:00
Jōshin
66655a76b8
arvo: $card is (cask)
2022-03-26 09:17:39 -06:00
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
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
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