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
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
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
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
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
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
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
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