Commit Graph

14 Commits

Author SHA1 Message Date
Marcus
71ccdbe4ab json: remove deprecated JSON parser calls 2023-07-24 15:18:11 +03: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
d0309abfd8 roller: get suggested gas price only for mainnet 2021-12-14 15:44:43 +01:00
yosoyubik
fc540bf209 roller: handle sending malformed batches 2021-12-14 15:24:25 +01:00
yosoyubik
0c7ada2076 roller: fix response parsing from gasoracle 2021-12-13 19:16:47 +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
d5c44598ba roller: refactor and clean up 2021-11-28 16:37:06 +01:00
yosoyubik
fb5ab3edfd roller: log batch tx hash 2021-11-07 10:01:15 +01:00
yosoyubik
07d5ddfe0c roller: fix length for signatures in sending batch 2021-11-02 15:08:18 +01:00
yosoyubik
5938f3569e roller: add logic for fixing out-sync nonce 2021-10-02 08:44:37 +02:00
yosoyubik
7c70ac954b roller: add get-unspawned rpc 2021-09-01 11:01:39 +02:00
yosoyubik
f87658b1ad roller: wip roller-cli client 2021-08-22 18:23:30 +02:00
yosoyubik
a97668e0e8 roller: rename aggregator to roller 2021-08-16 13:01:23 +02:00