Commit Graph

441 Commits

Author SHA1 Message Date
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
Philip Monk
5996b3aa1e
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-07-20 13:57:50 -04:00
Philip Monk
1d06b77a46
jael, dawn: support multikeyfile
taken from bdaad4cf84
2021-07-20 13:28:33 -04:00
Ted Blackman
1c41b01359 %base: move landscape files out; %base boots, %landscape validates 2021-07-18 04:40:20 +03: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
Philip Monk
ede732a58f
naive: allow l2 spawn proxy to reset itself 2021-07-15 21:11:40 -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
Ted Blackman
4cb5cd0ba1 gall,drum,kiln: WIP start agents in kiln 2021-07-15 09:51:03 +03:00
Fang
cb1a7cb76a
Merge branch 'm/multipass' into naive/preboot 2021-07-02 16:20:51 +02:00
Logan Allen
23869712ee test/thread: make tests pass and all threads build 2021-06-24 11:28:26 -05: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
Philip Monk
87ca57c364
gall: allow apps to run from any desk
Start with |start %desk %app-name

Everywhere in the kernel that we deal with marks, we infer the app it's
connected to and use the marks from that desk.

Also some light renaming in gall, especially path->wire and
current-agent->yoke.

Subsequent tasks:

- Dojo needs a syntax to run generators and threads from other desks
- The home desk should be split into at least a minimal base desk and
  big "userspace" desk.  Dill's initialization logic should be updated
  to handle
- |show-package, |install, and |uninstall should to be written
- Clay should have smarter handling of system versions instead of just
  ignoring what's on each desk.  It's not clear that this will work
  correctly when sys updates right now.
2021-06-18 16:13:55 -10: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
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
ixv
690971c9a9 btc: fix b158 test 2021-06-11 17:42:37 -07:00
ixv
fbbda57552 btc: use blockfilter when requesting address info 2021-06-11 16:10:56 -07: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
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
fang
2d01e1851f
Merge branch 'master' into m/multipass 2021-06-09 14:34:49 +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
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
fang
148fb1b45c
tests, aqua: update for recent changes 2021-06-04 14:11:44 +02: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
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
drbeefsupreme
9f8d594f2f
naive: first full state test 2021-06-03 16:58:49 -04:00
Isaac Visintainer
d8f1e731e1 btc: post merge cleanup 2021-05-26 18:30:17 -07: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
drbeefsupreme
1716383beb
naive: split signing from gen-tx-octs 2021-05-25 15:05:39 -04:00
drbeefsupreme
2b6a795c8b
naive: |^ify gen-tx-octs 2021-05-20 15:55:24 -04:00
drbeefsupreme
189edd2e48
naive: rename gen-tx to gen-tx-octs 2021-05-19 15:57:24 -04:00
drbeefsupreme
f10c6606d0
naive: change tests to work with new tx form 2021-05-19 15:49:03 -04:00
drbeefsupreme
04016eb262
naive: another life/rift test 2021-05-19 11:32:13 -04:00
Philip Monk
63ba2823dd
Merge remote-tracking branch 'origin/ted/clay-bunt' into release/next-sys 2021-05-18 07:38:52 -10:00
drbeefsupreme
5124bc5299
naive: combining life+rift tests 2021-05-14 14:17:06 -04:00
drbeefsupreme
4aa571d98c
new life+rift tests 2021-05-14 13:56:09 -04:00
drbeefsupreme
49fdf0a496
naive: fix key changing tests 2021-05-11 17:33:57 -04:00
drbeefsupreme
de5a907300
naive: factor out l2 transaction firing into lib
Moved everything related to generating layer 2 transactions, including
verification, into their own library. This ought to be shared between
the aggregator and tests
2021-05-11 16:47:33 -04:00
drbeefsupreme
7470b148b8
naive: unified l2 transaction firing arm 2021-05-11 16:32:33 -04:00
drbeefsupreme
baadf059d4
naive: add basic types 2021-05-11 14:28:43 -04:00
Logan Allen
b311087f6a Merge branch 'release/next-sys' into la/sys-fast-orm 2021-05-11 12:37:16 -05:00
drbeefsupreme
0266805b12
naive: combine l2 spawn tests 2021-05-06 11:37:02 -04:00
drbeefsupreme
f39ca44a9d
naive: combine transfer proxy tests 2021-05-06 11:29:17 -04:00
drbeefsupreme
e7c268f53a
naive: change +transfer-point sample 2021-05-06 11:22:03 -04:00
drbeefsupreme
2c445fe495
naive: more test standardization 2021-05-06 00:54:13 -04:00
drbeefsupreme
8c3ee149cb
naive: l1 sponsorship tests 2021-05-05 23:25:34 -04:00
drbeefsupreme
2189a54ae9
naive: dumb way to make tests more readable 2021-05-05 22:55:15 -04:00
Logan Allen
0ed09b7a29 tests: fix wrong expected result with ordered-map test 2021-05-05 16:53:24 -05:00
Logan Allen
a25f8028f4 tests: add test to make sure subtree is being modified properly in +del-span 2021-05-05 16:07:08 -05:00
Logan Allen
947b9ec75c zuse: +tab should paginate into the ordered-map starting from the highest element, not from the lowest 2021-05-05 11:56:04 -05:00
Logan Allen
59227f8696 tests: added tests for +tab 2021-05-04 15:58:47 -05:00
drbeefsupreme
f395a7668d
naive: missing tangs 2021-05-04 14:11:19 -04:00
drbeefsupreme
839a660b69
naive: sponsorship tests 2021-05-04 14:10:25 -04:00
drbeefsupreme
b2a1da4faa
naive: l2 life+rift tests 2021-05-04 13:27:43 -04:00
drbeefsupreme
7b89b552b6
naive: fix transfer life+rift test 2021-04-30 17:45:24 -04:00
drbeefsupreme
90d91472b4
naive: test l2 escape request 2021-04-30 17:42:30 -04:00
drbeefsupreme
d7909375c8
naive: life and rift tests 2021-04-30 17:16:53 -04:00
drbeefsupreme
e87b1e2621
naive: test breach proxies+keys for l2 transfers 2021-04-30 16:39:13 -04:00
drbeefsupreme
7f32d91258
naive: breach is flag not atom 2021-04-30 14:00:03 -04:00
drbeefsupreme
84a8a5c860
naive: fix key format for tests 2021-04-29 16:31:45 -04:00
drbeefsupreme
2099f87290
Merge branch 'philip/naive' into poprox/naive-test 2021-04-29 15:57:27 -04:00
Philip Monk
27949c5d8a
naive: fix +tx 2021-04-28 22:04:11 -07:00
Philip Monk
b1091d0e98
Merge remote-tracking branch 'origin/master' into philip/naive 2021-04-28 20:30:07 -07:00
Philip Monk
3869e01556
naive: infer ships from 'from'
For all except spawn, we can infer one of the ship arguments to be the
"from" ship.  This reduces repetition in the batches, which shortens txs
by 4 bytes each (except spawn), and eliminates the need to assert the
same ship is used in both places.
2021-04-28 19:55:57 -07:00
Philip Monk
36a10eb083
naive: convert can -> cad
Avoid bugs where we miscount the length of assembled atoms.
2021-04-28 19:19:50 -07:00
Philip Monk
5d52171a47
naive: add domain separator
To prevent replay across chains, eg from ropsten to mainnet.
Additionally, this introduces a version number, so we won't have to
worry about future signature formats being accidentally compatible with
this one.
2021-04-28 18:13:00 -07:00
Philip Monk
6dda168f3c
naive: factor out keccak into verifier
The verifier now takes an octs so that we can properly hash it to the 32
bytes required by ecdsa.

This allows lib/naive to use its own stdlib again.
2021-04-28 15:38:28 -07:00
Logan Allen
dd6eeccdae zuse: update names of +subset to +lot, +peek to +pry, remove unnecessary comments 2021-04-28 16:12:46 -05:00
drbeefsupreme
7f1e21d3d5
naive: l1 key change test 2021-04-28 15:29:20 -04:00
drbeefsupreme
fe8150f395
naive: key change test 2021-04-28 15:13:31 -04:00
Philip Monk
f2c43edc99
naive: make bitlengths explicit
Also switches everything to ropsten by default, including ivory pill.
Batches work on ropsten now.

Also adds +tx as a hacky development tool to create text for metamask to
sign and then turn that into a batch.  A useful reference for bridge and
aggregator work.
2021-04-27 22:58:19 -07:00
Philip Monk
a644d8a5b2
naive: merge fixes 2021-04-27 17:31:38 -07:00
Philip Monk
3b0fc59c2b
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-04-27 17:27:28 -07:00
Philip Monk
781cdf3960
naive: alter signatures to match personal_sign 2021-04-27 17:26:34 -07:00
Philip Monk
72bd2e185f
Merge pull request #4825 from urbit/m/tests-updates
tests: update to reflect recent changes
2021-04-26 15:59:37 -07:00
fang
6f0a947d1b
Merge branch 'master' into release/next-sys 2021-04-26 23:13:27 +02:00
fang
d95696f29c
tests: update format tests to account for #4677
It had changed ship encoding to fit into a json %n, but hadn't updated the
tests to reflect this.
2021-04-26 19:40:26 +02:00
fang
0a71b75550
tests: update clay tests to account for #4745
It had changed the shape of some data structures, but hadn't updated the tests
to reflect that.
2021-04-26 19:36:43 +02:00
drbeefsupreme
d87f0e6723
naive: prv -> pk 2021-04-23 14:54:36 -04:00
drbeefsupreme
d561083418
naive: add sambud 2021-04-23 14:52:48 -04:00
drbeefsupreme
d81cf1a197
naive: l2 spawn proxy spawn test, add datbud 2021-04-22 15:18:23 -04:00
drbeefsupreme
b76f2c7f45
transaction firing now includes private key 2021-04-22 14:35:50 -04:00
drbeefsupreme
14b81f8ea4
naive: add l1 changed-keys transaction 2021-04-22 13:40:32 -04:00
Philip Monk
1ed14c9908
naive: remove "wrap" functionality
Wraps are hard to get right, so we remove support for now.
2021-04-20 23:51:32 -07:00
Logan Allen
6b0dc98952 ames: reflect update of name +traverse -> +dip 2021-04-20 15:04:28 -05:00
Logan Allen
fd6f6b3bd0 zuse: added jet hints to all +ordered-map arms, reordered them alphabetically as is done in +in and +by 2021-04-20 12:04:59 -05:00
Philip Monk
3e56e17a22
naive: remove l2 set-voting-proxy
Since galaxies can't be on L2
2021-04-14 18:03:52 -07:00
Philip Monk
176df1fc2a
naive: add verbosity level 2021-04-14 17:49:30 -07:00
Philip Monk
1d35cc349e
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-04-14 17:24:33 -07:00
Philip Monk
45e28f535a
naive: 80 cols 2021-04-14 17:17:01 -07:00
Philip Monk
46275fa251
naive: a few bugfixes 2021-04-14 16:58:27 -07:00
drbeefsupreme
b065b60da1
casting 2021-04-14 18:54:40 -04:00
drbeefsupreme
791cece901
l1+l2 proxies, l2 transfers + spawn-after-transfer 2021-04-14 18:53:38 -04:00
drbeefsupreme
2c1b3629d5
layer 2 transactions 2021-04-14 15:36:56 -04:00
drbeefsupreme
fae0e9cd42
unspecialize spawn proxy change 2021-04-14 14:33:31 -04:00
drbeefsupreme
97eaf0d3f4
squash! splitting l1/l2 into cores, adding l1 events 2021-04-14 14:31:47 -04:00
drbeefsupreme
912cc7bc9f
splitting l1/l2 into cores, adding l1 events 2021-04-14 14:30:00 -04:00
drbeefsupreme
aed2ff3494
factor out proxy bits 2021-04-09 17:06:50 -04:00
drbeefsupreme
025cd6a230
l2-spawn-point tests 2021-04-09 16:22:52 -04:00
drbeefsupreme
04cde3e6c8
l2-changed-spawn-proxy 2021-04-09 10:53:15 -04:00
Philip Monk
c162758e92
naive: add all effects 2021-04-02 16:06:24 -07:00
Philip Monk
cc92433622
naive: detach from arvo 2021-04-01 19:31:50 -07:00
Joe Bryan
e9ee2f77c2 Merge branch 'master' into release/next-vere
* master: (160 commits)
  glob: update to 0v6.8mn05.16g61.46lkc.lgddc.3ifug
  metadata-push-hook: fixes issue with adding unmanaged metadata
  pills: update solid
  graph-push-hook: don't crash on multipart add
  glob: update to 0v5.g86fq.9ngth.ki9h1.q7kut.icm5f
  graph-store: scry only once during +validate-graph
  graph-store: fewer allocations in +validate-graph
  graph-store: speed up +validate-graph by using +turn and no longer virtualizing
  interface: version local state by commit hash
  graph-push-hook: add hc where appropriate and enforce type-checking to prevent issue in future
  graph-validators: speed up validators by adding type casts
  build: only run publish-npm-packages on pkg/npm
  build: match on path subdirectories
  glob: update to 0v1.4ujsp.698kt.ojftv.7jual.4hhu5
  launch: prevent aggressive tutorial render
  launch: get tutorial state from zustand
  push-hook: add version scries
  glob: update to 0v5.b7cjf.2kc12.85sng.lkqav.7sn0k
  readme: update arvo maintainers list
  notifications: clear before applying unreads
  ...
2021-04-01 15:31:35 -07:00
Philip Monk
c7ce435a3e
naive: add nonces to transactions 2021-04-01 00:05:12 -07:00
Philip Monk
5a761caac6
naive: factor out stdlib dependencies 2021-03-31 18:17:37 -07:00
Philip Monk
063c51a8fc
naive: cleanup 2021-03-31 16:21:37 -07:00
pilfer-pandex
15cc84164d Merge branch 'master' into release/next-vere 2021-03-22 15:26:00 -04:00
Liam Fitzgerald
ceafee33ab
hooks: address L review 2021-03-22 09:54:59 +10:00
Liam Fitzgerald
0878104538
versioning: address review, add tests 2021-03-19 10:12:49 +10:00
Philip Monk
7ef8efa7b5
naive: cleanup 2021-03-18 13:32:32 -07:00
Philip Monk
0c79d73f68
naive: minimum l1/deposit/l2 tests 2021-03-17 18:09:24 -07:00
Philip Monk
c8f8d8b36d
naive: add first test 2021-03-17 17:27:30 -07:00