metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

[Bug]: Address Book blocks cross-chain sends & causes silent failures; add “All EVM networks” contact + 1-click consolidation

Open chaoticgoodpanda opened this issue 1 year ago • 1 comments

Describe the bug

Env: MetaMask Extension 13.4 (prod)

Description / Bug:

In Send, user cannot reliably switch token/chain when selecting a recipient from Address Book. If recipient is saved under a different EVM chain (e.g., contact saved as Polygon.USDC), attempting to send Arbitrum.USDC to the same EVM address results in a tx that never submits (UI remains stuck / silently fails). Likely because contacts are gated by chain, and the picker resets/matches to the contact’s chain+default token, rejecting other chain+token pairs—even when the EVM address is identical across chains.

Steps to Reproduce:

Save a contact in Address Book as , chain = Polygon, token = USDC. In Send, choose Arbitrum network, token USDC. Pick the same contact (same 0x address). Try to submit.

Actual:

User cannot change token/chain freely; tx never sends or fails without clear reason.

Expected:

If the 0x address is valid for the selected EVM chain, allow the send regardless of how the contact was originally saved. If chain/token mismatch creates risk, show a clear, actionable prompt—not a silent failure.

Hypothesized Root Cause:

Address Book entry schema couples network (and sometimes token) too tightly, and the Send flow enforces that coupling, resetting to the contact’s saved chain or blocking submission.

Proposed Fix (UX + Logic)

A. Multi-chain contact model (OKX parity) Add “All EVM networks” option when creating/editing a contact (covers all EVM chains by default). Default new contacts to All EVM when the address is a standard EOA/SC that can receive on multiple EVMs. B. Send flow behavior When a contact is single-chain, but the user selects a different EVM chain: Prompt: “This contact is saved for Polygon. Use same address on Arbitrum?” → Send anyway / Edit contact / Cancel. Validate chain capability (e.g., ERC-20 vs native) and warn if the token cannot settle on that chain. Never silently fail; show explicit error with guidance. C. Auto-resolution & safety If to is identical 0x across EVM, allow override when user confirms. If destination is a known non-deposit contract for that chain/token, block with a clear warning (Product Safety pattern). Migration Plan (1-click consolidation) Offer easy upgrades of existing single-chain contacts to All EVM networks: Fullscreen modal on version update: “Consolidate your contacts to All EVM (recommended).” → 1-click Convert. Address Book Settings: “Convert all eligible contacts to All EVM” → Convert. Inline in Send: Next to a single-chain contact chip, show “Make All EVM” → converts that entry. Preserve audit trail (original chain metadata in notes). If a contact has different ENS/labels per chain, merge with preview/resolve conflicts.

Acceptance Criteria

Users can send Arb.USDC → contact saved as Polygon.USDC (same 0x) after a single confirmation; no silent failures.

New contact form includes All EVM networks; saved state persists and is used by Send/Receive.

When reopening Send to the same contact, the flow does not reset token/chain unexpectedly.

Migration tools present and functional (modal, settings button, inline convert).

Clear, actionable errors replace any current silent failures.

Expected behavior

If the 0x address is valid for the selected EVM chain, allow the send regardless of how the contact was originally saved. If chain/token mismatch creates risk, show a clear, actionable prompt—not a silent failure.

Screenshots/Recordings

No response

Steps to reproduce

Save a contact in Address Book as , chain = Polygon, token = USDC. In Send, choose Arbitrum network, token USDC. Pick the same contact (same 0x address). Try to submit.

Error messages or log output


Detection stage

In production (default)

Version

13.4

Build type

None

Browser

Brave

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response

chaoticgoodpanda avatar Oct 09 '25 14:10 chaoticgoodpanda

The redesigned Send flow is now the default. In this new flow, the address book picker is not visible if there are no contacts on the matching chain

n3ps avatar Jan 06 '26 15:01 n3ps