Commit Graph

4819 Commits

Author SHA1 Message Date
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
yosoyubik
7e9a2bcfcd naive: fix json param parsing in rpc-api 2021-06-17 15:12:10 +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
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
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
L
e6925e7094
Merge pull request #4978 from urbit/la/fast-validate-graph 2021-06-03 19:48:56 -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
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
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
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
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
janeway
b220427624
glob: update to 0v2.2k8eq.k1uhe.9acu7.emum0.s8gjd 2021-06-02 15:58:49 +10:00
janeway
4cf8f89008
glob: update to 0v6.usbmp.0s7fs.9dobf.8n2b8.gr1d4 2021-06-02 14:11:49 +10:00
janeway
13bc8805fd
glob: update to 0v6.usbmp.0s7fs.9dobf.8n2b8.gr1d4 2021-06-02 13:06:26 +10:00
matildepark
ddb8a84c49
Merge pull request #4970 from urbit/lf/prev-dm-validation
graph-push-hook: disable proxying of DM updates
2021-06-01 20:49:24 -04:00
Liam Fitzgerald
e510cbeb03
Merge remote-tracking branch 'origin/release/next-userspace' into release/2021-5-27 2021-06-02 10:12:05 +10:00
Liam Fitzgerald
d223f3eb87
graph-push-hook: disable proxying of DM updates 2021-06-02 09:57:27 +10:00
matildepark
fe8361bfe1
Merge pull request #4969 from urbit/ixv/btc-wilted
btc: stop storing bip32 core in btc-wallet state
2021-06-01 16:19:30 -04:00
ixv
870e0b42fa
Merge pull request #4963 from urbit/ixv/herb-cancel
herb: add cancel command
2021-06-01 13:00:00 -07:00
ixv
60ddfd1806 btc: stop storing bip32 core in btc-wallet state 2021-06-01 12:30:13 -07:00
yosoyubik
943eee1db6 naive: add ethereum signing address to aggregator sending map 2021-06-01 16:18:32 +02:00
yosoyubik
4642ece88f naive: use get-network for retrieving chain data 2021-06-01 14:28:17 +02:00
yosoyubik
5453722728 naive: give naive state after aggregator subscription 2021-06-01 14:23:53 +02:00
yosoyubik
52af4ad1c3 naive: remove unused batch-function hash 2021-06-01 14:09:48 +02:00
yosoyubik
9f3202eded naive: use cached naive state in aggregator 2021-06-01 13:56:56 +02:00
Liam Fitzgerald
a03623d249
push-hook: fix version negotiation
Addresses a bug where if the publisher could not perform the fact
conversion, it would not be deferred to the subscriber, preventing the
subscriber from being ahead of the publisher
2021-06-01 12:57:29 +10:00
Liam Fitzgerald
c87bd62e5b
metadata-push-hook: continue to sync DMs 2021-06-01 12:30:17 +10:00
Liam Fitzgerald
18862efc82
metadata-store: hide instead of drop dm associations 2021-06-01 12:26:36 +10:00
Liam Fitzgerald
698e79a1e4
push-hook: add %kick poke 2021-06-01 12:22:38 +10:00
Liam Fitzgerald
208c62c51d
metadata-push-hook: stop syncing dms 2021-06-01 12:09:38 +10:00
Liam Fitzgerald
e16f264d19
Merge remote-tracking branch 'origin/master' into lf/launch-fixes 2021-06-01 11:20:51 +10:00
yosoyubik
fbd96f69ee naive: fix aggregator pokes from rpc-api 2021-05-31 12:20:53 +02:00
ixv
3a14176934 herb: add cancel command 2021-05-29 12:53:23 -07:00
yosoyubik
5b0e785cf7 naive: choose contracts from mainnet, ropsten or local 2021-05-29 15:42:27 +02:00
yosoyubik
520225056a naive: send signature and raw tx for every tx in the roll
this assumes that the naive contract has a "fallback" function:

https://docs.soliditylang.org/en/v0.5.3/contracts.html#fallback-function
2021-05-29 14:57:57 +02:00
yosoyubik
98bef023cf naive: send updates to aggregator 2021-05-29 14:53:57 +02:00
yosoyubik
4cbf3d497b naive: update tx state in finding txs 2021-05-29 14:46:19 +02:00
yosoyubik
e834aface1 naive: subscribe to azimuth agent 2021-05-29 14:44:58 +02:00
yosoyubik
9abd6c3e72 naive: use gen-tx-octs from naive-transactions library 2021-05-29 14:44:16 +02:00
yosoyubik
a3ed3182bc naive: use contract/chain from azimuth library 2021-05-29 14:43:13 +02:00
yosoyubik
8b51b526d3 naive: add get-next-nonce thread 2021-05-29 14:40:13 +02:00
yosoyubik
8851e52f45 naive: add eth-get-balance 2021-05-29 14:22:33 +02:00
janeway
457904368b
glob: update to 0v2lque.i3rgs.9utfa.sk8o5.u9h6q 2021-05-28 11:25:30 +10:00
ixv
75bde5d4f7
Merge pull request #4950 from urbit/ixv/btc-tile-fix
btc: fix visual glitch with tile
2021-05-27 16:46:03 -07:00
ixv
bf2b094374 btc: fix visual glitch with tile 2021-05-27 15:53:38 -07:00
janeway
66537f39a5 glob: update to 0v3.p6u25.2ltvl.kdnbq.a2uq4.9uhqu 2021-05-27 12:39:22 -07:00
ixv
e195bbbcc7 glob: don't flush state when upgrading 2021-05-27 11:52:56 -07:00
ixv
c92079cda4 glob: fix +trouble 2021-05-27 11:21:27 -07:00
Liam Fitzgerald
b8ec17f08c btc-wallet: standardise build process 2021-05-26 18:30:18 -07:00
ixv
40d69b5a02 btc: invoice error handling 2021-05-26 18:30:18 -07:00
ixv
768b47985d btc: change tile to svg 2021-05-26 18:30:18 -07:00
ixv
a710de616c btc: provider now has one heartbeat for all clients 2021-05-26 18:30:18 -07:00
ixv
8770e1e00c btc: persist preferred currency; clean up btc currency style 2021-05-26 18:30:18 -07:00
ixv
0da2778193 btc: update hash verification process 2021-05-26 18:30:18 -07:00
ixv
332652e0d1 glob: generalize 2021-05-26 18:30:18 -07:00
pkova
a4c03cc630 btc: add dust error handling 2021-05-26 18:30:18 -07:00
pkova
d93020d9c6 btc: add basic error handling 2021-05-26 18:30:18 -07:00
pkova
6847bf0813 btc: remove unnecessary retry logic, send balance in handle-tx-info 2021-05-26 18:30:18 -07:00
ixv
41685a88c0 btc: settings page 2021-05-26 18:30:18 -07:00
ixv
a791a2edf1 btc: fix history bug 2021-05-26 18:30:18 -07:00
ixv
36f8167986 btc: attach note to transaction 2021-05-26 18:30:18 -07:00
pkova
4a0caa9fc3 btc: add balance events on handle-address-info 2021-05-26 18:30:18 -07:00
Isaac Visintainer
aa5ccf8122 btc: add warning message 2021-05-26 18:30:18 -07:00
Isaac Visintainer
b2887e75a0 btc: add tile 2021-05-26 18:30:18 -07:00
Isaac Visintainer
82829c6ee0 btc: retry logic for unconfirmed balance, show it on frontend 2021-05-26 18:30:18 -07:00
Isaac Visintainer
718d774d0d btc: first pass on fee selection 2021-05-26 18:30:18 -07:00
pkova
1a096efbba btc: retry logic for unconfirmed balance, show it on frontend 2021-05-26 18:30:18 -07:00
Isaac Visintainer
78a7dd256f temp 2 2021-05-26 18:30:18 -07:00
Isaac Visintainer
24db04bccc temp 2021-05-26 18:30:18 -07:00
Isaac Visintainer
6377f49340 btc: js hash check generator 2021-05-26 18:30:18 -07:00
Isaac Visintainer
62afe28f3f btc: allow unsetting provider; let frontend know if wallet is removed 2021-05-26 18:30:17 -07:00
Isaac Visintainer
e759050eb2 btc: check if payee has wallet; allow sending to external addresses 2021-05-26 18:30:17 -07:00
Isaac Visintainer
197934f95b btc: address copying 2021-05-26 18:30:17 -07:00
Isaac Visintainer
2158e9a4cd btc: transaction history 2021-05-26 18:30:17 -07:00
pkova
215784af44 btc: add mvp sending flow 2021-05-26 18:30:17 -07:00
Isaac Visintainer
6992a34040 btc: record history for transactions that occur outside wallet flow 2021-05-26 18:30:17 -07:00
Isaac Visintainer
2afa80a638 btc: unconditionally re-request address-info for watched addresses 2021-05-26 18:30:17 -07:00
Isaac Visintainer
cc7318aaa9 btc: provider/wallet setup flow 2021-05-26 18:30:17 -07:00
Isaac Visintainer
d32e78799f btc: more frontend template stuff 2021-05-26 18:30:17 -07:00
Isaac Visintainer
2b6831db13 btc: added tile 2021-05-26 18:30:17 -07:00
Isaac Visintainer
d8f1e731e1 btc: post merge cleanup 2021-05-26 18:30:17 -07:00
fang
939055f334
dawn: correctly propagate multikeyfile errors 2021-05-26 20:11:36 +02:00
fang
9e16cd0875
tests: update dawn tests for recent changes
Also includes some new tests for the multikeyfile case.
2021-05-26 20:11:02 +02:00
fang
1508168fbc
aqua: update for latest dawn-event format 2021-05-26 19:30:46 +02:00
fang
d1890f5db2
jael, dawn: support multi-keyfile during boot
Allows booting with a keyfile containing multiple keys, as long as one
of them matches current PKI pubkeys for the specified ship.

All relevant keys are loaded into jael and will automatically be put to
use when they match PKI state.
2021-05-26 16:02:39 +02:00
yosoyubik
7b216d316a Merge remote-tracking branch 'origin/poprox/naive-tests' into naive/aggregator 2021-05-26 12:03:28 +02:00
drbeefsupreme
816f5ac38f
Merge branch 'philip/naive' into poprox/naive-tests 2021-05-25 15:06:30 -04:00
drbeefsupreme
1716383beb
naive: split signing from gen-tx-octs 2021-05-25 15:05:39 -04:00
Matilde Park
15fd607af8 Merge branch 'release/next-userspace' into release/2021-5-27 2021-05-24 19:08:25 -04:00
Matilde Park
e859f2a5e8 Merge branch 'release/next-userspace' into la/deep-graph 2021-05-24 19:02:44 -04:00