Commit Graph

10374 Commits

Author SHA1 Message Date
Fang
124cf43d70
dawn: update vere's dawn for L2 preboot validation 2021-07-07 17:37:54 +02:00
Fang
70f960ab0f
azimuth: produce %noun-marked results on-peek
These were fake marks, which would give us trouble when asking for %noun
results. Now we just produce them as %noun results explicitly.
2021-07-07 17:35:07 +02:00
Fang
38e4e06e0b
json-rpc: support batch requests
Because this updates +validate-request, we must update azimuth-rpc
to match.

Naming of $batch-requests is admittedly a bit questionable...
2021-07-07 17:29:12 +02:00
Fang
0b1ff05a02
dawn: rip out /lib/json/rpc dependency
The functionality we need is minimal, so better to just reproduce
in-line instead of pulling in a questionable dependency.
2021-07-07 17:26:22 +02:00
Fang
19cb432ad2
dawn: fix /lib/vere compilation errors 2021-07-07 17:25:11 +02:00
Fang
9444537b8d
json-rpc: never crash when validating request
Instead produce the empty unit for failure cases, like the function
signature implies.
2021-07-06 23:10:05 +02:00
yosoyubik
14165a9215 naive: add missing aggregator-action in transfer-point 2021-07-06 19:49:19 +02:00
Fang
ecd1146461
Merge branch 'naive/aggregator' into naive/preboot 2021-07-06 17:02:36 +02:00
yosoyubik
56df09cb12 naive: remove wrong cast 2021-07-03 12:50:38 +02:00
Fang
f3b57d7b61
dawn: update for azimuth-rpc, wip
Contains the bulk of the changes, but is missing escape parsing,
doesn't handle missing optional fields nicely, and is mostly untested.
2021-07-03 00:51:19 +02:00
Fang
cb1a7cb76a
Merge branch 'm/multipass' into naive/preboot 2021-07-02 16:20:51 +02:00
yosoyubik
cf68f8b5c5 Merge remote-tracking branch 'origin/poprox/naive-tests' into naive/aggregator 2021-07-02 07:03:51 +02:00
yosoyubik
be79e0653c Merge remote-tracking branch 'origin/philip/naive' into naive/aggregator 2021-07-02 07:03:22 +02:00
yosoyubik
8ada986f78 naive: support camel case rpc method name 2021-07-01 14:34:24 +02:00
yosoyubik
c4f8d6c672 naive: return signature for pending txs as hex-encoded string 2021-06-29 07:46:29 +02:00
yosoyubik
b14b7d131e naive: add rpc for retrieving roller configuration data 2021-06-29 07:45:44 +02:00
drbeefsupreme
78521236a3
Merge branch 'philip/naive' into poprox/naive-tests 2021-06-28 15:33:51 -04:00
yosoyubik
af295b2f5e naive: add get-dns to azimuth-rpc 2021-06-28 13:01:04 +02:00
yosoyubik
3ca12235e5 naive: only accept hex-encoded signature and raw rpc arguments 2021-06-28 12:38:10 +02:00
yosoyubik
ed36304749 naive: also accept ship in rpc argument as number 2021-06-28 12:36:48 +02:00
yosoyubik
845cd2090e naive: discard duplicate txs whe updatating predicted state 2021-06-28 07:46:09 +02:00
yosoyubik
5eb07edde5 naive: add ownership index to /app/azimuth 2021-06-28 07:26:47 +02:00
yosoyubik
8ea0ee004e naive: clean up updating predicted state 2021-06-24 16:56:32 +02:00
yosoyubik
d03d710796 naive: add index of points by ethereum address 2021-06-24 16:54:23 +02:00
yosoyubik
e05234c179 naive: add gas to ju 2021-06-24 16:41:44 +02:00
yosoyubik
1e7e2e1193 naive: use lte to emphasize parent equality 2021-06-24 16:40:53 +02:00
yosoyubik
5b317acca5 naive: use 10 gwei for fallback-gas-price 2021-06-24 16:38:54 +02:00
Philip Monk
99955ce8d3
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-06-22 09:51:33 -10:00
Philip Monk
72b6e11e43
naive: update for L1 changes 2021-06-22 09:50:22 -10:00
drbeefsupreme
e9227dca7e
naive: %manage events working 2021-06-22 14:57:57 -04:00
drbeefsupreme
126f286ed5
naive: ~pidted-dacnum joins the party 2021-06-22 14:36:28 -04:00
drbeefsupreme
80fa78319a
naive: another forgotten test ship 2021-06-22 14:34:05 -04:00
drbeefsupreme
413df5570f
naive: apparently forgot a test planet 2021-06-22 14:30:06 -04:00
drbeefsupreme
ae3b2ec6af
naive: tests: nonces for proxies 2021-06-22 13:55:24 -04:00
yosoyubik
3289f84b71 naive: update history's tx status when predicting state 2021-06-22 15:15:33 +02:00
yosoyubik
2c2c7db981 naive: get point data from aggregator 2021-06-22 15:00:24 +02:00
yosoyubik
c715ef59fd naive: add cancel pending transaction 2021-06-21 11:27:36 +02:00
drbeefsupreme
cd615524cd
naive: ownership testing 2021-06-17 17:46:52 -04:00
drbeefsupreme
01328c03af
naive: nonce testing on 2021-06-17 17:17:03 -04:00
drbeefsupreme
7dbf0a28d2
naive: ~red init 2021-06-17 16:43:58 -04:00
drbeefsupreme
68a9e397a3
naive: fix check on %spawn dominion %set-spawn-proxy 2021-06-17 14:38:22 -04:00
drbeefsupreme
1116c8eeb8
naive: %escape tests
succeeds for dominion %l2, fails for other dominion
2021-06-17 14:06:20 -04:00
drbeefsupreme
3ddb3b14d2
naive: rut-test description, slight refactor 2021-06-17 13:19:02 -04:00
fang
bdaad4cf84
kh: don't error during key validation
Instead produce an Either.
2021-06-17 17:42:44 +02:00
yosoyubik
7e9a2bcfcd naive: fix json param parsing in rpc-api 2021-06-17 15:12:10 +02:00
fang
f8d5a1644c
kh: improve naming and code style 2021-06-17 14:48:09 +02:00
yosoyubik
845a2d1c1b naive: add l2 tx history by ethereum address 2021-06-16 17:03:21 +02:00
drbeefsupreme
a7dbecd372
naive: fix %transfer-point test 2021-06-15 18:14:51 -04:00
drbeefsupreme
bf8155425c
naive: fix key set test 2021-06-15 18:11:47 -04:00
drbeefsupreme
e160485eb0
naive: working spawn tests 2021-06-15 18:07:20 -04:00
drbeefsupreme
5581094263
naive: refactor test state settesr 2021-06-15 17:29:48 -04:00
drbeefsupreme
4a533a17e6
naive: full state testing for mgmt 2021-06-15 16:29:17 -04:00
drbeefsupreme
d234fb4bb3
naive: spawn planet with planet test 2021-06-15 15:36:54 -04:00
drbeefsupreme
f921c8d4dc
naive: rewrite success-map 2021-06-15 15:20:47 -04:00
yosoyubik
33b9f76540 naive: account for raw-tx data size in gas limit 2021-06-15 07:22:55 +02:00
yosoyubik
4c4e0e70b8 naive: fix gas limit for l2 batch transaction 2021-06-14 17:21:57 +02:00
yosoyubik
066795c32c naive: add pending-by-address to aggregator 2021-06-14 15:00:15 +02:00
yosoyubik
0573232726 naive: add %noncefrom ship/proxy to rpc-api 2021-06-14 14:18:57 +02:00
yosoyubik
e513768b90 naive: wip scale gas limit with roll size 2021-06-11 16:41:17 +02:00
yosoyubik
bc3d6e4ac7 Merge branch 'yu/naive-ordered-map' into naive/aggregator 2021-06-11 12:39:03 +02:00
yosoyubik
121ee03fd0 naive: add hint to +por arm 2021-06-11 12:32:47 +02:00
yosoyubik
b52cf1aa1d naive: defer deriving predicted naive state in aggregator 2021-06-11 12:27:05 +02:00
drbeefsupreme
d16ef8beb1
naive: spawn test arms 2021-06-10 17:04:28 -04:00
drbeefsupreme
1b6d81a0c8
naive: %transfer-point tests 2021-06-10 15:59:38 -04:00
drbeefsupreme
3c2daa06b4
naive: match %configure-keys to skim:tx format 2021-06-10 15:34:42 -04:00
Philip Monk
e14ed392e6
naive: don't crash if we receive extra L1 logs 2021-06-10 09:22:51 -10:00
drbeefsupreme
4c7cdc253a
naive: spawn and xfer proxy tests 2021-06-10 15:19:31 -04:00
drbeefsupreme
3bba3e5ac0
naive: fix nonce set 2021-06-10 13:23:10 -04:00
drbeefsupreme
71c6b45bc4
naive: add test categories 2021-06-10 13:22:10 -04:00
drbeefsupreme
da53512560
naive: more style 2021-06-10 12:51:19 -04:00
drbeefsupreme
3c36a38181
naive: cleanup style 2021-06-10 12:43:33 -04:00
yosoyubik
37ab836bcb naive: add latest +on map with parent order 2021-06-10 13:39:03 +02:00
yosoyubik
749f8e93f9 naive: add when %next-batch to rpc-api 2021-06-09 15:59:04 +02:00
yosoyubik
60ba0f81dd naive: add units for endpoint and nonce in aggregator 2021-06-09 15:37:37 +02:00
fang
2d01e1851f
Merge branch 'master' into m/multipass 2021-06-09 14:34:49 +02:00
yosoyubik
0a5a69396c naive: remove setting nonce manually 2021-06-09 14:26:10 +02:00
yosoyubik
87be8c0e2d naive: wip use ordered map for points.nas 2021-06-09 14:20:58 +02:00
yosoyubik
0f0af88a31 naive: wip add ordered-map for points 2021-06-09 13:34:04 +02:00
yosoyubik
852881eff1 naive: rename nas to pre (predicted state) 2021-06-09 13:30:36 +02:00
yosoyubik
85c0c11257 naive: add time for next L2 batch to state 2021-06-09 13:05:17 +02:00
ryjm
0142fce219 king: add crud event to jael 2021-06-09 05:54:57 -04:00
ryjm
8ad9d022a1 king: fix noun derivation 2021-06-09 01:50:34 -04:00
drbeefsupreme
0bf69a99a3
naive: new test system working for mgmt proxies
hopefully its all downhill from here
2021-06-08 19:04:08 -04:00
yosoyubik
b9c5d9e2e6 naive: listen to %resend timer 2021-06-07 13:09:16 +02:00
yosoyubik
ca2b626c4e naive: init aggregator timer on-init 2021-06-07 13:07:35 +02:00
yosoyubik
e7eaf3d2c6 naive: try updating predicted state on confirmed L2 tx 2021-06-07 11:41:02 +02:00
yosoyubik
e35a8b9e7f naive: cached naive state -> predicted naive state 2021-06-07 11:20:31 +02:00
yosoyubik
a01289145b naive: update aggregator cached naive state eagerly
The aggregator keeps a cached naive state that is recreated using the 
canonical L2 state from the %azimuth agent, every time a new L2 tx comes 
in via +take-tx (used by clients of the aggregator).

This makes the cached state ahead of the canonical L2 state, but 
recreated every time a client sends a tx, using the list of pending (not 
sent out to an ethereum node) and sending (waiting confirmation from 
L1). This step drops any pending and sending transactions that do not 
apply correctly.

Hearing about a new L2 tx confirmed in L1 (+on-naive-diff) removes such 
transaction from the sending list, but does not update the cached state, 
since this was already done when the L2 tx was seen in +take-tx.
2021-06-05 14:24:37 +02:00
yosoyubik
9c70e006a1 naive: fix wrong wire when receiving azimuth txs 2021-06-05 13:58:34 +02:00
yosoyubik
5859642363 naive: pack tx in send thread in correct order 2021-06-05 13:56:42 +02:00
drbeefsupreme
755fb61d62
naive: test filtrations 2021-06-04 17:50:07 -04:00
drbeefsupreme
28bd682377
naive: transaction success divinator 2021-06-04 15:24:02 -04:00
drbeefsupreme
e7e49bc50c
naive: errant comment 2021-06-04 14:50:51 -04:00
fang
148fb1b45c
tests, aqua: update for recent changes 2021-06-04 14:11:44 +02:00
yosoyubik
bac79bf55d naive: add get-spawned to rpc-api 2021-06-04 11:41:59 +02:00
janeway
a41c3adcdd
glob: update to 0v2.3qak4.al612.8m1ig.kg03r.mfide 2021-06-04 15:15:22 +10:00
matildepark
638eed8d75
Merge pull request #4984 from urbit/lf/web-note-ref
notifications: fix description
2021-06-04 00:54:13 -04:00
Liam Fitzgerald
7f57fd7bfd
notifications: fix description 2021-06-04 14:49:22 +10:00
matildepark
fe60e82f68
Merge pull request #4983 from urbit/lf/leap-chording
leap: display chording options
2021-06-04 00:43:41 -04:00
Liam Fitzgerald
ce738f31f3
Merge pull request #4982 from urbit/lf/fix-dm-migration
dm-hook: fix on-init, rerun in on-load
2021-06-04 14:38:30 +10:00
Liam Fitzgerald
49f68e22d6
OmniboxResult: update props 2021-06-04 12:57:59 +10:00
Liam Fitzgerald
7ce67a2b46
leap: display chording options 2021-06-04 12:24:36 +10:00
L
99637b977b
Merge pull request #4981 from urbit/la/fix-admin-prop-drill 2021-06-03 21:02:11 -05:00
Logan Allen
c7f34b913b interface: added isAdmin to props as well 2021-06-03 20:43:09 -05:00
Logan Allen
a92c749ce6 interface: make isAdmin an optional prop 2021-06-03 20:06:43 -05:00
L
e6925e7094
Merge pull request #4978 from urbit/la/fast-validate-graph 2021-06-03 19:48:56 -05:00
L
174f0d4324
Merge pull request #4980 from urbit/la/speedup-gph 2021-06-03 19:30:02 -05:00
Liam Fitzgerald
becc2a9ffe
dm-hook: fix on-init, rerun in on-load 2021-06-04 10:28:28 +10:00
drbeefsupreme
baef809d93
naive: full galaxy test 2021-06-03 20:21:26 -04:00
drbeefsupreme
af7eb54999
naive: test event generator 2021-06-03 20:20:55 -04:00
fang
3b81e35260
dawn: better multikey format
Improves the multikeyfile format by taking a single ship and a list of
life+key pairs, instead of a list of full seeds.

Also decouples these changes from the dawn event, once again putting a
single seed into it. In the multikeyfile case, keys are injected as
%rekey events to jael near the end of the boot sequence.

Haskell-side changes may or may not be incomplete, boot presently fails
at some unknown point with what looks like a noun conversion error.
2021-06-04 01:49:15 +02:00
drbeefsupreme
775546de99
naive: predeposit l2 spawn test 2021-06-03 19:25:10 -04:00
Logan Allen
dfdb0cfe34 interface: fix prop drilling of isAdmin 2021-06-03 17:54:55 -05:00
drbeefsupreme
7eba932c9b
naive: l2 spawn proxy tests 2021-06-03 18:29:30 -04:00
Logan Allen
42a8eaf071 graph-push-hook: speed up by getting rid of nest checks, using %cf, and storing gates instead of tubes 2021-06-03 17:29:01 -05:00
ixv
b22071a7d8 btc: update styles for bridge invoice page too 2021-06-03 14:59:05 -07:00
ixv
6fc362c02e btc: fix order of fee options 2021-06-03 14:32:10 -07:00
ixv
ee865af32f btc: invoice page style fixes and fee display 2021-06-03 14:28:12 -07:00
drbeefsupreme
9f8d594f2f
naive: first full state test 2021-06-03 16:58:49 -04:00
Logan Allen
56f2d46820 graph-store + validators: stop using +grab:noun and switch to using a static conversion to %graph-indexed-post 2021-06-03 14:06:58 -05:00
L
cb7da7cbba
Merge pull request #4977 from urbit/la/fast-nest
graph-push-hook/thread: shave off 20ms from nest checks by getting ri…
2021-06-03 13:55:00 -05:00
matildepark
330e17e28d
Merge pull request #4965 from urbit/james/imageinput-fixes
imageinput: disable placeholder selection, hide placeholder on focus
2021-06-03 14:28:41 -04:00
Logan Allen
06f2aedc72 graph-push-hook/thread: shave off 20ms from nest checks by getting rid of tmi problem with types 2021-06-03 13:19:33 -05:00
James Acklin
460982d74b messages: synced/unread treatments for group DMs in sidebar
fixes urbit/landscape#623
2021-06-03 12:09:43 -04:00
yosoyubik
7e665b4fe8 naive: update wires and path in azimuth 2021-06-03 09:27:08 +02:00
yosoyubik
9c18638469 naive: update wires in aggregator 2021-06-03 09:26:13 +02:00
yosoyubik
82ab2b6b2d naive: use canonical state from azimuth in aggregator 2021-06-03 09:24:28 +02:00
yosoyubik
fc8e090a29 naive: add config action 2021-06-03 09:11:33 +02:00
Liam Fitzgerald
d365f7ba07
omnibox: fix click handler 2021-06-03 13:07:46 +10:00
Liam Fitzgerald
57fbd0b0fd
notifications: fix notification keying
Fixes urbit/landscape#947
2021-06-03 13:02:35 +10:00
Liam Fitzgerald
c224ddf09a
notifications: fix note click through
Fixes urbit/landscape#937
2021-06-03 12:55:17 +10:00
Liam Fitzgerald
1cc3f4fd87
notifications: fix group num calculations 2021-06-03 12:53:42 +10:00
Liam Fitzgerald
0998c8ce81
PendingDm: fix mobile layout
Fixes urbit/landscape#935
2021-06-03 11:36:16 +10:00
Liam Fitzgerald
81415337d8
ProfileOverlay: fix DM route
Fixes urbit/landscape#933
2021-06-03 11:34:59 +10:00
Liam Fitzgerald
92eb156079
leap: navigate to DMs
Fixes urbit/landscape#948
2021-06-03 11:18:40 +10:00
Liam Fitzgerald
c53f4bc92d
GraphContent: fix inline content immediately following blockquote 2021-06-03 11:08:04 +10:00
Liam Fitzgerald
ecdfa36fe4
DMs: reply functionality with blockquotes
Fixes urbit/landscape#932
2021-06-03 11:05:53 +10:00
fang
cc362b27c9
kh: support multikeyfiles 2021-06-03 01:04:45 +02:00
fang
2e2361e522
kh: expose to/fromNoun template logic separately
Separately from deriveNoun, which gives you an entire instance. Having
access to these lets you call out to the auto-generated conversion
logic when writing custom code for it.
2021-06-03 00:59:55 +02:00
janeway
b220427624
glob: update to 0v2.2k8eq.k1uhe.9acu7.emum0.s8gjd 2021-06-02 15:58:49 +10:00
Liam Fitzgerald
a7813036fd
SidebarItem: fix dark mode colors 2021-06-02 15:06:31 +10:00
Liam Fitzgerald
4e4e5fa446
GroupHome: check owner of group for feed banner 2021-06-02 15:02:18 +10:00
Liam Fitzgerald
fdd2dd4530
btc-wallet: trivial change to force rebuild 2021-06-02 14:34:47 +10:00
Liam Fitzgerald
4a42bdc12c
DmSettings: fix color 2021-06-02 14:34:15 +10:00
Liam Fitzgerald
d4e5ecdbb8
DmResource: show back button on mobile 2021-06-02 14:33:55 +10:00
Liam Fitzgerald
b73b9ad9db
btc-wallet: trivial change to force rebuild 2021-06-02 14:21:21 +10:00
janeway
4cf8f89008
glob: update to 0v6.usbmp.0s7fs.9dobf.8n2b8.gr1d4 2021-06-02 14:11:49 +10:00
Liam Fitzgerald
ccbe43d9ee
Merge pull request #4972 from urbit/lf/hark-archive
hark-update: fix archival
2021-06-02 14:01:37 +10:00
Liam Fitzgerald
2f42909685
hark-update: fix archival 2021-06-02 13:58:28 +10:00
janeway
13bc8805fd
glob: update to 0v6.usbmp.0s7fs.9dobf.8n2b8.gr1d4 2021-06-02 13:06:26 +10:00