Skip to content

Commit

Permalink
feat: deploy to swell & lumiaprism (#4919)
Browse files Browse the repository at this point in the history
### Description

feat: deploy to swell & lumiaprism

### Drive-by changes

parallelise router enrollment in HyperlaneRouterDeployer

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

manual

---------

Signed-off-by: pbio <[email protected]>
  • Loading branch information
paulbalaji authored Nov 29, 2024
1 parent 8f8853b commit 6115709
Show file tree
Hide file tree
Showing 15 changed files with 612 additions and 50 deletions.
5 changes: 5 additions & 0 deletions .changeset/warm-starfishes-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/sdk': minor
---

Deploy to swell & lumiaprism. Parallelise router enrollment in HyperlaneRouterDeployer.
2 changes: 1 addition & 1 deletion .registryrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
385b83950adba6f033be836b627bab7d89aae38d
1591e4a4438c9d5c979e3a400a9831b14e85eeee
140 changes: 134 additions & 6 deletions rust/main/config/mainnet_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5774,7 +5774,7 @@
"interchainAccountIsm": "0x25EAC2007b0D40E3f0AF112FD346412321038719",
"interchainAccountRouter": "0xfF26696DcDb6BbFD27e959b847D4f1399D5BcF64",
"interchainGasPaymaster": "0x9534122Aae7978dB8f5f10dF4432233c53e820A1",
"interchainSecurityModule": "0x9c582a96B7350eEd313560Aeb9aBDff047aeaD36",
"interchainSecurityModule": "0xC83054ee2eFB0B21A738E79b9B79216B8240A1C9",
"mailbox": "0x3a464f746D23Ab22155710f44dB16dcA53e0775E",
"merkleTreeHook": "0x9eaaC366BFD70430cFee6E70265fefFf1CfC9E47",
"pausableHook": "0x9eb56085DdbDA60aDf7d2B533AFeD90e38fC9666",
Expand Down Expand Up @@ -5844,7 +5844,7 @@
"interchainAccountIsm": "0x25EAC2007b0D40E3f0AF112FD346412321038719",
"interchainAccountRouter": "0xfF26696DcDb6BbFD27e959b847D4f1399D5BcF64",
"interchainGasPaymaster": "0x9534122Aae7978dB8f5f10dF4432233c53e820A1",
"interchainSecurityModule": "0x739800B825916456b55CF832A535eE253bC1f358",
"interchainSecurityModule": "0xfc5Ebd43B46e9A8B876603D23E35c8809211686d",
"mailbox": "0x3a464f746D23Ab22155710f44dB16dcA53e0775E",
"merkleTreeHook": "0x9eaaC366BFD70430cFee6E70265fefFf1CfC9E47",
"pausableHook": "0x9eb56085DdbDA60aDf7d2B533AFeD90e38fC9666",
Expand Down Expand Up @@ -5905,7 +5905,7 @@
"interchainAccountIsm": "0x25EAC2007b0D40E3f0AF112FD346412321038719",
"interchainAccountRouter": "0xfF26696DcDb6BbFD27e959b847D4f1399D5BcF64",
"interchainGasPaymaster": "0x9534122Aae7978dB8f5f10dF4432233c53e820A1",
"interchainSecurityModule": "0x9bdafD7aEd501B30f72b24Ce85d423eB77f51ba0",
"interchainSecurityModule": "0xC83054ee2eFB0B21A738E79b9B79216B8240A1C9",
"mailbox": "0x3a464f746D23Ab22155710f44dB16dcA53e0775E",
"merkleTreeHook": "0x9eaaC366BFD70430cFee6E70265fefFf1CfC9E47",
"pausableHook": "0x9eb56085DdbDA60aDf7d2B533AFeD90e38fC9666",
Expand Down Expand Up @@ -5969,7 +5969,7 @@
"interchainAccountIsm": "0x25EAC2007b0D40E3f0AF112FD346412321038719",
"interchainAccountRouter": "0xfF26696DcDb6BbFD27e959b847D4f1399D5BcF64",
"interchainGasPaymaster": "0x9534122Aae7978dB8f5f10dF4432233c53e820A1",
"interchainSecurityModule": "0xce5718713f019b71F7d37058cD75d12e01dE2611",
"interchainSecurityModule": "0xaba2463875441032eF14B0EAfAe3c7754A92B56f",
"mailbox": "0x3a464f746D23Ab22155710f44dB16dcA53e0775E",
"merkleTreeHook": "0x9eaaC366BFD70430cFee6E70265fefFf1CfC9E47",
"pausableHook": "0x9eb56085DdbDA60aDf7d2B533AFeD90e38fC9666",
Expand Down Expand Up @@ -6033,7 +6033,7 @@
"interchainAccountIsm": "0x25EAC2007b0D40E3f0AF112FD346412321038719",
"interchainAccountRouter": "0xfF26696DcDb6BbFD27e959b847D4f1399D5BcF64",
"interchainGasPaymaster": "0x9534122Aae7978dB8f5f10dF4432233c53e820A1",
"interchainSecurityModule": "0xce5718713f019b71F7d37058cD75d12e01dE2611",
"interchainSecurityModule": "0xaba2463875441032eF14B0EAfAe3c7754A92B56f",
"mailbox": "0x3a464f746D23Ab22155710f44dB16dcA53e0775E",
"merkleTreeHook": "0x9eaaC366BFD70430cFee6E70265fefFf1CfC9E47",
"pausableHook": "0x9eb56085DdbDA60aDf7d2B533AFeD90e38fC9666",
Expand Down Expand Up @@ -6106,7 +6106,7 @@
"interchainAccountIsm": "0xfF26696DcDb6BbFD27e959b847D4f1399D5BcF64",
"interchainAccountRouter": "0x4D50044335dc1d4D26c343AdeDf6E47808475Deb",
"interchainGasPaymaster": "0x70EbA87Cd15616f32C736B3f3BdCfaeD0713a82B",
"interchainSecurityModule": "0x7dBb82188F553161d4B4ac3a2362Bff3a57e21D2",
"interchainSecurityModule": "0xa1095E9076Ce5aC2Bf2325891bf92a07571A6AFa",
"mailbox": "0x3a464f746D23Ab22155710f44dB16dcA53e0775E",
"merkleTreeHook": "0xbb0AE51BCa526cF313b6a95BfaB020794af6C394",
"pausableHook": "0x83475ca5bEB2Eaa59A2FF48a0544ebaa4a32c2de",
Expand All @@ -6127,6 +6127,134 @@
"index": {
"from": 9687363
}
},
"lumiaprism": {
"blockExplorers": [
{
"apiUrl": "https://explorer.lumia.org/api/eth-rpc",
"family": "blockscout",
"name": "Lumia Prism Explorer",
"url": "https://explorer.lumia.org"
}
],
"blocks": {
"confirmations": 3,
"estimateBlockTime": 4,
"reorgPeriod": 5
},
"chainId": 994873017,
"deployer": {
"name": "Abacus Works",
"url": "https://www.hyperlane.xyz"
},
"displayName": "Lumia Prism",
"domainId": 1000073017,
"gasCurrencyCoinGeckoId": "lumia",
"name": "lumiaprism",
"nativeToken": {
"decimals": 18,
"name": "Lumia",
"symbol": "LUMIA"
},
"protocol": "ethereum",
"rpcUrls": [
{
"http": "https://mainnet-rpc.lumia.org"
}
],
"technicalStack": "polygoncdk",
"aggregationHook": "0xB090349B613577E10A908D7A3ac822ac0310c8fe",
"domainRoutingIsm": "0x30f96591A3A57D76ad4c071fD857d4D1022e886b",
"domainRoutingIsmFactory": "0x8eC5f0239C77295452Ed899FDB851e785cA5FC31",
"fallbackRoutingHook": "0x850615dF99FEc6edffC77Ff246f604a6f7Df6a78",
"interchainAccountIsm": "0x31Bb27f6007C33acD1be83ACEd3164C60f8F7b13",
"interchainAccountRouter": "0xEeb5a99a75585fe137c83E7b62b74f87264A5481",
"interchainGasPaymaster": "0xb7C9307fE90B9AB093c6D3EdeE3259f5378D5f03",
"interchainSecurityModule": "0xc7d18fFAE0eD75c376aA2c662deD7Cd74f492182",
"mailbox": "0x0dF25A2d59F03F039b56E90EdC5B89679Ace28Bc",
"merkleTreeHook": "0xC88636fFdFAc7cb87b7A76310B7a62AF0A000595",
"pausableHook": "0x2AF32cF8e3Cf42d221eDa0c843818fA5ee129E27",
"pausableIsm": "0xd6ba5e6c82E173EC8FB1f6CD8b2b9C111A0982a7",
"protocolFee": "0x14891ce5AF49fb21182C1dc8B81853f3493B1B5B",
"proxyAdmin": "0x200183De44bf765ECB73cD62A74010EaaBC43146",
"staticAggregationHookFactory": "0xf40eE9FF75Fa34910b7C4C8d68d4850B3bD184D3",
"staticAggregationIsm": "0x3BCCc97eD209a7D8ad4A14e20f3A5C37Ff0eFaD4",
"staticAggregationIsmFactory": "0xD7777efaC7241E63f0c7708aA912AEd8CFAfee69",
"staticMerkleRootMultisigIsmFactory": "0xf376247BdE9763808034567E7E87c84970e81E8F",
"staticMerkleRootWeightedMultisigIsmFactory": "0x408F58D25003001C7e5F30259217F1040b8F5AaD",
"staticMessageIdMultisigIsmFactory": "0x280626Ea62fBB3C1A38641D5e735c1d0EE3F28cF",
"staticMessageIdWeightedMultisigIsmFactory": "0xf6fB78dc009C1A4286c0E7d90C10c9E8906a62Ea",
"storageGasOracle": "0x3c38fC01159E7BE0685653A0C896eA49F2BAa7c1",
"testRecipient": "0x128Ff1d24665d55f4b77B1FDbb6d8D0Ec4a0c0a1",
"timelockController": "0x0000000000000000000000000000000000000000",
"validatorAnnounce": "0x803d2A87429E20d4B52266bF97Ca1c7e4f4F5Dfa",
"index": {
"from": 3144538
}
},
"swell": {
"blockExplorers": [
{
"apiUrl": "https://explorer.swellnetwork.io/api",
"family": "blockscout",
"name": "Swell Explorer",
"url": "https://explorer.swellnetwork.io"
}
],
"blocks": {
"confirmations": 1,
"estimateBlockTime": 2,
"reorgPeriod": 5
},
"chainId": 1923,
"deployer": {
"name": "Abacus Works",
"url": "https://www.hyperlane.xyz"
},
"displayName": "Swell",
"domainId": 1923,
"gasCurrencyCoinGeckoId": "ethereum",
"name": "swell",
"nativeToken": {
"decimals": 18,
"name": "Ether",
"symbol": "ETH"
},
"protocol": "ethereum",
"rpcUrls": [
{
"http": "https://swell-mainnet.alt.technology"
}
],
"technicalStack": "opstack",
"aggregationHook": "0x2e4d4189a24fa484Aad5D7Cd6ebe3A80cDAAB068",
"domainRoutingIsm": "0xBD70Ea9D599a0FC8158B026797177773C3445730",
"domainRoutingIsmFactory": "0x1052eF3419f26Bec74Ed7CEf4a4FA6812Bc09908",
"fallbackRoutingHook": "0x70EbA87Cd15616f32C736B3f3BdCfaeD0713a82B",
"interchainAccountIsm": "0x28291a7062afA569104bEd52F7AcCA3dD2FafD11",
"interchainAccountRouter": "0xe9E3444DDD80c50276c0Fcf316026f6d7fEc2c47",
"interchainGasPaymaster": "0x25EAC2007b0D40E3f0AF112FD346412321038719",
"interchainSecurityModule": "0xEa325c513Bd54A3d4a04D98843d0523B1477751D",
"mailbox": "0x3a464f746D23Ab22155710f44dB16dcA53e0775E",
"merkleTreeHook": "0x5C02157068a52cEcfc98EDb6115DE6134EcB4764",
"pausableHook": "0x99fEFc1119E86Ee0153eb887cF8E8ab2d92A16e8",
"pausableIsm": "0x9534122Aae7978dB8f5f10dF4432233c53e820A1",
"protocolFee": "0x7CE76f5f0C469bBB4cd7Ea6EbabB54437A093127",
"proxyAdmin": "0x2f2aFaE1139Ce54feFC03593FeE8AB2aDF4a85A7",
"staticAggregationHookFactory": "0xEb9FcFDC9EfDC17c1EC5E1dc085B98485da213D6",
"staticAggregationIsm": "0xEa325c513Bd54A3d4a04D98843d0523B1477751D",
"staticAggregationIsmFactory": "0x8F7454AC98228f3504Bb91eA3D8Adafe6406110A",
"staticMerkleRootMultisigIsmFactory": "0x2C1FAbEcd7bFBdEBF27CcdB67baADB38b6Df90fC",
"staticMerkleRootWeightedMultisigIsmFactory": "0x0761b0827849abbf7b0cC09CE14e1C93D87f5004",
"staticMessageIdMultisigIsmFactory": "0x8b83fefd896fAa52057798f6426E9f0B080FCCcE",
"staticMessageIdWeightedMultisigIsmFactory": "0x4Ed7d626f1E96cD1C0401607Bf70D95243E3dEd1",
"storageGasOracle": "0xCDeb368Db32ecCefaf7018e152DA9120565cb572",
"testRecipient": "0xBC53dACd8c0ac0d2bAC461479EAaf5519eCC8853",
"timelockController": "0x0000000000000000000000000000000000000000",
"validatorAnnounce": "0x4D50044335dc1d4D26c343AdeDf6E47808475Deb",
"index": {
"from": 57794
}
}
},
"defaultRpcConsensusType": "fallback"
Expand Down
12 changes: 9 additions & 3 deletions typescript/infra/config/environments/mainnet3/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
lisk: true,
lukso: true,
lumia: true,
lumiaprism: true,
mantapacific: true,
mantle: true,
merlin: true,
Expand Down Expand Up @@ -130,6 +131,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
stride: false,
superseed: true,
superpositionmainnet: true,
swell: true,
taiko: true,
tangle: true,
unichain: true,
Expand Down Expand Up @@ -191,6 +193,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
lisk: true,
lukso: true,
lumia: true,
lumiaprism: true,
mantapacific: true,
mantle: true,
merlin: true,
Expand Down Expand Up @@ -225,6 +228,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
stride: true,
superseed: true,
superpositionmainnet: true,
swell: true,
taiko: true,
tangle: true,
unichain: true,
Expand Down Expand Up @@ -287,6 +291,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
lisk: true,
lukso: true,
lumia: true,
lumiaprism: true,
mantapacific: true,
mantle: true,
merlin: true,
Expand Down Expand Up @@ -321,6 +326,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
stride: true,
superseed: true,
superpositionmainnet: true,
swell: true,
taiko: true,
tangle: true,
unichain: true,
Expand Down Expand Up @@ -454,7 +460,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: 'da277d9-20241128-121942',
tag: 'b35c105-20241128-172842',
},
gasPaymentEnforcement: gasPaymentEnforcement,
metricAppContextsGetter,
Expand All @@ -463,7 +469,7 @@ const hyperlane: RootAgentConfig = {
validators: {
docker: {
repo,
tag: 'd834d81-20241125-135658',
tag: 'b35c105-20241128-172842',
},
rpcConsensusType: RpcConsensusType.Quorum,
chains: validatorChainConfig(Contexts.Hyperlane),
Expand All @@ -473,7 +479,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: 'd834d81-20241125-135658',
tag: 'b35c105-20241128-172842',
},
resources: scraperResources,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@
"lumia": {
"validators": ["0x9e283254ed2cd2c80f007348c2822fc8e5c2fa5f"]
},
"lumiaprism": {
"validators": ["0xb69731640ffd4338a2c9358a935b0274c6463f85"]
},
"mantapacific": {
"validators": [
"0x8e668c97ad76d0e28375275c41ece4972ab8a5bc",
Expand Down Expand Up @@ -293,6 +296,9 @@
"superpositionmainnet": {
"validators": ["0x3f489acdd341c6b4dd86293fa2cc5ecc8ccf4f84"]
},
"swell": {
"validators": ["0x4f51e4f4c7fb45d82f91568480a1a2cfb69216ed"]
},
"taiko": {
"validators": ["0xa930073c8f2d0b2f7423ea32293e0d1362e65d79"]
},
Expand Down
Loading

0 comments on commit 6115709

Please sign in to comment.