fix: support new and legacy gas account withdrawal addresses - #4147
Merged
Merged
Conversation
Contributor
PR扫描结果依赖变更无依赖变更 |
cs1707
approved these changes
Sep 30, 2026
dmy147
approved these changes
Sep 30, 2026
vvvvvv1vvvvvv
pushed a commit
to RabbyHub/rabby-mobile
that referenced
this pull request
Sep 30, 2026
Sync RabbyHub/Rabby#4147. The gas account L2 withdraw hot wallet moved from 0xad003006... to 0x5f90d992..., so withdrawals from the new address were not classified as gas withdraw in history. Keep both addresses and match with isSameAddress.
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.
背景
L2 提现热钱包 KMS key 轮换(DeBankCore#24229 / manifest#19842),提现地址由 0xad003006... 切换为 0x5f90d992...
变更
GAS_ACCOUNT_WITHDRAWED_ADDRESS改为数组GAS_ACCOUNT_WITHDRAWED_ADDRESSES,包含新旧两个地址(旧地址保留用于历史交易的 "Withdrawn Gas" 展示识别).some()匹配