Skip to content

Commit

Permalink
feat(networks,governance): add Linea to cross chain governance (#14597)
Browse files Browse the repository at this point in the history
* add basic info for Linea

* add bridge modules

* update gnosis package

* feat(governance): scripted connext safe module deployment

* fix connext mod target

* update connext mod address

* fix typo

* revert unwanted merge issue
  • Loading branch information
clemsos authored Oct 4, 2024
1 parent 9424ca7 commit 5b7f8ec
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 16 deletions.
2 changes: 1 addition & 1 deletion governance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"dependencies": {
"@arbitrum/sdk": "4.0.1",
"@eth-optimism/sdk": "3.3.2",
"@gnosis-guild/zodiac": "4.0.3",
"@gnosis-guild/zodiac-core": "2.0.4",
"@gnosis.pm/zodiac": "4.0.3",
"@matterlabs/hardhat-zksync-deploy": "1.5.0",
"@matterlabs/hardhat-zksync-solc": "1.2.5",
"@matterlabs/hardhat-zksync-upgradable": "1.7.0",
Expand Down
10 changes: 9 additions & 1 deletion packages/networks/src/networks/linea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ export const linea: NetworkConfig = {
},
},
featured: false,
governanceBridge: {
connext: '0xa05eF29e9aC8C75c530c2795Fa6A800e188dE0a9',
domainId: 1818848877,
modules: {
connextMod: '0x1b6ED52be06Cef3b9eD234114843BE79971e51f3',
delayMod: '0x2D4123dB5A4d3bAA2DbeA4cB10333a9E3271292a',
},
},
hooks: {
onKeyPurchaseHook: [
{
Expand Down Expand Up @@ -72,7 +80,7 @@ export const linea: NetworkConfig = {
symbol: 'ETH',
},
previousDeploys: [],
provider: 'https://rpc.unlock-protocol.com/59144',
provider: 'https://rpc.linea.build/',
publicLockVersionToDeploy: 14,
publicProvider: 'https://rpc.linea.build/',
startBlock: 560908,
Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8648,6 +8648,19 @@ __metadata:
languageName: node
linkType: hard

"@gnosis-guild/zodiac@npm:4.0.3":
version: 4.0.3
resolution: "@gnosis-guild/zodiac@npm:4.0.3"
dependencies:
"@gnosis.pm/mock-contract": "npm:^4.0.0"
"@gnosis.pm/safe-contracts": "npm:1.3.0"
"@openzeppelin/contracts": "npm:^5.0.0"
"@openzeppelin/contracts-upgradeable": "npm:^5.0.0"
ethers: "npm:^6.9.2"
checksum: 10/dce70d98b4abe5562057255130968c82ca0976690262aaa9c625f5e5927d5c4a68423947dab3e532d5fd7acd3aeb65de62a1beffbca4f3915c5d0e8f5ffc28af
languageName: node
linkType: hard

"@gnosis.pm/mock-contract@npm:^4.0.0":
version: 4.0.0
resolution: "@gnosis.pm/mock-contract@npm:4.0.0"
Expand All @@ -8664,19 +8677,6 @@ __metadata:
languageName: node
linkType: hard

"@gnosis.pm/zodiac@npm:4.0.3":
version: 4.0.3
resolution: "@gnosis.pm/zodiac@npm:4.0.3"
dependencies:
"@gnosis.pm/mock-contract": "npm:^4.0.0"
"@gnosis.pm/safe-contracts": "npm:1.3.0"
"@openzeppelin/contracts": "npm:^5.0.0"
"@openzeppelin/contracts-upgradeable": "npm:^5.0.0"
ethers: "npm:^6.9.2"
checksum: 10/7225015e5f1d09607f0b6ff43eb156d1aa1d797bdeedb81dbe855bfac95abb1b9e492decfc70e72e02ed667a70af63df6582a0aa503b699c318caeb7ca419d04
languageName: node
linkType: hard

"@graphile/logger@npm:^0.2.0":
version: 0.2.0
resolution: "@graphile/logger@npm:0.2.0"
Expand Down Expand Up @@ -20791,8 +20791,8 @@ __metadata:
dependencies:
"@arbitrum/sdk": "npm:4.0.1"
"@eth-optimism/sdk": "npm:3.3.2"
"@gnosis-guild/zodiac": "npm:4.0.3"
"@gnosis-guild/zodiac-core": "npm:2.0.4"
"@gnosis.pm/zodiac": "npm:4.0.3"
"@matterlabs/hardhat-zksync-deploy": "npm:1.5.0"
"@matterlabs/hardhat-zksync-solc": "npm:1.2.5"
"@matterlabs/hardhat-zksync-upgradable": "npm:1.7.0"
Expand Down

0 comments on commit 5b7f8ec

Please sign in to comment.