Skip to content

fix: support new and legacy gas account withdrawal addresses - #4147

Merged
cs1707 merged 1 commit into
developfrom
fix/gas-account-withdraw-addr-rotate
Sep 30, 2026
Merged

cs1707 merged 1 commit into
developfrom
fix/gas-account-withdraw-addr-rotate

Conversation

@lhypj

@lhypj lhypj commented Sep 29, 2026

Copy link
Copy Markdown

背景

L2 提现热钱包 KMS key 轮换(DeBankCore#24229 / manifest#19842),提现地址由 0xad003006... 切换为 0x5f90d992...

变更

  • GAS_ACCOUNT_WITHDRAWED_ADDRESS 改为数组 GAS_ACCOUNT_WITHDRAWED_ADDRESSES,包含新旧两个地址(旧地址保留用于历史交易的 "Withdrawn Gas" 展示识别)
  • 两处使用点(TxInterAddressExplain / DesktopTxExplain)改为 .some() 匹配

@ddddhm1234

Copy link
Copy Markdown
Contributor

PR扫描结果

依赖变更

无依赖变更

@cs1707 cs1707 changed the title gas account 提现地址轮换兼容新旧地址 fix: support new and legacy gas account withdrawal addresses Sep 30, 2026
@cs1707
cs1707 merged commit 4f5fe71 into develop Sep 30, 2026
4 of 6 checks passed
@cs1707
cs1707 deleted the fix/gas-account-withdraw-addr-rotate branch September 30, 2026 03:55
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants