Skip to content

Commit 9d5853a

Browse files
committed
fix: config
1 parent f599b55 commit 9d5853a

6 files changed

Lines changed: 10 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"test:coverage": "jest --coverage"
3636
},
3737
"dependencies": {
38-
"@aave-dao/aave-address-book": "^4.47.13",
38+
"@aave-dao/aave-address-book": "^4.47.14",
3939
"@aave/contract-helpers": "1.37.1",
4040
"@aave/graphql": "^0.11.0",
4141
"@aave/math-utils": "1.37.1",

pages/api/rpc-proxy.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ChainId } from '@aave/contract-helpers';
22
import { NextApiRequest, NextApiResponse } from 'next';
3-
import { mantle, megaeth } from 'viem/chains';
3+
import { mantle, megaeth, xLayer } from 'viem/chains';
44

55
// Documentation: ./server-side-rpc-proxy.md
66
const NETWORK_CONFIG: Record<number, { network: string; apiKey: string }> = {
@@ -30,6 +30,7 @@ const NETWORK_CONFIG: Record<number, { network: string; apiKey: string }> = {
3030
[ChainId.plasma]: { network: 'plasma-mainnet', apiKey: process.env.PLASMA_RPC_API_KEY || '' },
3131
[megaeth.id]: { network: 'megaeth-mainnet', apiKey: process.env.MEGAETH_RPC_API_KEY || '' },
3232
[mantle.id]: { network: 'mantle-mainnet', apiKey: process.env.MANTLE_RPC_API_KEY || '' },
33+
[xLayer.id]: { network: 'xlayer-mainnet', apiKey: process.env.XLAYER_RPC_API_KEY || '' },
3334

3435
// Testnets
3536
[ChainId.sepolia]: { network: 'eth-sepolia', apiKey: process.env.MAINNET_RPC_API_KEY || '' },

public/icons/markets/xlayer.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/icons/networks/xlayer.svg

Lines changed: 1 addition & 0 deletions
Loading

src/ui-config/networksConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { ChainId } from '@aave/contract-helpers';
2-
import { xLayer } from 'viem/chains';
32
import {
43
arbitrum,
54
arbitrumSepolia,
@@ -26,6 +25,7 @@ import {
2625
sepolia,
2726
soneium,
2827
sonic,
28+
xLayer,
2929
zksync,
3030
} from 'wagmi/chains';
3131

@@ -478,7 +478,7 @@ export const prodNetworkConfig: Record<string, BaseNetworkConfig> = {
478478
name: 'X Layer Bridge',
479479
url: 'https://www.okx.com/xlayer/bridge',
480480
},
481-
wagmiChain: xLayer as unknown as Chain,
481+
wagmiChain: xLayer,
482482
},
483483
[megaeth.id]: {
484484
name: 'MegaETH',

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"@gql.tada/internal" "^1.0.0"
1616
graphql "^15.5.0 || ^16.0.0 || ^17.0.0"
1717

18-
"@aave-dao/aave-address-book@^4.47.13":
19-
version "4.47.14-1e579b06f7b1a4738b611c013f4b519c6d6c0a58.0"
20-
resolved "https://registry.yarnpkg.com/@aave-dao/aave-address-book/-/aave-address-book-4.47.14-1e579b06f7b1a4738b611c013f4b519c6d6c0a58.0.tgz#8447b932b6f207f0a1ffcbd909517f16b287dd15"
21-
integrity sha512-HZSX2p5kL6RP9uL3zdhTStId2iggsTOFj1PB4zv0nOLJLPrlw5ehANEpkW0oW+bMGvtEvXI5QKSUAvP6xXLuww==
18+
"@aave-dao/aave-address-book@^4.47.14":
19+
version "4.47.14"
20+
resolved "https://registry.yarnpkg.com/@aave-dao/aave-address-book/-/aave-address-book-4.47.14.tgz#aa5bb3f70dfa4b46adbad07bbf62f7c8ba452e5f"
21+
integrity sha512-KO8Dvuwi34rX/bsRYyY6FhhJpkBY7bwuHZNOypSqlKaLK++fZfUZZSlRQ8BKn33BGZaihCInChpdjRBgByJqFQ==
2222

2323
"@aave/client@0.9.2":
2424
version "0.9.2"

0 commit comments

Comments
 (0)