Skip to content

Commit

Permalink
feat: add linea network for governance [skip cypress] (#2326)
Browse files Browse the repository at this point in the history
  • Loading branch information
grothem authored Jan 29, 2025
1 parent 82e5eaf commit 9ebe874
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@aave/contract-helpers": "1.30.5",
"@aave/math-utils": "1.30.5",
"@bgd-labs/aave-address-book": "4.7.3",
"@bgd-labs/aave-address-book": "4.8.1",
"@emotion/cache": "11.10.3",
"@emotion/react": "11.10.4",
"@emotion/server": "latest",
Expand Down
1 change: 1 addition & 0 deletions public/icons/networks/linea.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/ui-config/governanceConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
GovernanceV3BNB,
GovernanceV3Ethereum,
GovernanceV3Gnosis,
GovernanceV3Linea,
GovernanceV3Metis,
GovernanceV3Optimism,
GovernanceV3Polygon,
Expand Down Expand Up @@ -136,6 +137,7 @@ export const governanceChainConfig: GovernanceChainConfig = {
[ChainId.bnb]: GovernanceV3BNB.PC_DATA_HELPER,
[ChainId.scroll]: GovernanceV3Scroll.PC_DATA_HELPER,
[ChainId.zksync]: GovernanceV3ZkSync.PC_DATA_HELPER,
[59144]: GovernanceV3Linea.PC_DATA_HELPER,
},
votingAssets: {
aaveTokenAddress: AaveV3Ethereum.ASSETS.AAVE.UNDERLYING,
Expand Down
15 changes: 15 additions & 0 deletions src/ui-config/networksConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,4 +396,19 @@ export const networkConfigs: Record<string, BaseNetworkConfig> = {
},
ratesHistoryApiUrl,
},
[59144]: {
name: 'Linea',
privateJsonRPCUrl: 'https://linea-mainnet.g.alchemy.com/v2/6uk5qBl8QvjpEbgF3TgZBbxWkKlmWZR-',
publicJsonRPCUrl: ['https://1rpc.io/linea'],
baseAssetSymbol: 'ETH',
wrappedBaseAssetSymbol: 'WETH',
baseAssetDecimals: 18,
explorerLink: 'https://lineascan.build',
networkLogoPath: '/icons/networks/linea.svg',
bridge: {
icon: '/icons/networks/linea.svg',
name: 'Linea Bridge',
url: 'https://bridge.linea.build/',
},
},
} as const;
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1066,10 +1066,10 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==

"@bgd-labs/aave-address-book@4.7.3":
version "4.7.3"
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.7.3.tgz#8a2ca1ca3b2e67474c0b07ea8e681a1400f3bc5b"
integrity sha512-4/QS5hLcjKuHAfdOAgaxSWVvi6RKu/U5ZHyndptvvKcNmzcC60tczN3NALCqWNXCBmzFY5e6cg82KsZJqVEjOQ==
"@bgd-labs/aave-address-book@4.8.1":
version "4.8.1"
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.8.1.tgz#3c8b97c24770df3e3e965e58932b7f0a40e3b706"
integrity sha512-t0Qz6lycoxVgoa9Jhx3t80CpZfQJD9yIH1tY22eGeN0Li2nFG9Y+XX3i3UQrzqZH613RymtyLHS4WXqVpZu4LA==

"@coinbase/wallet-sdk@4.2.3":
version "4.2.3"
Expand Down

1 comment on commit 9ebe874

@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.