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
Ted Blackman
fb8c73e39a
zuse,clay: WIP +migrate-dist
2021-09-20 13:01:48 -04:00
fang
b0236e5de5
azimuth: update for latest ecliptic address
2021-09-20 18:15:56 +02:00
Fang
fa34f2cc26
ethereum: avoid unnecessary list traversal
2021-09-20 16:40:59 +02:00
Ted Blackman
04e010e6c8
Merge branch 'dist' into ted/dist-migrate-wip
2021-09-20 07:43:43 -04:00
yosoyubik
e3faa84c92
azimuth-roll-rpc: add sig to json pending-tx
2021-09-20 08:33:53 +02:00
yosoyubik
0042426179
roller: fix crash in +pending-by address
2021-09-20 08:31:15 +02:00
yosoyubik
aa601453d3
roller: include time in pending txs response data
2021-09-20 07:29:17 +02:00
yosoyubik
9c3cd5240d
roller: add generators to connect to eth nodes
2021-09-20 07:24:10 +02:00
yosoyubik
85debb1ce9
ethereum: add block to %eth-get-balance
2021-09-20 07:19:05 +02:00
Liam Fitzgerald
240b0bd077
arvo: start %herm by default
2021-09-20 14:43:59 +10:00
Fang
4692c10fe2
ethereum: add support for eip-1559 transactions
...
Adds a new transaction type and signing method for eip-1559-style
transactions.
Includes a $typed-transactions type which can support any number of
eip-2718-style typed transactions.
2021-09-18 20:41:33 +02:00
Fang
3c5fd9fda6
ethereum: ensure "to" value is 20 bytes wide
...
Previously, this would measure as <20 bytes for addresses with leading
zeroes. This resulted in transactions with unexpected behavior.
For example, sending ETH to the zero address would create a contract
instead.
Here we switch to using +encode:rlp directly and indicate a width of
20 bytes for the "to" field.
2021-09-18 20:41:26 +02:00
Fang
d33f851466
ethereum: accept plain atoms for rlp encoding
...
It will measure them for you, making it easier to encode lists
containing both fixed- and variable-width numbers.
Largely obviates the need for +encode-atoms.
2021-09-18 20:41:21 +02:00
Fang
0c1e999cdb
ethereum: fix bug with rlp encoding of zero bytes
...
Null bytes in lists were getting eaten during concatenation. To avoid
this, we track encoded item widths (which are always 1 or higher) and
+can them all together.
This likely did not affect any of the other Ethereum code, considering
it nearly always measures atoms, and the null byte would be seen as
no bytes in that case.
2021-09-18 20:41:14 +02:00
Liam Fitzgerald
7b9b0c62b7
various: update symbolic merges
2021-09-17 14:54:01 +10:00
Liam Fitzgerald
143a8e08e6
various: fix dependencies & tests
2021-09-17 14:51:19 +10:00
Ted Blackman
3b30b67a3e
Merge branch 'ted/kiln-warp' into m/distpilled, and
...
modify Kiln to listen for %writ's from Clay to track commits to Clay
that were not generated by Kiln itself.
2021-09-16 12:25:02 -04:00
fang
d0f8eda937
hoon: correctly parse empty path
...
And reject paths ending in empty segments.
The following cases were being parsed incorrectly:
- `/` represents the empty path, `~`. This was being parsed into `[~. ~]`
- `/x/` is not valid. This was being parsed into `[~.x ~. ~]`
This happens because `urs:ab` has no problem parsing the empty string.
For some supported cases, like `//x` (`[~. ~.x ~]`), this is actually desired
behavior, but it results in trailing empty segments for paths ending in `/`.
Here we apply a `+sear` on top of the existing parser, that transform the `/`
case to produce `~`, and ensures the absence of a trailing empty segment in
all other cases.
Note that we change `(more fas urs:ab)` to `(most fas urs:ab)`. Since `urs:ab`
parses the empty string, this doesn't actually make a difference, but it does
make it more obvious that the `+rear` call will never crash.
Alternative approaches I attempted all resulted in much more complicated
parser, so the dumb `+sear` seems preferable.
We do eat the performance cost of an additional list traversal (in `+rear`)
with this change, but that is probably not the end of the world.
Fixes #1501 .
2021-09-16 12:39:50 +02:00
Fang
a29c3414d9
solid: support generating multi-desk pills
...
Notably, we include the base desk last. This is to ensure that the
other desks are present by the time kiln gets loaded from base, letting
it install the software on the other desks, as per 22ad2516c
.
2021-09-15 23:53:52 +02:00
Fang
22ad2516c9
kiln: install from existing desks during +on-init
...
During kiln's +on-init, we now check for non-base (and non-kids) desks.
If any are present, we execute the install flow for them, and set them
to sync from our sponsor afterwards.
This depends on work done in d7afe3229
, in that without those changes
the successive +find requests from kiln to clay would clobber each
other, leaving only the "install from sponsor" one active, thus never
actually installing the desk for which we already have the files.
2021-09-15 23:53:24 +02:00
Fang
d7afe32291
kiln: synchronize install flow for local desks
...
When installing from an existing local desk, kiln now scries the
relevant data out of clay instead of sending moves to it and awaiting
responses.
This prepares for coming kiln work.
2021-09-15 23:52:50 +02:00
Ted Blackman
577ec24459
kiln: WIP listen to %warp's too
2021-09-15 22:57:08 +03:00
Joe Bryan
49b84d03e7
naive: fixes bug (absolute vs relative step) in signature octs slice
2021-09-15 13:28:44 -04:00
Joe Bryan
bb53d5a8ba
naive: splits large batch test into parsing and full tx handling
2021-09-15 10:36:56 -04:00
Joe Bryan
94b690cb74
naive: replace +div/+mod calls with +dvr, rewrites +ud-to-ascii
2021-09-14 22:48:06 -04:00
Joe Bryan
aa29b61da5
tiny: removes +dad
2021-09-14 22:36:32 -04:00
Joe Bryan
67310811b2
tiny: adds, jets +dvr
2021-09-14 22:36:11 -04:00
Joe Bryan
17b97de8f8
naive: updates l2 parser to use a bitwise cursor
2021-09-14 19:52:28 -04:00
Joe Bryan
87acc0bf8d
tiny: jets +cut
2021-09-14 19:52:25 -04:00
Liam Fitzgerald
a433e4f911
Merge remote-tracking branch 'origin/dist' into lf/nu-hark-store
2021-09-14 12:40:52 +10:00
Liam Fitzgerald
b5ab6a7842
kiln: add pause, resume marks
2021-09-14 09:47:25 +10:00
Philip Monk
312d27169b
naive: specific large batch test
2021-09-13 14:24:00 -05:00
Philip Monk
94c2223bf8
naive: style
2021-09-13 14:23:21 -05:00
Philip Monk
6d0dcc429b
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive
2021-09-13 13:49:56 -05:00
drbeefsupreme
22d19f29cc
naive: remove unnecessary variable from test
2021-09-13 14:42:59 -04:00
drbeefsupreme
08e4a5afce
naive: large batch test is an actual batch
2021-09-13 14:40:26 -04:00
drbeefsupreme
b808f927d2
naive: large batch test
2021-09-13 12:56:53 -04:00