Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

(Fix) Duplicated txs #508

Merged
merged 7 commits into from
Feb 10, 2020
Merged

(Fix) Duplicated txs #508

merged 7 commits into from
Feb 10, 2020

Conversation

fernandomg
Copy link
Contributor

This PR closes #489, by:

  • Verifying the last tx execution status, before attempting to mark as executable a tx based on the safe's threshold.

@ghost
Copy link

ghost commented Feb 3, 2020

Travis automatic deployment:
https://pr508--safereact.review.gnosisdev.com

# Conflicts:
#	src/routes/safe/store/actions/createTransaction.js
@ghost
Copy link

ghost commented Feb 5, 2020

Travis automatic deployment:
https://pr508--safereact.review.gnosisdev.com

@ghost
Copy link

ghost commented Feb 5, 2020

Travis automatic deployment:
https://pr508--safereact.review.gnosisdev.com

Copy link
Contributor

@francovenica francovenica left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had some issues:
Rejection is not working properly. I've check that is creating rejections for nounces that don't exist yet (create a rejection for a nounce 88 when the last tx created was the 83)

Other issues I had was creating 2 Tx quickly and seen them both with the same nounce or sometimes one of them not showing up at all.

In resume: it seems the nounce is not being properly generated for new Tx's

@fernandomg
Copy link
Contributor Author

@francovenica, there was a mess in the logic to calculate the nonce after merging development. My bad. Now it's working.

@ghost
Copy link

ghost commented Feb 6, 2020

Travis automatic deployment:
https://pr508--safereact.review.gnosisdev.com

Copy link
Contributor

@francovenica francovenica left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it works fine, no more duplicated tx, no more issues with the nonces.

@fernandomg
Copy link
Contributor Author

@mikheevm can you give it a look?

src/routes/safe/store/actions/createTransaction.js Outdated Show resolved Hide resolved
@ghost
Copy link

ghost commented Feb 7, 2020

Travis automatic deployment:
https://pr508--safereact.review.gnosisdev.com

@mmv08 mmv08 merged commit 30f3483 into development Feb 10, 2020
@mmv08 mmv08 deleted the fix/#489-duplicated-txs branch February 10, 2020 13:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants