Commit Graph

61 Commits

Author SHA1 Message Date
Liam Fitzgerald
44fe459f6d roller: fix mint-lost 2022-10-26 13:58:36 +10:00
Liam Fitzgerald
ed96e6162c arvo: retool for goerli instead of deprecated ropsten 2022-10-26 13:11:22 +10:00
yosoyubik
7bf759adb0 roller: fix parsing nonces with dot separator 2022-04-15 15:27:08 +02:00
yosoyubik
2eec24ee27 roller: make output less loud 2022-04-15 13:19:10 +02:00
yosoyubik
cf838fd1d7 roller: add batch-trimming functionality
If a batch gets bigger than a max size defined by the ethereum node
the raw transaction is sent to, the /ted/roller/send thread will crash and
the batch will be blocked, stopping any subsequent batches to be sent.

This detects when the current batch reaches a certain threshold and only
includes transactions up to that point, moving the ones that are not sent
back to the pending queue, adjusting their history and finding status.
2022-03-20 14:07:27 +01:00
yosoyubik
1dd5fca11c roller: bug fix in looking for sending diff 2022-02-12 14:36:40 +01:00
yosoyubik
72794870c8 roller: include signing address in sending txs 2022-02-12 14:02:50 +01:00
yosoyubik
403c8af519 roller: check for existence in resend nonce 2022-02-11 15:46:13 +01:00
yosoyubik
5c9fc52f47 roller: keep force flag in sending transactions 2022-02-11 14:28:27 +01:00
yosoyubik
d62ba7d6b5 roller: fix wrong ship quota 2022-01-20 16:15:38 +01:00
yosoyubik
5d4a410653 roller: don't set :frequency timer on commit 2021-12-14 16:39:22 +01:00
yosoyubik
fc540bf209 roller: handle sending malformed batches 2021-12-14 15:24:25 +01:00
yosoyubik
f6ff4f108b roller: add utilities for handling low-gas batches
This adds support for handling cases where the send-batch thread failed,
mainly among them, a thread crash. One of the events that causes this
behavior is a ver low gas price for this L1 transaction.

Here we add support for manually bumping the price for such transaction,
and for increasing the default fallback gas-price, together with discarding
any malformed batch from the sending queue.
2021-12-10 11:36:45 +01:00
yosoyubik
ae05bbf571 roller: don't crash if nonce not in queue 2021-12-09 07:44:53 +01:00
yosoyubik
463ca6e8db roller: set default quota to 25 2021-12-08 11:02:05 +01:00
yosoyubik
33852ea90e roller: support private keys with leading 0x 2021-12-07 17:47:56 +01:00
yosoyubik
d5c44598ba roller: refactor and clean up 2021-11-28 16:37:06 +01:00
yosoyubik
2e94a0d446 azimuth, dice: simplify index update 2021-11-24 15:31:59 +01:00
yosoyubik
528a046b51 roller: add to state ship allowance and next-slice 2021-11-23 10:55:50 +01:00
yosoyubik
144065c4fc roller-rpc: add %get-remaining-quota 2021-11-22 14:02:31 +01:00
yosoyubik
da739d6e87 azimuth: add sponsorship scry 2021-11-10 18:39:43 +01:00
yosoyubik
e32b0a1956 roller: add sponsorship index 2021-11-10 17:46:22 +01:00
yosoyubik
1ade4d29f0 roller: add default network 2021-11-10 07:09:22 +01:00
yosoyubik
360f5fdd35 roller: only add tx to pending if verifies 2021-11-09 16:06:29 +01:00
yosoyubik
9e2e6a7aee roller-rpc: add %hash-raw-transaction rpc
the returned hash can be used to cancel pending txs
by signing the message 'cancel: 0xke.ccak'
2021-11-08 17:47:55 +01:00
yosoyubik
df9827a2cb roller: on submit, crash if no naive state exists 2021-11-08 16:28:12 +01:00
yosoyubik
9015dbb1c5 roller: restrict config actions to our.bowl 2021-11-08 16:22:25 +01:00
yosoyubik
a22b16a465 roller: give rpc error if roller has no l2 state 2021-11-08 16:08:59 +01:00
yosoyubik
89c4d30b30 roller: remove sigwut 2021-11-08 07:33:03 +01:00
yosoyubik
5ea87c1f47 roller: add generators for config options 2021-11-07 10:36:46 +01:00
yosoyubik
e54805893f roller: bugfix for incorrect predicted l2 nonce 2021-11-06 15:18:39 +01:00
yosoyubik
095ce0dff4 roller: wip add quota per ship for tx submission 2021-11-06 10:27:00 +01:00
yosoyubik
1c641629e2 roller: add azimuth refresh-rate to getConfig RPC 2021-11-04 09:54:25 +01:00
yosoyubik
2bb218cfc8 roller: bugfix for adding failed txs to history 2021-11-01 10:09:11 +01:00
yosoyubik
27576e272b Merge remote-tracking branch 'origin/philip/naive' into naive/roller 2021-10-31 15:14:15 +01:00
yosoyubik
c5c6379260 roller: keep only one status entry in tx history 2021-10-31 14:02:33 +01:00
yosoyubik
8b45302982 roller: restore finding index as sig+raw-tx hash 2021-10-30 13:12:09 +02:00
yosoyubik
824de38532 roller: wip order roller tx history by timestamp 2021-10-16 12:47:39 +02:00
yosoyubik
a392ccde58 roller: wip finding map simplification 2021-10-16 07:26:57 +02:00
yosoyubik
21139ea8de roller: increase next-nonce if not out of sync 2021-10-14 15:42:06 +02:00
yosoyubik
ca0681a4b5 roller: fix for duplicate transactions in a batch 2021-10-13 12:56:47 +02:00
yosoyubik
91be390397 roller: use an ordered map for tracking L2 batches 2021-10-11 17:16:17 +02:00
yosoyubik
2d1a5215bc roller: increase nonce on successful send roll 2021-10-03 16:15:42 +02:00
yosoyubik
56b2d6b451 roller: simplify handling of /predict timer 2021-10-03 15:09:11 +02:00
yosoyubik
86276b894b roller: use chain details in endpoint generator 2021-10-02 09:12:58 +02:00
yosoyubik
5938f3569e roller: add logic for fixing out-sync nonce 2021-10-02 08:44:37 +02:00
yosoyubik
37aee72f55 roller: retrieve latest (current+pending) nonce 2021-09-29 14:38:20 +02:00
yosoyubik
f243500068 Merge remote-tracking branch 'origin/philip/naive' into naive/roller 2021-09-27 16:29:12 +02:00
yosoyubik
0042426179 roller: fix crash in +pending-by address 2021-09-20 08:31:15 +02:00
yosoyubik
9c3cd5240d roller: add generators to connect to eth nodes 2021-09-20 07:24:10 +02:00