feat(ctb): Add doOwnershipTransfer to deploy utils#5354
Conversation
|
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
f1ae368 to
79706a9
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## jm/streamline-migration/script-cleanup #5354 +/- ##
=======================================================================
Coverage 38.73% 38.73%
=======================================================================
Files 361 361
Lines 25174 25174
Branches 668 668
=======================================================================
+ Hits 9750 9751 +1
- Misses 14643 14644 +1
+ Partials 781 779 -2
Flags with carried forward coverage won't be shown. Click here to find out more. |
tynes
left a comment
There was a problem hiding this comment.
This is a great addition, good work

doOwnershipTransferwhich deduplicates the logic for transferring ownership of the 4 system contracts to the MSD.awaitConditioncall for each of those transfers into a single call at the end. This provides better support for amulticallbased transfer, by printing out all the info required to create a batch of transactions at once. It also still supports a 'one at a time' transfer approach, as it will check all contracts before progressing.