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

bump slippage from 2 to 5 (except mainnet, polygon and bsc) #6419

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

brunobar79
Copy link
Member

Fixes APP-2263

What changed (plus any additional context for devs)

Bump slippage from 2 to 5 (except mainnet, polygon and bsc)

Screen recordings / screenshots

IMG_49102BA7C06D-1

What to test

Swap review sheet default slippage for the specified chains

Copy link

linear bot commented Jan 23, 2025

@brunobar79 brunobar79 requested review from derHowie and maxbbb January 23, 2025 18:28
@brunobar79 brunobar79 added the release for release blockers and release candidate branches label Jan 23, 2025
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

The moment we have more variations this gets really nasty so I'm not gonna do it.

@@ -46,6 +46,8 @@ import { IS_APK_BUILD } from 'react-native-dotenv';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import isTestFlight from '@/helpers/isTestFlight';

const DEFAULT_SLIPPAGE_BIPS = 500;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should share this constant with the remoteConfig so that changing one changes both?

Copy link
Member Author

Choose a reason for hiding this comment

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

I agree but this needs more work so whenever I have time I'm gonna do this:

https://linear.app/rainbow/issue/APP-2286/clean-up-slippage-defaults

@brunobar79
Copy link
Member Author

Launch in simulator or device for 668ce40

@brunobar79
Copy link
Member Author

Launch in simulator or device for 77c1110

@brunobar79
Copy link
Member Author

Launch in simulator or device for 60c9e49

@brunobar79 brunobar79 merged commit 64d4a73 into develop Jan 24, 2025
8 checks passed
@brunobar79 brunobar79 deleted the @bruno/default-slippage-bips branch January 24, 2025 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release for release blockers and release candidate branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants