Philip Monk
163ca690ce
naive: remove unused arms
2021-10-05 23:58:59 -05:00
Philip Monk
7b528e823f
naive: final touch-up
2021-10-05 22:20:35 -05:00
Philip Monk
32f07f4c3e
naive: add block-number to input
...
Unused, but will be used to trigger all upgrades
2021-09-23 12:24:20 -05:00
Joe Bryan
49b84d03e7
naive: fixes bug (absolute vs relative step) in signature octs slice
2021-09-15 13:28:44 -04:00
Joe Bryan
bb53d5a8ba
naive: splits large batch test into parsing and full tx handling
2021-09-15 10:36:56 -04:00
Joe Bryan
94b690cb74
naive: replace +div/+mod calls with +dvr, rewrites +ud-to-ascii
2021-09-14 22:48:06 -04:00
Joe Bryan
17b97de8f8
naive: updates l2 parser to use a bitwise cursor
2021-09-14 19:52:28 -04:00
Philip Monk
312d27169b
naive: specific large batch test
2021-09-13 14:24:00 -05:00
Philip Monk
94c2223bf8
naive: style
2021-09-13 14:23:21 -05:00
Philip Monk
4a266d4b9a
naive: resolve todos
2021-08-20 18:02:27 -07:00
Philip Monk
bb3d961ced
naive: fully no-op on logs
...
+process-spawn uses presence or absence in the ordered map to determine
whether a ship has already been spawned. Thus, we don't want to add
items to it except during spawn.
2021-08-20 16:49:00 -07:00
Philip Monk
7f7e033004
Revert "Revert "Merge naive/aggregator into poprox/naive-tests""
...
This reverts commit 2f49dab586
.
2021-08-19 16:09:28 -07:00
Philip Monk
6c278a9b34
naive: cleanup todos
2021-08-05 13:29:16 -04:00
Philip Monk
d89ab8b549
naive: comment
2021-08-03 18:45:52 -04:00
Philip Monk
ede732a58f
naive: allow l2 spawn proxy to reset itself
2021-07-15 21:11:40 -04:00
Philip Monk
dd57a72a4d
naive: sponsorship fixes
2021-07-15 20:02:05 -04:00
Philip Monk
72b6e11e43
naive: update for L1 changes
2021-06-22 09:50:22 -10:00
Philip Monk
e14ed392e6
naive: don't crash if we receive extra L1 logs
2021-06-10 09:22:51 -10:00
Philip Monk
90b7a77cdf
naive: fix rift handling during reset transfers
2021-05-20 13:46:25 -10:00
Philip Monk
c5b17bdb7a
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive
2021-05-20 13:09:53 -10:00
Philip Monk
fef85b1829
naive: make correct sponsor for L2-spawned ships
2021-05-20 13:09:03 -10:00
Philip Monk
000f7ca717
naive: better style
2021-05-20 13:07:52 -10:00
Philip Monk
eb68a42b0d
Merge branch 'philip/naive' of ssh://github.com/urbit/urbit into philip/naive
2021-05-20 12:46:19 -10:00
Philip Monk
958b68f63b
naive: comments
2021-05-13 06:58:37 -10:00
fang
9b62454bca
naive: wip aggregator
...
Includes logic for the core flow, but isn't fully hooked up to outside
sources/events yet. Probably doesn't compile. Plenty of TODOs remaining.
2021-05-13 17:21:35 +02:00
fang
1678d45876
naive: emit effects for processed txs
...
As a transaction receipt of sort, to inform of transaction success or
failure.
2021-05-06 00:16:49 +02:00
Philip Monk
27949c5d8a
naive: fix +tx
2021-04-28 22:04:11 -07:00
Philip Monk
75eeef544e
naive: store crypto suite number in state
...
We now store the raw crypto suite number, authentication key, and
encryption key. App/azimuth converts this to a `pass` for jael's
benefit.
2021-04-28 20:51:43 -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
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