Feat FLY2217 prioritize pegin contract funds in hot-to-cold transfers#926
Merged
AndresQuijano merged 4 commits intohot-cold-walletfrom Mar 5, 2026
Merged
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files |
Luisfc68
requested changes
Mar 4, 2026
b8bbbdf to
ec4a68d
Compare
40a7c90 to
fc9e27e
Compare
Luisfc68
approved these changes
Mar 5, 2026
Base automatically changed from
feat_fly2164_cold_wallet_funding_alert
to
hot-cold-wallet
March 5, 2026 14:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Gives priority to the funds in the contract when transferring funds from RSK hot to cold wallet.
Why
Avoid creating a honeypot in the contract.
Note
Depends on #925
Type of Change
Affected part of the project
Related Issues
Jira ticket FLY-2217
How to test
This is my suggestion:
INFO[0030] TransferExcessToColdWallet: withdrawing 500000000000000000 wei from pegin contract
INFO[0030] Executing Withdraw transaction...
INFO[0030] Transaction Withdraw (0x2bf548a547adbb4ba21a752936e2dba09dd4ff853531c38dc30769d72ed17694) executed successfully