Skip to content

Fix WalletConnect signing on iOS - #984

Merged
DRadmir merged 1 commit into
mainfrom
wt1/wc-connection-accounts
Aug 27, 2026
Merged

Fix WalletConnect signing on iOS#984
DRadmir merged 1 commit into
mainfrom
wt1/wc-connection-accounts

Conversation

@DRadmir

@DRadmir DRadmir commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Signing anything through WalletConnect on iOS was failing — sign message, sign transaction and send transaction, on every chain.

The wallet handed to the signing code came without its accounts, so it could not tell which account to sign with.

Now the accounts are always loaded together with the wallet, and the shortcut that allowed building a wallet without them is gone.

ConnectionsStore.getConnection never requested accounts and built the
wallet through a WalletRecord.mapToWallet() overload that hardcoded
accounts: []. After WalletConnect moved into Core, rules::session_account
resolves the signing account from that list, so every sign request failed
with "wallet has no <chain> account" on every chain.

Delete the accountless overload so a Wallet can only be built through
WalletRecordInfo, which requires the accounts, and let the three call
sites hold WalletRecordInfo instead of reassembling the pair by hand.
@DRadmir DRadmir self-assigned this Aug 27, 2026
@DRadmir
DRadmir merged commit 78471ea into main Aug 27, 2026
2 checks passed
@DRadmir
DRadmir deleted the wt1/wc-connection-accounts branch August 27, 2026 08:47
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.

1 participant