Skip to content

Commit 88cbb7a

Browse files
authored
feat: Enable OP (#4479)
* chore: Enable OP in UI * chore: Add CSP warning
1 parent 438867d commit 88cbb7a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/lib/config/optimism/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const config: Config = {
1717
network: 'optimism',
1818
trustWalletNetwork: 'optimism',
1919
unknown: false,
20-
visibleInUI: false,
20+
visibleInUI: true,
2121
testNetwork: false,
2222
rpc: 'https://mainnet.optimism.io',
2323
ws: 'wss://ws-mainnet.optimism.io',

src/lib/config/optimism/pools.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import { Pools } from '@/types/pools';
1+
import { CSP_ISSUE_POOL_IDS } from '@/constants/pool-lists/csp-issue';
2+
import { PoolWarning, Pools } from '@/types/pools';
3+
import { Network } from '../types';
24

35
const pools: Pools = {
46
IdsMap: {},
@@ -84,6 +86,9 @@ const pools: Pools = {
8486
Gyro3: 'gyro',
8587
GyroE: 'gyro',
8688
},
89+
Issues: {
90+
[PoolWarning.CspPoolVulnWarning]: CSP_ISSUE_POOL_IDS[Network.OPTIMISM],
91+
},
8792
};
8893

8994
export default pools;

0 commit comments

Comments
 (0)