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

Remove cctp feature flag #58

Merged
merged 1 commit into from
Jan 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public enum dydxBoolFeatureFlag: String, CaseIterable {
case push_notification
case full_story
case force_mainnet
case enable_cctp
case enable_trading_rewards

private static let obj = NSObject()
Expand Down
20 changes: 0 additions & 20 deletions dydx/dydxPresenters/dydxPresenters/_Features/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,6 @@
]
}
},
{
"title":{
"text":"Enable CCTP"
},
"field":{
"field":"enable_cctp",
"optional":true,
"type" : "text",
"options" : [
{
"text": "yes",
"value" : "1"
},
{
"text": "no",
"value" : "0"
}
]
}
},
{
"title":{
"text":"Enable Trading Rewards"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,7 @@ public final class AbacusStateManager: NSObject {
appConfigs = AppConfigs.companion.forApp
}

if dydxBoolFeatureFlag.enable_cctp.isEnabled {
appConfigs.squidVersion = AppConfigs.SquidVersion.v2
}
appConfigs.squidVersion = AppConfigs.SquidVersion.v2

return AsyncAbacusStateManager(
deploymentUri: deploymentUri,
Expand Down