yosoyubik
79d0129401
azimuth: use %kick poke to restart subscriptions
2022-05-07 16:27:04 +02:00
John Franklin
43db356619
show-vat: change output formatting to match +vats
2022-05-07 03:16:30 -05:00
John Franklin
3d9f0c6414
vat: add +vat, a single-desk version of +vats
2022-05-07 02:20:44 -05:00
yosoyubik
a278b63c66
ames: add tracing printf
2022-05-06 09:47:19 +02:00
yosoyubik
6318aa283b
ames: retry sending a %cork if publisher is behind
2022-05-05 14:04:18 +02:00
yosoyubik
06883b617e
ames: add new state version in +stay
2022-05-05 13:00:23 +02:00
Philip Monk
591bdf458c
Merge branch 'next/arvo' into philip/tomb
2022-05-04 00:45:57 -07:00
Philip Monk
4760e4e158
clay: fix |pick
2022-05-04 00:22:00 -07:00
Philip Monk
36640afaa0
clay: add |pick
2022-05-03 22:58:40 -07:00
Philip Monk
c995f04474
clay: comment
2022-05-03 22:09:36 -07:00
Philip Monk
53353cde11
clay: add %sweep scry to verify refcounts
2022-05-03 21:59:56 -07:00
Philip Monk
d59fb3a82b
clay: address review comments
2022-05-03 19:17:39 -07:00
Philip Monk
a3a2934d53
clay: add dependencies to stack on sprig hit
2022-05-03 16:47:48 -07:00
Philip Monk
c96e5bbf09
clay: reduce printfs
2022-05-03 16:20:36 -07:00
Philip Monk
7e17ae25fb
clay: rename poor->mist
2022-05-03 16:17:28 -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
yosoyubik
53e1c86833
Merge remote-tracking branch 'origin/yu/ames-fixes' into yu/gall-rq-wire-ames-flow-kill
2022-05-03 13:57:39 +02:00
yosoyubik
ec60399cdf
ames: restore previous +decode-shut-packet
2022-05-03 12:49:10 +02:00
yosoyubik
3f7f4dbd5a
gall: handle %kicks for nonexistent subscriptions
2022-05-03 12:49:10 +02:00
yosoyubik
a288d455c3
ames: remove %cork from |ack-meat
2022-05-03 12:49:10 +02:00
yosoyubik
c380cf3f42
gall: add %cork to remote-request action
2022-05-03 12:49:10 +02:00
yosoyubik
0a96d69785
gall: include sub-nonce in unsubscribe wire
2022-05-03 12:49:10 +02:00
yosoyubik
674c9e95a0
gall: style indentation
2022-05-03 12:49:09 +02:00
yosoyubik
8be9257164
ames: style indentation
2022-05-03 12:49:09 +02:00
yosoyubik
52ef6ba08e
ames: handles decoding old-format shut-packets
2022-05-03 12:49:09 +02:00
h5gq3
c95cce4404
style fixes
2022-05-03 12:49:09 +02:00
h5gq3
5583fc1320
ames-flow-kill
2022-05-03 12:49:09 +02:00
Ted Blackman
fdd2067e75
gall: review cleanups
2022-05-03 12:49:09 +02:00
Ted Blackman
9582307713
dbug: fix type error from nonce change
2022-05-03 12:49:09 +02:00
Ted Blackman
edf5ec9123
gall: upgrades almost smoothly
2022-05-03 12:49:09 +02:00
Ted Blackman
c63732cd77
dbug,spider: fix type errors; ship boots
2022-05-03 12:49:08 +02:00
Ted Blackman
a4ae79e794
gall: compiles with nonce in wire
2022-05-03 12:49:08 +02:00
yosoyubik
0252d71553
gall: WIP added sub-nonce to state and wire
2022-05-03 12:49:08 +02:00
Philip Monk
53a417dc43
clay: add sprig cache
2022-05-03 01:32:40 -07:00
Philip Monk
21cc132884
clay: rename ford-cache->flow
2022-05-03 00:17:30 -07:00
Philip Monk
8bab16d448
clay: remove -k arms
2022-05-01 17:03:17 -07:00
Philip Monk
0b72164740
clay: remove +build-leak
2022-05-01 16:36:45 -07:00
Philip Monk
c2754662b8
clay: new ford cache
2022-05-01 03:54:03 -07:00
Philip Monk
7219b7e58f
clay: collapse version 12 into 11
2022-04-29 20:44:42 -07:00
Philip Monk
5a5de05518
clay: enable mounting revisions of desks
2022-04-29 18:50:30 -07:00
Philip Monk
a7eaddfdc7
clay: remove ankh
...
ankh was a cache of the current validated blobs, which is no longer
necessary
2022-04-29 17:29:50 -07:00
Philip Monk
60950ade08
clay: cleanup
2022-04-29 15:05:53 -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
yosoyubik
02806f63a1
ames: hardcode rift for comets in state upgrade
2022-04-27 06:24:55 +02:00
yosoyubik
79af26fc3c
azimuth: revert azimuth change in 60cc44e
2022-04-26 18:36:48 +02:00
Philip Monk
ac6e793aa2
arvo: rename +de to +of
2022-04-22 17:55:42 -07:00
yosoyubik
9cb425e0ef
ames: remove unused ames-to-ames %plea logic
...
This seems to have been used in the past for pinging the ship's
sponsor, but was later removed when the :ping app was introduced
2022-04-22 15:49:15 +02:00
yosoyubik
087f24e931
ames: use +trace to print logs
2022-04-22 12:29:16 +02:00
yosoyubik
e2f8e21529
ames: remove sigwut
2022-04-22 12:26:53 +02:00
yosoyubik
471b9be22d
ames: fix emit of parsing old wire log
2022-04-22 12:26:24 +02:00
yosoyubik
91435a92ca
ames: don't drop events with old wires
...
Previously we were dropping events that used old
wires that lacked a rift in them. This seems a
bad behavior because we don't want to destroy a
flow that has not been processed by both ends.
Note: pending a fix to test-old-ames-wire
2022-04-22 12:26:14 +02:00
yosoyubik
6cdebea1af
ames: address review
2022-04-22 12:26:08 +02:00
yosoyubik
60cc44e961
ames: fix cached state in larval upgrade
2022-04-22 12:26:02 +02:00
yosoyubik
1b01455fe5
ames: fix dangling-bone error
2022-04-22 12:25:55 +02:00
fang
4415aa781e
Merge branch 'next/arvo' into m/aqua-revival
2022-04-20 18:47:59 +02:00
Philip Monk
dfd4fc1028
clay: wip
2022-04-19 20:03:32 -07:00
yosoyubik
7bf759adb0
roller: fix parsing nonces with dot separator
2022-04-15 15:27:08 +02:00
yosoyubik
2eec24ee27
roller: make output less loud
2022-04-15 13:19:10 +02:00
Philip Monk
3b337a14ce
Merge branch 'philip/direct' into philip/tomb
2022-04-13 15:01:25 -07:00
Philip Monk
3a04dc3160
clay: address review comments
2022-04-13 15:00:59 -07:00
drbeefsupreme
9238c3f119
naive: l2 csv remove scag on logs for testing
2022-04-13 14:10:19 -04:00
Philip Monk
10a2acdcc1
clay: use old requests for now when backfilling
2022-04-13 01:12:05 -07:00
Philip Monk
ce5ef26202
Merge branch 'philip/direct' into philip/tomb
2022-04-13 01:00:23 -07:00
Philip Monk
8805e0ee85
clay: convert all blobs to pages
...
This converts the blob store from having deltas, directs, and
tombstones, to just having direct pages. This simplifies a lot of code,
since we don't have to constantly ensure that deltas always have their
parent available.
This removes the hardcoded text diff logic from clay, which was
previously required for bootstrapping.
Over the wire, we handle both old and new requests and responses
transparently, so communication is normal in both directions across
ships which do or do not have this change.
2022-04-13 00:35:58 -07:00
Philip Monk
bb14c495da
clay: seek wip
2022-04-12 21:02:50 -07:00
Philip Monk
72fa850912
clay: don't download unneeded blobs
2022-04-12 18:31:55 -07:00
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
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