Fix Irrecoverable State for Queued to Sent Batch Failure Condition#251
Conversation
EDIT: You figured this out and my suggestion wasn't quite right! 😄
Ah yes I think this does actually make sense. Especially it makes sense because it will make it way easier to 'bump up the gas price' for txs that are taking a really long time to be included. You can just see 'ok how many of my txs have gone through... which one is taking a while? how long ago did i submit it? oh it's been too long let me increase the gas price". I know that DYDX's relayer has this logic for instance. I'm sure other relayers too but that's the one that I've used and seen in action |
|
|
…by rolling own tx population and submission
|
karlfloersch
left a comment
There was a problem hiding this comment.
Alright great! Seems it wasn't too verbose to calculate the tx hash up front & so that's good. And with the submission logic everything seems right to me!
LGTM!
|
|
||
| protected async getBatchSubmissionBlockNumber(): Promise<number> { | ||
| // TODO: This will eventually be part of the output metadata from L2 tx outputs | ||
| // Need to update geth to have this functionality so this is a mock for now |
There was a problem hiding this comment.
👍 ah yes we definitely need this. Got to double check that we have it represented as a ticket
| stateRootBatch.startIndex | ||
| ) | ||
|
|
||
| txHash = keccak256(signedTx) |
…UBMITTING status was not prefixed with 0x
## Overview Adds a function in the `BootInfo` module that pulls in the rollup config based on the passed L2 chain ID.
Fixes #237 Adds more concrete error variants for `OpProofsStorageError` Co-authored-by: Arun Dhyani <dhyaniarun7@gmail.com>
Description
Shortens window during which a process restart would require manual intervention to fix rollup batches.
Questions
gasLimitandgasPrice-- I know it's doable by doing a lot more of what ethers wraps manually, but this seems like the right ratio of improvement : time.Metadata
Fixes
Contributing Agreement