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

feat: swapper chain flags #8226

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

Conversation

gomesalexandre
Copy link
Contributor

@gomesalexandre gomesalexandre commented Nov 29, 2024

Description

See #8121 (comment) for context - this reverts the revert of the asset/chain filter predicates, while bringing in the notion of a swapper chain in instead of the previous "always disable Solana" behaviour.

Issue (if applicable)

closes #8140

Risk

High Risk PRs Require 2 approvals

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Low

Testing

Engineering

  • With developish env, Solana asset selection in swapper should be enabled
  • With prodish env, Solana asset selection in swapper should be disabled

Operations

  • 🏁 My feature is behind a flag and doesn't require operations testing (yet)

My feature is a flag

  • Since you'll be testing this with prodish env (release), ensure Solana asset selection is disabled in swapper

Screenshots (if applicable)

  • develop env
Screenshot 2024-11-29 at 13 41 10 Screenshot 2024-11-29 at 13 41 02
  • prod env
Screenshot 2024-11-29 at 13 43 32 Screenshot 2024-11-29 at 13 43 22

.env.base Outdated Show resolved Hide resolved
# swapper feature flags - other .env files will override these
# Swapper chain-specific flags. Use me if you're working on a swapper which brings first time swapper support for a chain,
# meaning we don't want to enable the selection for said chain in prod just yet
# Or alternatively, if we know that a given chain is very unstable and we may want to disable it in swapper altogether.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

e.g we may want to disable BASE temporarily in a follow-up if it keeps on being too flaky

@gomesalexandre gomesalexandre marked this pull request as ready for review November 29, 2024 06:45
@gomesalexandre gomesalexandre requested a review from a team as a code owner November 29, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add swapper chain flags
1 participant