yosoyubik
be79e0653c
Merge remote-tracking branch 'origin/philip/naive' into naive/aggregator
2021-07-02 07:03:22 +02:00
yosoyubik
8ada986f78
naive: support camel case rpc method name
2021-07-01 14:34:24 +02:00
yosoyubik
c4f8d6c672
naive: return signature for pending txs as hex-encoded string
2021-06-29 07:46:29 +02:00
yosoyubik
b14b7d131e
naive: add rpc for retrieving roller configuration data
2021-06-29 07:45:44 +02:00
yosoyubik
af295b2f5e
naive: add get-dns to azimuth-rpc
2021-06-28 13:01:04 +02:00
yosoyubik
3ca12235e5
naive: only accept hex-encoded signature and raw rpc arguments
2021-06-28 12:38:10 +02:00
yosoyubik
ed36304749
naive: also accept ship in rpc argument as number
2021-06-28 12:36:48 +02:00
yosoyubik
845cd2090e
naive: discard duplicate txs whe updatating predicted state
2021-06-28 07:46:09 +02:00
yosoyubik
5eb07edde5
naive: add ownership index to /app/azimuth
2021-06-28 07:26:47 +02:00
yosoyubik
8ea0ee004e
naive: clean up updating predicted state
2021-06-24 16:56:32 +02:00
yosoyubik
d03d710796
naive: add index of points by ethereum address
2021-06-24 16:54:23 +02:00
yosoyubik
e05234c179
naive: add gas to ju
2021-06-24 16:41:44 +02:00
yosoyubik
1e7e2e1193
naive: use lte to emphasize parent equality
2021-06-24 16:40:53 +02:00
yosoyubik
5b317acca5
naive: use 10 gwei for fallback-gas-price
2021-06-24 16:38:54 +02:00
Philip Monk
72b6e11e43
naive: update for L1 changes
2021-06-22 09:50:22 -10:00
yosoyubik
3289f84b71
naive: update history's tx status when predicting state
2021-06-22 15:15:33 +02:00
yosoyubik
2c2c7db981
naive: get point data from aggregator
2021-06-22 15:00:24 +02:00
yosoyubik
c715ef59fd
naive: add cancel pending transaction
2021-06-21 11:27:36 +02:00
yosoyubik
7e9a2bcfcd
naive: fix json param parsing in rpc-api
2021-06-17 15:12:10 +02:00
yosoyubik
845a2d1c1b
naive: add l2 tx history by ethereum address
2021-06-16 17:03:21 +02:00
yosoyubik
33b9f76540
naive: account for raw-tx data size in gas limit
2021-06-15 07:22:55 +02:00
yosoyubik
4c4e0e70b8
naive: fix gas limit for l2 batch transaction
2021-06-14 17:21:57 +02:00
yosoyubik
066795c32c
naive: add pending-by-address to aggregator
2021-06-14 15:00:15 +02:00
yosoyubik
0573232726
naive: add %noncefrom ship/proxy to rpc-api
2021-06-14 14:18:57 +02:00
yosoyubik
e513768b90
naive: wip scale gas limit with roll size
2021-06-11 16:41:17 +02:00
yosoyubik
bc3d6e4ac7
Merge branch 'yu/naive-ordered-map' into naive/aggregator
2021-06-11 12:39:03 +02:00
yosoyubik
121ee03fd0
naive: add hint to +por arm
2021-06-11 12:32:47 +02:00
yosoyubik
b52cf1aa1d
naive: defer deriving predicted naive state in aggregator
2021-06-11 12:27:05 +02:00
Philip Monk
e14ed392e6
naive: don't crash if we receive extra L1 logs
2021-06-10 09:22:51 -10:00
yosoyubik
37ab836bcb
naive: add latest +on map with parent order
2021-06-10 13:39:03 +02:00
yosoyubik
749f8e93f9
naive: add when %next-batch to rpc-api
2021-06-09 15:59:04 +02:00
yosoyubik
60ba0f81dd
naive: add units for endpoint and nonce in aggregator
2021-06-09 15:37:37 +02:00
yosoyubik
0a5a69396c
naive: remove setting nonce manually
2021-06-09 14:26:10 +02:00
yosoyubik
87be8c0e2d
naive: wip use ordered map for points.nas
2021-06-09 14:20:58 +02:00
yosoyubik
0f0af88a31
naive: wip add ordered-map for points
2021-06-09 13:34:04 +02:00
yosoyubik
852881eff1
naive: rename nas to pre (predicted state)
2021-06-09 13:30:36 +02:00
yosoyubik
85c0c11257
naive: add time for next L2 batch to state
2021-06-09 13:05:17 +02:00
yosoyubik
b9c5d9e2e6
naive: listen to %resend timer
2021-06-07 13:09:16 +02:00
yosoyubik
ca2b626c4e
naive: init aggregator timer on-init
2021-06-07 13:07:35 +02:00
yosoyubik
e7eaf3d2c6
naive: try updating predicted state on confirmed L2 tx
2021-06-07 11:41:02 +02:00
yosoyubik
e35a8b9e7f
naive: cached naive state -> predicted naive state
2021-06-07 11:20:31 +02:00
yosoyubik
a01289145b
naive: update aggregator cached naive state eagerly
...
The aggregator keeps a cached naive state that is recreated using the
canonical L2 state from the %azimuth agent, every time a new L2 tx comes
in via +take-tx (used by clients of the aggregator).
This makes the cached state ahead of the canonical L2 state, but
recreated every time a client sends a tx, using the list of pending (not
sent out to an ethereum node) and sending (waiting confirmation from
L1). This step drops any pending and sending transactions that do not
apply correctly.
Hearing about a new L2 tx confirmed in L1 (+on-naive-diff) removes such
transaction from the sending list, but does not update the cached state,
since this was already done when the L2 tx was seen in +take-tx.
2021-06-05 14:24:37 +02:00
yosoyubik
9c70e006a1
naive: fix wrong wire when receiving azimuth txs
2021-06-05 13:58:34 +02:00
yosoyubik
5859642363
naive: pack tx in send thread in correct order
2021-06-05 13:56:42 +02:00
yosoyubik
bac79bf55d
naive: add get-spawned to rpc-api
2021-06-04 11:41:59 +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