forked from OffchainLabs/nitro
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fast Confirmations Issue (#437) * Enqueue transactions to espresso as soon as they arrive * Multiple submitted transactions * Add the enqueue to AddBroadcastMessages * add messages in write messages so that we can include all messages * add debug log --------- Co-authored-by: Jeremy <[email protected]> * Resubmit hotshot transactions (#441) * Enqueue transactions to espresso as soon as they arrive * Multiple submitted transactions (cherry picked from commit 53ab629) * Fix * Resubmit espresso txns * add log for better debugging * add tests and fix some logical errors * fix comments * fix comments * address review comments * go back to old test design to make it explicit --------- Co-authored-by: Sneh Koul <[email protected]> * Fix: Batch posting delayed because of the frequency of messages (#440) * Store last position in batch * fix merge conflict * fix build * re-run ci * Fix broken CI * Modify batch poster to increase upper bound of batch if we only have useless messages in the batch * Address PR feedback and run make fmt * Update default test to have larger max size for its batches and poll for finality every 2 seconds. * Update batch poster flow to check validation after we accumulate the batch. * Remove log that could erroneously suggest espresso validation had been performed on a batch * Move log to less spammy location * Update outdated comment * Respond to review feedback --------- Co-authored-by: Zach Showalter <[email protected]> * Log batch posting reason when posting due to max delay. (#449) * Add better logging to batch poster surrounding posting due to max delay * Add start message * Poll to resubmit transactions (#452) * Poll to resubmit transactions * fix comment * fix comment * Update write logic to add logs and make sure that the message is alwa… (#453) * Update write logic to add logs and make sure that the message is always enqueued to Espresso * remove HasNotSubmitted * remove HasNotSubmitted * remove HasNotSubmitted * Lint --------- Co-authored-by: Sneh Koul <[email protected]> Co-authored-by: Sneh Koul <[email protected]> Co-authored-by: Zach Showalter <[email protected]>
- Loading branch information
1 parent
17734f4
commit 4f797fa
Showing
8 changed files
with
362 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.