Skip to content

Commit

Permalink
Revert "feat: linea [skip cypress] (#2339)" (#2342)
Browse files Browse the repository at this point in the history
  • Loading branch information
foodaka authored Feb 11, 2025
1 parent 0f54958 commit effd810
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 48 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-test-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
(github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name &&
!contains(github.head_ref, 'dependabot'))
strategy:
matrix:
build:
- name: 'out'
cypress_enabled: 'false'
- name: 'out_cypress'
cypress_enabled: 'true'
matrix:
build:
- name: 'out'
cypress_enabled: 'false'
- name: 'out_cypress'
cypress_enabled: 'true'
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
- name: 'Dependency Review'
uses: actions/dependency-review-action@v2
with:
fail-on-severity: critical
fail-on-severity: critical
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"test:coverage": "jest --coverage"
},
"dependencies": {
"@aave/contract-helpers": "1.31.1",
"@aave/math-utils": "1.31.1",
"@aave/contract-helpers": "1.30.5",
"@aave/math-utils": "1.30.5",
"@bgd-labs/aave-address-book": "4.10.0",
"@emotion/cache": "11.10.3",
"@emotion/react": "11.10.4",
Expand Down
18 changes: 0 additions & 18 deletions src/ui-config/marketsConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
AaveV3EthereumEtherFi,
AaveV3EthereumLido,
AaveV3Gnosis,
AaveV3Linea,
AaveV3Metis,
AaveV3Optimism,
AaveV3OptimismSepolia,
Expand Down Expand Up @@ -93,7 +92,6 @@ export enum CustomMarket {
proto_lido_v3 = 'proto_lido_v3',
proto_zksync_v3 = 'proto_zksync_v3',
proto_etherfi_v3 = 'proto_etherfi_v3',
proto_linea_v3 = 'proto_linea_v3',
// v2
proto_mainnet = 'proto_mainnet',
proto_avalanche = 'proto_avalanche',
Expand Down Expand Up @@ -683,20 +681,4 @@ export const marketsData: {
COLLECTOR: AaveV3ZkSync.COLLECTOR,
},
},
[CustomMarket.proto_linea_v3]: {
marketTitle: 'Linea',
market: CustomMarket.proto_linea_v3,
chainId: ChainId.linea,
v3: true,
subgraphUrl: `https://gateway.thegraph.com/api/${apiKey}/subgraphs/id/Gz2kjnmRV1fQj3R8cssoZa5y9VTanhrDo4Mh7nWW1wHa`,
addresses: {
LENDING_POOL_ADDRESS_PROVIDER: AaveV3Linea.POOL_ADDRESSES_PROVIDER,
LENDING_POOL: AaveV3Linea.POOL,
WETH_GATEWAY: AaveV3Linea.WETH_GATEWAY,
WALLET_BALANCE_PROVIDER: AaveV3Linea.WALLET_BALANCE_PROVIDER,
UI_POOL_DATA_PROVIDER: AaveV3Linea.UI_POOL_DATA_PROVIDER,
UI_INCENTIVE_DATA_PROVIDER: AaveV3Linea.UI_INCENTIVE_DATA_PROVIDER,
COLLECTOR: AaveV3Linea.COLLECTOR,
},
},
} as const;
8 changes: 2 additions & 6 deletions src/ui-config/networksConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,14 +396,10 @@ export const networkConfigs: Record<string, BaseNetworkConfig> = {
},
ratesHistoryApiUrl,
},
[ChainId.linea]: {
[59144]: {
name: 'Linea',
privateJsonRPCUrl: 'https://linea-mainnet.g.alchemy.com/v2/6uk5qBl8QvjpEbgF3TgZBbxWkKlmWZR-',
publicJsonRPCUrl: [
'https://1rpc.io/linea',
'https://linea.drpc.org',
'https://linea-rpc.publicnode.com',
],
publicJsonRPCUrl: ['https://1rpc.io/linea'],
baseAssetSymbol: 'ETH',
wrappedBaseAssetSymbol: 'WETH',
baseAssetDecimals: 18,
Expand Down
5 changes: 0 additions & 5 deletions src/ui-config/permitConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,4 @@ export const permitByChainAndToken: {
'0x493257fd37edb34451f62edf8d2a0c418852ba4c': true,
'0x5aea5775959fbc2557cc8789bc1bf90a239d9a91': true,
},
[ChainId.linea]: {
'0xa219439258ca9da29e9cc4ce5596924745e12b93': true, // USDT
'0x2416092f143378750bb29b79ed961ab195cceea5': true, // ezETH
'0xb5bedd42000b71fdde22d3ee8a79bd49a568fc8f': true, // wstETH
},
};
2 changes: 0 additions & 2 deletions src/ui-config/wagmiConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
baseSepolia,
bsc,
gnosis,
linea,
mainnet,
metis,
optimism,
Expand Down Expand Up @@ -53,7 +52,6 @@ let prodChains: CreateConfigParameters['chains'] = [
bsc,
scroll,
zksync,
linea,
];

const { name, baseAssetDecimals, baseAssetSymbol } = networkConfigs[FORK_BASE_CHAIN_ID];
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
# yarn lockfile v1


"@aave/contract-helpers@1.31.1":
version "1.31.1"
resolved "https://registry.yarnpkg.com/@aave/contract-helpers/-/contract-helpers-1.31.1.tgz#e0464847f18b7daa063cd5f1a1926c4b7ffce767"
integrity sha512-68/RIxOSZXpAJ0CbzN25tPDGF0QUoVbJQ6c7UDtA1hT2aL5g06URqHKhdIg1+Jvnz4VU8Qu0YYC26F5K+lVUcQ==
"@aave/contract-helpers@1.30.5":
version "1.30.5"
resolved "https://registry.yarnpkg.com/@aave/contract-helpers/-/contract-helpers-1.30.5.tgz#2dca36c08701548eb7ad52551514215cfd4c3b6a"
integrity sha512-4CCLROduGD6HG3/DYAWS9KPDe30Pbo+b2LNKblLCy+Y90lE8aB5/e0RVZ47+vHheV9qOCjEjLYXEyeUYo7NvFg==
dependencies:
isomorphic-unfetch "^3.1.0"

"@aave/math-utils@1.31.1":
version "1.31.1"
resolved "https://registry.yarnpkg.com/@aave/math-utils/-/math-utils-1.31.1.tgz#f465a316c1b59b75b112b772236118541e14b716"
integrity sha512-thdudjGLygOhvDlhhndhSZjVcwglWfYROv1z6qfx9c4LsyiVITAxfz1FLUXbjEOI3kirHitl060Ng4rNuYjT1Q==
"@aave/math-utils@1.30.5":
version "1.30.5"
resolved "https://registry.yarnpkg.com/@aave/math-utils/-/math-utils-1.30.5.tgz#6c6bbf46d8a422e00504e92cf8b3f6fcad626d04"
integrity sha512-aBAHCK6p3sMuyD4mipxH0vF+kn22Ocu7TzotCPzvKgkifVvGWFY7XsM5CNWubvDksL1+uNSoUvX2v3LOr23UHA==

"@adobe/css-tools@^4.0.1":
version "4.4.1"
Expand Down

1 comment on commit effd810

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit was deployed on ipfs

Please sign in to comment.