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
J
ef1b125c3e
zuse: fix time fix regression
...
Fixes #4598 .
#4474 made the JSON time conversion no longer invertible, which caused
problems for chat, which uses message timestamp in milliseconds as a key
-- so chat would send a message with ms timestamp x, it would get
encoded as @da x, but then when it went back through the conversion to
milliseconds, it would often (not always) get encoded as x-1.
I still do not fully understand why this is -- and why it doesn't seem
to be a problem with seconds based on cursory testing -- but integer
multiplication and division generally do not invert. And adding a half a
millisecond to the input date before converting it resolves the issue
and makes the functions invertible.
I added a regression test, so hopefully the next courageous adventurer
who winds up here after wondering why +unm looks funny will have a
safeguard against some of the mistakes I made.
2021-03-12 20:06:10 +00:00
Ted Blackman
b55417a1c3
clay: remove +bunt from marks
2021-03-05 16:53:35 -05:00
Philip Monk
008f8ac54d
tests: update for removing +volt
2021-03-04 15:20:43 -08:00
Philip Monk
137f1cdff3
Merge remote-tracking branch 'origin/ted/static-clay-3' into release/next-sys
2021-03-03 18:42:44 -08:00
Philip Monk
6215137ed5
Merge remote-tracking branch 'origin/ted/ordered-map-fix' into release/next-sys
2021-03-03 18:20:33 -08:00
Philip Monk
6e3d1680a7
Merge remote-tracking branch 'origin/master' into release/next-sys
2021-03-03 17:54:57 -08:00
Ted Blackman
fcbb70de9e
zuse: actually fix ordered-map +traverse this time
2021-02-26 22:37:11 -05:00
Ted Blackman
2442f9bb93
zuse: fix ordered-map delete many
2021-02-26 21:42:22 -05:00
Ted Blackman
0452eb92f2
Merge branch 'release/next-sys' into HEAD
2021-02-24 13:26:51 -05:00
Ted Blackman
68e1d92fb4
clay: fix tests
2021-02-24 13:07:27 -05:00
Ted Blackman
d447e70b09
clay: fix /% parser; clean up unit tests
2021-02-24 12:18:50 -05:00
Jōshin
9e69892631
zuse: time conversion fixes
...
State before: in chrono:userlib, there were second-resolution
@da-to-unix and unix-to-@da functions. In en/dejs:format, there were
millisecond-resolution @da-to-unix and unix-to-@da functions. The
@da-to-unix path in time:enjs confusingly rounded to the nearest
millisecond, meaning millisecond n was a label for [n-0.5, n+0.5) rather
than [n, n+1).
This adds a millisecond-resolution @da-to-unix and unix-to-@da to
chrono:userlib, and a second-resolution conversion to en/dejs:format.
It makes use of the chrono:userlib functions in en/dejs, and doesn't do
any rounding.
Backwards-incompatible changes:
- made unt:chrono:userlib take a @da rather than @.
2021-02-23 19:46:21 +00:00
Ted Blackman
9bf6c6136a
clay: fix mark +grad delegation bug
2021-02-22 14:35:57 -05:00
Joe Bryan
23e867ca8d
test: move nock tests
2021-02-22 11:25:20 -08:00
Joe Bryan
39d288af0a
test: check that nock 9 with axis 1 is handled correctly
2021-02-22 11:25:20 -08:00
Joe Bryan
ff345af1bd
test: fix base64 call in lib/pkcs
2021-02-19 20:38:26 -08:00
Ted Blackman
ad20ddb1d4
clay: added mark runes; can boot off solid pill
2021-02-17 14:31:20 -05:00
Ted Blackman
ce9f1eb3da
clay: fix +grow in mark casting
2021-01-26 20:43:23 -05:00
Ted Blackman
6be1ebc41a
clay,lull: +test-mar-mime passes
2021-01-26 15:59:36 -05:00
Joe Bryan
fd707761f8
zuse: moves lib/base64
2020-12-08 02:36:11 -08:00
Joe Bryan
651587249a
tests: fixes vane tests
2020-12-07 19:12:20 -08:00
fang
d98c59e73a
zuse: lift moves out of +able
2020-12-08 01:47:06 +01:00
fang
25a55c0f63
various: ethereum, azimuth, json-rpc out of zuse
...
Moves them into files in /lib, and updates dependents accordingly.
2020-12-06 17:26:52 +01:00
Joe Bryan
8cb75a8d3a
%zuse: remove vestigial parts of legacy %init system
2020-12-06 03:33:44 -08:00
Joe Bryan
5bc6d38437
arvo: updates vane interface
2020-12-06 03:33:43 -08:00
Joe Bryan
a5861a1349
hoon: moves |wa and $worm to arvo
2020-12-05 02:32:54 -08:00
Joe Bryan
0f0c2a6ffb
zuse: moves |dawn to lib/vere, rewrites +ivory
2020-12-05 00:51:49 -08:00