Skip to content

Commit

Permalink
Remove cctp feature flag (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang authored and mike-dydx committed Aug 21, 2024
1 parent 6f4be59 commit efa659c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 24 deletions.
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

0 comments on commit efa659c

Please sign in to comment.