fix: set 1000 sats as minimum amount that can be withdrawn#2362
fix: set 1000 sats as minimum amount that can be withdrawn#2362ws4charlie merged 10 commits intodevelopfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2362 +/- ##
========================================
Coverage 68.67% 68.68%
========================================
Files 304 304
Lines 19154 19159 +5
========================================
+ Hits 13154 13159 +5
Misses 5351 5351
Partials 649 649
|
|
LGTM, |
I mean, would it make sense to add an e2e test and check the balance? The user should not have any loss of funds I guess , since the PostTxProcessing hook reverts the entire tx? If you think an e2e test is not necessary just checking it would be a good idea |
Seems just checking is okay. Also the 'unsupported address' validation was tested against mainnet on v17 release, the zEVM 'withdraw' tx just failed. |


Description
This PR is to prevent Bitcoin dust-amount withdrawals from registration. It set
1000 satoshisas the minimum amount that can be withdrawn from zEVM.Closes: 2326
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: