Alt-DA: Refactor DAState and DAMgr to Separate Commitment and Challenge Tracking (#10618)
* plasma: Split commitments & challenges This splits the current two queues into four queues. Two for commitments and two for challenges. Challenges are commitments are split because they are different things. Each has two physical queues to differentiate between items which have not expired and items which have expired but not finalized. This also splits the commitment origin from the challenge origin because the challenge origin can advance independently of the commitment origin. * Cleanup Refactor ; Fix Tests Reading over the refactor and understanding it for myself, I made some organizational edits, and fixed an issue in the E2E tests. * remove commented assert * Update op-plasma/damgr.go Co-authored-by:Adrian Sutton <adrian@oplabs.co> * add warn log for DA Server Not Found errors --------- Co-authored-by:
axelKingsley <axel.kingsley@gmail.com> Co-authored-by:
Adrian Sutton <adrian@oplabs.co>
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment