Commit Graph

10384 Commits

Author SHA1 Message Date
drbeefsupreme
f0f1f4db9f
Merge branch 'poprox/naive-tests' into philip/naive 2021-08-13 11:15:35 -04:00
yosoyubik
5ce8bb4951 roller: fix length in hex-encoded hash-transaction 2021-08-13 15:23:11 +02:00
drbeefsupreme
dfac952c54
naive: batch proxy transfer test 2021-08-12 16:50:20 -04:00
drbeefsupreme
e6dd731b19
naive: approval-for-all test 2021-08-12 16:23:48 -04:00
drbeefsupreme
fa6935e08a
naive: batch and changed-dns tests 2021-08-12 16:06:39 -04:00
yosoyubik
6aaad9bf8f roller: send unit value instead of whole unit 2021-08-12 17:36:34 +02:00
drbeefsupreme
cd0935e209
naive: fix batch concatenation 2021-08-12 10:27:19 -04:00
yosoyubik
e218bbdbaa roller: remove duplicate check in apply-tx 2021-08-12 10:17:42 +02:00
yosoyubik
fd474c350e naive: fix correct insert to ordered-map 2021-08-12 10:08:33 +02:00
drbeefsupreme
dac89b0e3b
naive: batches with tx with trailing zeroes fail 2021-08-11 12:50:21 -04:00
drbeefsupreme
3943d05a02
naive: batch test creator implemented 2021-08-11 11:52:22 -04:00
yosoyubik
9eb7ed7586 azimuth: add updated naive ropsten contract 2021-08-09 08:41:31 +02:00
drbeefsupreme
cd6ab7a83d
naive: l2 batch maker for tests 2021-08-06 18:18:01 -04:00
drbeefsupreme
c2e89253ec
naive: fuzz and padding tests 2021-08-06 13:49:29 -04:00
Philip Monk
6c278a9b34
naive: cleanup todos 2021-08-05 13:29:16 -04:00
yosoyubik
a221e49281 aggregator-rpc: rename getPoints -> getShips 2021-08-05 12:42:36 +02:00
yosoyubik
21775ec090 azimuth-rpc: encrypt/auth keys as hex strings 2021-08-05 12:38:07 +02:00
yosoyubik
d559ad35bc roller: clean up 2021-08-04 15:53:57 +02:00
Philip Monk
d89ab8b549
naive: comment 2021-08-03 18:45:52 -04:00
drbeefsupreme
4ebcbedec5
naive: remaining fuzz tests 2021-08-03 17:29:28 -04:00
drbeefsupreme
f319a5f6c4
naive: fuzz test 2021-08-03 13:21:35 -04:00
yosoyubik
31e5dd206d Merge remote-tracking branch 'origin/poprox/naive-tests' into naive/aggregator 2021-08-03 13:57:14 +02:00
yosoyubik
3f63aa00e6 aggregator: extract sign address from raw-tx 2021-07-22 16:46:23 +02:00
yosoyubik
875561217f aggregator: refactor +apply-effects in /lib/dice 2021-07-22 12:05:28 +02:00
yosoyubik
38d207c797 aggregator-rpc: add +unsign-transaction 2021-07-22 09:15:58 +02:00
yosoyubik
722ce969a5 aggregator: refactor ownership index logic 2021-07-22 06:34:42 +02:00
drbeefsupreme
df24883565
naive: comment out certain L1 adopt tests 2021-07-21 16:38:57 -04:00
drbeefsupreme
56155be507
naive: L1 adopt and cancel tests 2021-07-21 16:01:39 -04:00
drbeefsupreme
f994e34bff
naive: detach-3 test, fix L2 escape/L1 adopt 2021-07-21 15:37:06 -04:00
drbeefsupreme
f58addc761
naive: own sponsor escape test 2021-07-21 15:14:20 -04:00
drbeefsupreme
1775b6fa5f
naive: more sponsorship tests 2021-07-21 15:05:38 -04:00
yosoyubik
5c787f2a0b aggregator: add transfers index to state 2021-07-20 13:17:59 +02:00
yosoyubik
7a56e889ae aggregator: include signing addres in submit 2021-07-20 11:22:16 +02:00
yosoyubik
86f1948bea aggregator: use noun mark in scry 2021-07-19 07:10:31 +02:00
drbeefsupreme
7b4347ad31
Merge branch 'philip/naive' into poprox/naive-tests 2021-07-16 14:06:03 -04:00
drbeefsupreme
09185131bf
naive: fix spawn proxy set test nonce 2021-07-16 14:00:35 -04:00
drbeefsupreme
c120099ec2
naive: add spawn proxy keys 2021-07-16 13:54:03 -04:00
drbeefsupreme
3658bb53e7
naive: adoption test was wrong, not naive.hoon 2021-07-16 13:11:54 -04:00
drbeefsupreme
e9b77881d1
naive: wrong nonce l1 l2 adopt 2021-07-16 11:59:21 -04:00
drbeefsupreme
b388a91494
naive: wrong key test fix 2021-07-16 11:47:31 -04:00
drbeefsupreme
e199f54dca
naive: wrong key L2 %escape on L1 works 2021-07-16 11:46:44 -04:00
drbeefsupreme
4ce4f4c3f4
naive: remove finished TODOs and unneeded tests 2021-07-16 10:58:33 -04:00
drbeefsupreme
b8ec176284
naive: fix spawn planet with planet test 2021-07-16 10:56:23 -04:00
drbeefsupreme
b5d99d3ee2
naive: double-spawn is no-op, not crash 2021-07-16 10:47:43 -04:00
yosoyubik
07f4473c21 naive: add verify signature to /lib/naive-transactions 2021-07-16 16:15:24 +02:00
Philip Monk
ede732a58f
naive: allow l2 spawn proxy to reset itself 2021-07-15 21:11:40 -04:00
Philip Monk
24e16ed457
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-07-15 20:02:33 -04:00
Philip Monk
dd57a72a4d
naive: sponsorship fixes 2021-07-15 20:02:05 -04:00
drbeefsupreme
e60ef1a9d7
naive: l2 sponsorship tests with %manage 2021-07-15 17:28:08 -04:00
drbeefsupreme
e7ac8df71a
naive: l2 %detach %own tests 2021-07-15 17:00:47 -04:00
drbeefsupreme
0488b4b10d
naive: L2 adopt/reject/cancel tests 2021-07-15 16:41:12 -04:00
yosoyubik
c79a833678 aggregator: add ship to roller-tx in history 2021-07-15 14:26:44 +02:00
yosoyubik
794a14a12b azimuth-rpc: return hash of succesful l2 transaction 2021-07-15 14:23:08 +02:00
yosoyubik
fc04623d00 azimuth-rpc: remove raw l2 tx from required rpc arguments 2021-07-13 16:03:40 +02:00
yosoyubik
97a3c53827 aggregator-rpc: add rpc api for l2 aggregator 2021-07-13 15:22:25 +02:00
yosoyubik
2e9d412c21 azimuth-rpc: remove aggregator-related rpc code 2021-07-13 15:21:24 +02:00
yosoyubik
72d424e68a json-rpc: validate json-rpc method outside request parsing 2021-07-13 15:15:23 +02:00
yosoyubik
2787c157dd Merge remote-tracking branch 'origin/naive/preboot' into naive/aggregator 2021-07-09 12:54:38 +02:00
yosoyubik
c2dd622fe3 naive: derive predicted ownership in /app/aggregator 2021-07-08 16:45:27 +02:00
Fang
e0f7d09a97
azimuth-rpc: fill in missing code 2021-07-07 17:38:21 +02:00
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