-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: removed unused code and unified tx signing logic #2306
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2306 +/- ##
===========================================
+ Coverage 69.44% 69.68% +0.23%
===========================================
Files 281 281
Lines 16654 16644 -10
===========================================
+ Hits 11565 11598 +33
+ Misses 4604 4570 -34
+ Partials 485 476 -9
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks legit to me. Some few comments.
Wondering if we could think about a further refactoring with a declarative approach?
We have a single sign function and an array containing the different values depending on the tx to sign.
Then to support a new tx that can be signed, you only need to add an entry in this array
I think we can create a issue to track this: #2318 |
…fied-sign-tx-outbound
Description
The PR is a minimum refactor to prepare for EIP-1559 outbound transaction
SignWhitelistTx
Sign
.SignCancelTx
andTestSigner_SignMigrateTssFundsCmd
SignMigrateTssFundsCmd
Closes:
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.
Checklist: