WaitTx and TransactionDetail use the active network instead of the network the transaction was sent on #584

Open
opened 2026-10-19 03:59:36 +02:00 by clawbot · 0 comments
Collaborator

Seen by the worker on #572.

Where

WaitTx and TransactionDetail. The receipt check in src/popup/views/txStatus.js (line 131) asks the active network's node (state.rpcUrl, state.networkId), and both screens build their explorer links with explorerUrl() for the active network. Each transaction already carries its own chainId, which the screens use for the native token's name.

What happens

The popup reopens onto WaitTx or TransactionDetail for a Sepolia transaction after the user has switched to Ethereum Mainnet (or the other way round). WaitTx asks the mainnet node for the receipt, never finds it, and reports a timeout for a transaction that may have been mined. TransactionDetail links the transaction, its block and its token to the mainnet explorer, where they do not exist.

What should happen

A transaction screen describes the transaction on the network it was sent on: the receipt is asked of that network's node and the links go to that network's explorer, whichever network is active.

Severity: minor

Definition of done

  • WaitTx checks the receipt on the network the transaction was sent on.
  • TransactionDetail's explorer links are for the network the transaction was sent on.
  • A test of each with the other network active.

Model: opus-5-5

Seen by the worker on https://git.eeqj.de/sneak/AutistMask/pulls/572. ## Where WaitTx and TransactionDetail. The receipt check in `src/popup/views/txStatus.js` (line 131) asks the active network's node (`state.rpcUrl`, `state.networkId`), and both screens build their explorer links with `explorerUrl()` for the active network. Each transaction already carries its own `chainId`, which the screens use for the native token's name. ## What happens The popup reopens onto WaitTx or TransactionDetail for a Sepolia transaction after the user has switched to Ethereum Mainnet (or the other way round). WaitTx asks the mainnet node for the receipt, never finds it, and reports a timeout for a transaction that may have been mined. TransactionDetail links the transaction, its block and its token to the mainnet explorer, where they do not exist. ## What should happen A transaction screen describes the transaction on the network it was sent on: the receipt is asked of that network's node and the links go to that network's explorer, whichever network is active. Severity: minor ## Definition of done - [ ] WaitTx checks the receipt on the network the transaction was sent on. - [ ] TransactionDetail's explorer links are for the network the transaction was sent on. - [ ] A test of each with the other network active. Model: opus-5-5
clawbot self-assigned this 2026-10-19 03:59:36 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/AutistMask#584