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
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
781cdf3960
naive: alter signatures to match personal_sign
2021-04-27 17:26:34 -07: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
05dbd8cddd
naive: move signature verification inside loop
...
Before this change, signatures were verified according to the owners at
the beginning of batch, which is wrong. Now we do it per wrap, but this
is *also* wrong because they should actually be verified per tx, in case
the owner changes within a wrap.
Also introduces the roll/wrap terminology.
2021-04-20 23:08:32 -07:00
Philip Monk
1b5bc0f476
naive: snapshot improvements
2021-04-20 21:57:04 -07:00
Philip Monk
c915839e9d
naive: fetch l2 batches from chain
2021-04-15 01:02:58 -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
46275fa251
naive: a few bugfixes
2021-04-14 16:58:27 -07:00
Philip Monk
0fbbd3aa28
naive: add app/naive to download from ethereum
2021-04-08 00:36:34 -07: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
ce08324597
naive: add batch transaction type
2021-03-31 20:28:13 -07:00
Philip Monk
f277eaadb2
naive: remove unnecessary checks
2021-03-31 19:47:40 -07:00
Philip Monk
26226916a0
naive: make all errors explicit, remove +mule
2021-03-31 18:55:49 -07:00
Philip Monk
9149f45521
naive: catch all parser errors explicitly
2021-03-31 18:30:15 -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
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
Philip Monk
47fd56824b
naive: compiles
2021-03-17 16:42:39 -07:00
Philip Monk
bd70254dca
naive: add parsing
...
The completes a first draft, though I haven't attempted to compile it.
2021-03-16 19:41:43 -07:00
Philip Monk
5f759392c3
naive: implement L2 txs except parsing
2021-03-16 18:25:27 -07:00
Philip Monk
5604afb88a
naive: initial commit
...
Sketches out L1 log handling, but does not yet implement L2 batches
2021-03-15 20:49:51 -07:00
Logan Allen
b2759b9f36
Merge branch 'release/next-js' into la/release-2021-03-04
2021-03-08 14:11:54 -06:00
Philip Monk
a0146f4a44
clay: add %e, %f requests
...
For static naves, casts respectively
2021-03-04 18:28:16 -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
0e427c3c7e
Merge commit '5a6a88c' into release/next-sys
2021-03-03 18:18:12 -08:00
Philip Monk
6e3d1680a7
Merge remote-tracking branch 'origin/master' into release/next-sys
2021-03-03 17:54:57 -08:00
matildepark
c16815b003
Merge pull request #4347 from urbit/lf/moar-lsp
...
language-server: fixes & improvements
2021-03-03 14:51:40 -05:00
Logan Allen
9c178d7f34
Merge branch 'release/next-js' into la/transform-proxy
2021-03-03 12:56:39 -06:00
Logan Allen
379e1840bc
-graph-add-nodes: scry properly within a thread
2021-03-02 15:55:58 -06:00
Logan Allen
a9232d0df7
graph-view: use all of the proper types, get the API call working to send up the proper hashes
2021-03-01 17:24:21 -06:00
Logan Allen
7c18df399c
interface: beginnings of api/reducer integration
2021-02-26 16:59:13 -06:00
Logan Allen
b2ef9044a6
-graph-add-nodes: return (map index hash) upon completion and finish out the json conversion
2021-02-26 14:05:11 -06:00
Isaac Visintainer
c0849f2c0b
settings: add array type
2021-02-24 17:28:26 -08:00
Logan Allen
19005f3ca3
graph: rewrite +tap-deep to function properly
2021-02-24 19:14:18 -06:00
J
d0bb1cc849
gcp: camel-case json key names
...
Now we can do ({accessKey, expiresIn}) => {...} in JavaScript.
2021-02-24 21:20:39 +00:00
J
d60c3183f7
gcp: lib spacing
2021-02-24 20:55:40 +00:00
J
03e99f52c9
gcp: make expiry relative
...
This indeed makes it easier on the Landscape side. It also makes it
easier to coerce from the JSON Google gives us, so a win all around.
2021-02-24 20:35:24 +00:00
J
713954a8bb
gcp: mark for tokens, token-to-json
2021-02-24 19:30:49 +00:00
Ted Blackman
0452eb92f2
Merge branch 'release/next-sys' into HEAD
2021-02-24 13:26:51 -05:00
Ted Blackman
4297082966
language-server: fix parser
2021-02-24 13:07:45 -05:00
Liam Fitzgerald
7a8e16a2f2
Merge branch 'lf/not-your-mate'
2021-02-24 14:07:54 +10:00