Skip to content

Commit

Permalink
feat: Enable OP (#4479)
Browse files Browse the repository at this point in the history
* chore: Enable OP in UI

* chore: Add CSP warning
  • Loading branch information
garethfuller authored Nov 2, 2023
1 parent 438867d commit 88cbb7a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/config/optimism/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const config: Config = {
network: 'optimism',
trustWalletNetwork: 'optimism',
unknown: false,
visibleInUI: false,
visibleInUI: true,
testNetwork: false,
rpc: 'https://mainnet.optimism.io',
ws: 'wss://ws-mainnet.optimism.io',
Expand Down
7 changes: 6 additions & 1 deletion src/lib/config/optimism/pools.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { Pools } from '@/types/pools';
import { CSP_ISSUE_POOL_IDS } from '@/constants/pool-lists/csp-issue';
import { PoolWarning, Pools } from '@/types/pools';
import { Network } from '../types';

const pools: Pools = {
IdsMap: {},
Expand Down Expand Up @@ -84,6 +86,9 @@ const pools: Pools = {
Gyro3: 'gyro',
GyroE: 'gyro',
},
Issues: {
[PoolWarning.CspPoolVulnWarning]: CSP_ISSUE_POOL_IDS[Network.OPTIMISM],
},
};

export default pools;

0 comments on commit 88cbb7a

Please sign in to comment.