David Farrell
09fdc43e6b
pkg: -test shouldn't require a list of paths
...
Changes the test command to check if args contains a single path and
wraps it in a list. Now a test thread can be started without providing
a list:
-test %/tests/lib
And passing a list still works:
test %/tests/lib ~
One nit in this change is the lark expression to reach into args: if
args is ~ then instead of getting a useful need/have error, the test
ends in a "false-start". Perhaps this could be fixed by detecting ~
and setting it to %/tests.
2022-05-27 21:23:16 -04:00
Philip Monk
ac64f44538
clay: update tests
2022-05-20 20:03:34 -07:00
Philip Monk
c091ec92eb
various: make all files build correctly
2022-05-14 22:49:10 -07:00
Philip Monk
e457a4c15e
Merge remote-tracking branch 'origin/jm/homebase' into philip/tomb
2022-05-14 20:46:09 -07:00
Philip Monk
71d4f72ce1
Merge pull request #5647 from urbit/roller/batch-split
...
roller: add batch-trimming functionality
2022-05-03 14:34:12 -07:00
Philip Monk
8d2ddfd467
Merge pull request #5671 from urbit/jon/l2-csv
...
L2 transaction gas costs csv thread
2022-04-29 14:53:29 -07:00
fang
4415aa781e
Merge branch 'next/arvo' into m/aqua-revival
2022-04-20 18:47:59 +02:00
yosoyubik
2eec24ee27
roller: make output less loud
2022-04-15 13:19:10 +02:00
drbeefsupreme
9238c3f119
naive: l2 csv remove scag on logs for testing
2022-04-13 14:10:19 -04: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
pkova
32ac7434f4
eth-watcher: implement optional to-block parameter
2022-04-07 14:24:28 +03: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
~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
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
fang
14f518ef4a
ph: clarify comment in moon test
2022-04-05 23:05:07 +02:00
drbeefsupreme
5d9d4af0c0
squash! squash! squash! naive: l2 csv more informative printfs & comments
2022-03-25 18:10:29 -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
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
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
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
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
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
ba511525c7
ph: remove deprecated migration testing threads
2022-03-17 17:01:55 +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