-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
fix: change default tx deadline to 10m #7451
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. |
3 flaky tests on run #14985 ↗︎
Details:
cypress/e2e/swap/uniswapx.test.ts • 3 flaky tests • e2eReview all test suite changes for PR #7451 ↗︎ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM minor nits and qs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* fix: change deadline to 10m * test: add unit tests * fix: improve unit tests
fix: change default tx deadline to 10m (#7451) * fix: change deadline to 10m * test: add unit tests * fix: improve unit tests Co-authored-by: eddie <[email protected]>
* fix: change default tx deadline to 10m (#7451) * fix: change deadline to 10m * test: add unit tests * fix: improve unit tests * feat: Remove local routing setting (#7462) * remove client side router preference * update e2e test * fix comment --------- Co-authored-by: eddie <[email protected]>
Description
updates the default deadline from 30 minutes (1800 seconds) to 10 minutes (600 seconds). this includes changing the constant value used to seed the default state, but also includes a migration for all users who had the old default value persisted.
Linear ticket: https://linear.app/uniswap/issue/WEB-2938/30m-feels-high-for-classic-swaps-xinwan-and-austinadams-can-weigh-in
Relevant docs: https://www.notion.so/Redux-migrations-in-interface-30aca899626a4ac4af7b070f92ce976d
Test plan
QA (ie manual testing)
user.userDeadline
had the new default value saved in my IndexedDBAutomated testing