Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: queue transaction with recommended nonce #1000

Merged
merged 2 commits into from
Oct 31, 2022
Merged

Conversation

DiogoSoaress
Copy link
Member

What it solves

After investigation on the failing E2E tests
What's happening is that a transaction was already queued with the same data, thus it won't be duplicated and consequently it won't appear in the Dashboard as the most recent transaction with that nonce. (That's why it start failing out of the sudden - we are only randomizing 20 possible values in the test)

How this PR fixes it

We stop queuing transactions with the same nonce and instead queue transactions with the recommended nonce and verify the transaction is queued in the Single Tx details page instead of the Dashboard.
After signing the transaction, we follow to the SingleTx page by clicking the notification where we can see the newly queued transaction.

@cloudflare-pages
Copy link

cloudflare-pages bot commented Oct 28, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3acbaa3
Status: ✅  Deploy successful!
Preview URL: https://619805b8.web-core.pages.dev
Branch Preview URL: https://fix-e2e-create-tx.web-core.pages.dev

View logs

@github-actions
Copy link

github-actions bot commented Oct 28, 2022

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

@DiogoSoaress DiogoSoaress requested review from iamacook and removed request for usame-algan October 28, 2022 13:49
@DiogoSoaress DiogoSoaress merged commit d69d2ad into dev Oct 31, 2022
@DiogoSoaress DiogoSoaress deleted the fix-e2e-create-tx branch October 31, 2022 09:18
@gitpoap-bot
Copy link

gitpoap-bot bot commented Oct 31, 2022

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2022 Safe Web Core Contributor:

GitPOAP: 2022 Safe Web Core Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants