gnosis / gnosis/safe-cmm-app-react

Bug: Transaction stuck on pending

Open
#239 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

# Description

A user reports there's a pending tx stuck on his Safe.
User is also not able to deploy new strategies. Possibly related.

# To Reproduce:

Not able to reproduce

# Reported user steps

1. User deployed a strategy
2. Transaction was stuck on metamask, so the user cancelled it
3. Transaction still shows as pending on his Safe, even after reloading, different browser and so on
4. User reports they did not succeed to deploy new strategies since then

# Expected Behaviour

There are no pending txs after cancelling them and new txs can be deployed without issues

# Actual Behaviour

Even after cancelling the Metamask transaction, CMM pending tx is still present.
We can see that by checking the response of https://safe-transaction.xdai.gnosis.io/api/v1/safes/0x45323abC6e9FCf87654001B893EA4f41bb4a8190/transactions/?nonce__gte=6&executed=false

Also, user is not able to deploy a new strategy.

When we look at the console errors though, there's an error when loading the txs (see screen shot on next section).

Still, the tx that fails is one that has been executed, not the pending one:

Failed tx: [0xe4ae065861f9a501781f14a1ed0949290328cdea989ec29081e421fe916ce2a0](https://dashboard.tenderly.co/tx/xdai/0xe4ae065861f9a501781f14a1ed0949290328cdea989ec29081e421fe916ce2a0)

User's Safe has no pending CMM tx to be signed.
The Safe has a single owner, thus it shouldn't have any pending tx anyway.

# Screenshots/Videos

## Pending tx
![](https://cdn.discordapp.com/attachments/639851872487735316/789523313835376690/Screen_Shot_2020-12-18_at_8.01.21_AM.png)

## Safe txs page
![](https://cdn.discordapp.com/attachments/639851872487735316/789523969140195368/Screen_Shot_2020-12-18_at_8.05.59_AM.png)

## Deploy page error
![](https://cdn.discordapp.com/attachments/639851872487735316/789530911799771166/Screen_Shot_2020-12-18_at_8.33.34_AM.png)

## Error logs
![](https://cdn.discordapp.com/attachments/639851872487735316/789535851284922408/Screen_Shot_2020-12-18_at_8.53.13_AM.png)

![](https://cdn.discordapp.com/attachments/639851872487735316/789536729874038784/Screen_Shot_2020-12-18_at_8.56.21_AM.png)

# Environment
**Desktop:**
- OS: [e.g. iOS]
- Browser Chrome
- Version 0.4.6

# Background

N/A

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the transaction-loading path used by the Safe transactions endpoint and the deploy page. Compare the pending transaction response with the reported executed transaction and inspect the console errors shown in the issue. Done means cancelled transactions no longer remain pending and new strategies can be deployed successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.