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
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
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
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
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
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
Joe Bryan
ff345af1bd
test: fix base64 call in lib/pkcs
2021-02-19 20:38:26 -08:00
Joe Bryan
fd707761f8
zuse: moves lib/base64
2020-12-08 02:36:11 -08: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
0f0c2a6ffb
zuse: moves |dawn to lib/vere, rewrites +ivory
2020-12-05 00:51:49 -08:00
yosoyubik
be68b32d36
tests: checks bip32 for xpub/xprv/pif/address
2020-11-24 13:01:25 +01:00
lukechampine
f214ac8191
test: add bip32 vectors
2020-02-28 11:47:43 -05:00
Liam Fitzgerald
a00a371268
language-server: add completion JSON parsers
2020-01-28 10:08:02 +10:00
Liam Fitzgerald
3187d6725b
language-server: fixup tests
2020-01-22 12:35:41 +10:00
Liam Fitzgerald
ed3fc3f54c
language-server: first pass at JSON parsers
2020-01-22 11:25:05 +10:00
Elliot Glaysher
5fb3655819
Reenable ring signature tests now that we've monorepoed.
2019-06-28 13:33:48 -07:00
Jared Tobin
b3901ab42f
Add 'pkg/arvo/' from commit 'c20e2a185f131ff3f5d3961829bd7a3fe0f227f8'
...
git-subtree-dir: pkg/arvo
git-subtree-mainline: 9c8f40bf6c
git-subtree-split: c20e2a185f
2019-06-28 12:48:05 +08:00