chore: disable isolated margin in testnet

This commit is contained in:
Matthew Russell 2024-02-15 19:52:20 -08:00
parent 6cacc46a74
commit 5fff6ba3f7
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View File

@ -22,7 +22,7 @@ NX_WALLETCONNECT_PROJECT_ID=fe8091dc35738863e509fc4947525c72
# Cosmic elevator flags # Cosmic elevator flags
NX_SUCCESSOR_MARKETS=true NX_SUCCESSOR_MARKETS=true
NX_STOP_ORDERS=true NX_STOP_ORDERS=true
NX_ISOLATED_MARGIN=true NX_ISOLATED_MARGIN=false
NX_ICEBERG_ORDERS=true NX_ICEBERG_ORDERS=true
NX_METAMASK_SNAPS=true NX_METAMASK_SNAPS=true
NX_REFERRALS=true NX_REFERRALS=true

View File

@ -373,7 +373,10 @@ export const compileFeatureFlags = (refresh = false): FeatureFlags => {
windowOrDefault('NX_STOP_ORDERS', process.env['NX_STOP_ORDERS']) as string windowOrDefault('NX_STOP_ORDERS', process.env['NX_STOP_ORDERS']) as string
), ),
ISOLATED_MARGIN: TRUTHY.includes( ISOLATED_MARGIN: TRUTHY.includes(
windowOrDefault('NX_STOP_ORDERS', process.env['NX_STOP_ORDERS']) as string windowOrDefault(
'NX_ISOLATED_MARGIN',
process.env['NX_ISOLATED_MARGIN']
) as string
), ),
SUCCESSOR_MARKETS: TRUTHY.includes( SUCCESSOR_MARKETS: TRUTHY.includes(
windowOrDefault( windowOrDefault(