txmgr: Initialize signer and more in the tx manager proper#5258
txmgr: Initialize signer and more in the tx manager proper#5258mergify[bot] merged 8 commits intodevelopfrom
Conversation
|
✅ Deploy Preview for opstack-docs canceled.
|
00f097e to
5937453
Compare
This simplifies how the transaction manager is initialized.
5937453 to
8e1578d
Compare
sebastianst
left a comment
There was a problem hiding this comment.
Love the new encapsulation, how L1 write interaction is now invisible to the proposer & batcher. And another net negative diff 🎉
Shouldn't we also update the tx manager env flags in ops-bedrock/docker-compose.yml? And possibly other places as well, not sure.
A good follow up would be to also add (optional) flags for the NetworkTimeout and ReceiptQueryInterval to the tx mgr cli config.
Switch to using a shared network timeout. Co-authored-by: Sebastian Stammler <seb@oplabs.co>
b8bb962 to
2addc1b
Compare
2addc1b to
507fe13
Compare
507fe13 to
2ebe9f4
Compare
eb97ec7 to
77ce12b
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #5258 +/- ##
===========================================
- Coverage 39.98% 36.13% -3.85%
===========================================
Files 381 227 -154
Lines 24256 19833 -4423
Branches 837 0 -837
===========================================
- Hits 9699 7167 -2532
+ Misses 13819 11970 -1849
+ Partials 738 696 -42
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
This PR has been added to the merge queue, and will be merged soon. |
|
This PR is next in line to be merged, and will be merged as soon as checks pass. |
1 similar comment
|
This PR is next in line to be merged, and will be merged as soon as checks pass. |
Description
This simplifies how the transaction manager is initialized.
Note: I am connecting to the L1 RPC twice instead of re-using a shared client. Right now we don't do anything where we might want this (like global rate limiting / retries), but we may need to change this in the future. I am relying on re-using a RPC flag for the transaction manager, but it works for now.
Some of the setup is a little tricky because we initialize the batcher/proposer from code partway through the initialization process rather than always from
main.This also moves some of the functions around inside the tx manager (but does not change their behavior).
Flag Changes
l2-output-hd-pathandsequencer-hd-path->hd-path. Breaking ChangeTODOs