Skip to content

Commit

Permalink
feat: sept 30 mainnet batch (#4613)
Browse files Browse the repository at this point in the history
### Description

Deploy to immutablezkevm rari rootstock alephzeroevm chiliz lumia
superposition

### Drive-by changes

- fix igp defaults
- helper for updating agent configs + running prettier

### Related issues

na

### Backward compatibility

ye

### Testing

manual
  • Loading branch information
paulbalaji authored Oct 9, 2024
1 parent ad4d61f commit 3254472
Show file tree
Hide file tree
Showing 21 changed files with 2,139 additions and 139 deletions.
5 changes: 5 additions & 0 deletions .changeset/early-dots-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/sdk': minor
---

Add deployments for chains: immutablezkevm, rari, rootstock, alephzeroevm, chiliz, lumia, and superposition
2 changes: 1 addition & 1 deletion .registryrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a87a555d19834d6d3dada72ccdcb3661ba9ff003
8afda069c23f8974a8679d666942be509ed64dad
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"packageManager": "[email protected]",
"private": true,
"scripts": {
"agent-configs": "yarn --cwd typescript/infra/ update-agent-config:mainnet3 && yarn --cwd typescript/infra/ update-agent-config:testnet4 && yarn prettier",
"build": "yarn workspaces foreach --all --parallel --topological run build",
"clean": "yarn workspaces foreach --all --parallel run clean",
"prettier": "yarn workspaces foreach --since --parallel run prettier",
Expand Down
470 changes: 470 additions & 0 deletions rust/main/config/mainnet_config.json

Large diffs are not rendered by default.

32 changes: 26 additions & 6 deletions rust/main/config/testnet_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@
"aggregationHook": "0x331eb40963dc11F5BB271308c42d97ac6e41F124",
"blockExplorers": [
{
"apiUrl": "https://connext-sepolia.blockscout.com/api",
"apiUrl": "https://scan.testnet.everclear.org/api",
"family": "blockscout",
"name": "Connext Explorer",
"url": "https://connext-sepolia.blockscout.com"
"name": "Everclear Testnet Explorer",
"url": "https://scan.testnet.everclear.org/"
}
],
"blocks": {
Expand All @@ -292,7 +292,7 @@
"name": "Everclear",
"url": "https://everclear.org"
},
"displayName": "Connext Sepolia",
"displayName": "Everclear Sepolia",
"domainId": 6398,
"domainRoutingIsm": "0x4ac19e0bafc2aF6B98094F0a1B817dF196551219",
"domainRoutingIsmFactory": "0x16B710b86CAd07E6F1C531861a16F5feC29dba37",
Expand Down Expand Up @@ -956,7 +956,7 @@
{
"apiUrl": "https://testnet-explorer.superposition.so/api",
"family": "blockscout",
"name": "CatScan",
"name": "Superposition Testnet Explorer",
"url": "https://testnet-explorer.superposition.so"
}
],
Expand Down Expand Up @@ -1006,7 +1006,11 @@
"validatorAnnounce": "0xAD34A66Bf6dB18E858F6B686557075568c6E031C",
"staticMerkleRootWeightedMultisigIsmFactory": "0xE67CfA164cDa449Ae38a0a09391eF6bCDf8e4e2c",
"staticMessageIdWeightedMultisigIsmFactory": "0x867f2089D09903f208AeCac84E599B90E5a4A821",
"gasCurrencyCoinGeckoId": "superposition"
"gasCurrencyCoinGeckoId": "superposition",
"deployer": {
"name": "Abacus Works",
"url": "https://www.hyperlane.xyz"
}
},
"berabartio": {
"blockExplorers": [
Expand Down Expand Up @@ -1136,6 +1140,10 @@
"validatorAnnounce": "0xEa7e618Bee8927fBb2fA20Bc41eE8DEA51838aAD",
"index": {
"from": 4591544
},
"deployer": {
"name": "Abacus Works",
"url": "https://www.hyperlane.xyz"
}
},
"citreatestnet": {
Expand Down Expand Up @@ -1261,6 +1269,10 @@
"validatorAnnounce": "0xEa7e618Bee8927fBb2fA20Bc41eE8DEA51838aAD",
"index": {
"from": 12137144
},
"deployer": {
"name": "Abacus Works",
"url": "https://www.hyperlane.xyz"
}
},
"hyperliquidevmtestnet": {
Expand Down Expand Up @@ -1385,6 +1397,10 @@
"validatorAnnounce": "0xEa7e618Bee8927fBb2fA20Bc41eE8DEA51838aAD",
"index": {
"from": 2054457
},
"deployer": {
"name": "Abacus Works",
"url": "https://www.hyperlane.xyz"
}
},
"suavetoliman": {
Expand Down Expand Up @@ -1445,6 +1461,10 @@
"validatorAnnounce": "0xEa7e618Bee8927fBb2fA20Bc41eE8DEA51838aAD",
"index": {
"from": 1921514
},
"deployer": {
"name": "Abacus Works",
"url": "https://www.hyperlane.xyz"
}
},
"test1": {
Expand Down
33 changes: 27 additions & 6 deletions typescript/infra/config/environments/mainnet3/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
// Generally, we run all production validators in the Hyperlane context.
[Role.Validator]: {
ancient8: true,
alephzeroevm: true,
arbitrum: true,
astar: true,
astarzkevm: true,
Expand All @@ -66,6 +67,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
bsc: true,
celo: true,
cheesechain: true,
chiliz: true,
coredao: true,
cyber: true,
degenchain: true,
Expand All @@ -78,12 +80,14 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
fraxtal: true,
fusemainnet: true,
gnosis: true,
immutablezkevm: true,
inevm: true,
injective: true,
kroma: true,
linea: true,
lisk: true,
lukso: true,
lumia: true,
mantapacific: true,
mantle: true,
merlin: true,
Expand All @@ -99,15 +103,18 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
polygon: true,
polygonzkevm: true,
proofofplay: true,
rari: true,
real: true,
redstone: true,
rootstock: true,
sanko: true,
scroll: true,
sei: true,
shibarium: true,
solanamainnet: true,
superposition: true,
taiko: true,
tangle: false,
tangle: true,
viction: true,
worldchain: true,
xai: true,
Expand All @@ -117,6 +124,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
zoramainnet: true,
},
[Role.Relayer]: {
alephzeroevm: true,
ancient8: true,
arbitrum: true,
astar: true,
Expand All @@ -129,6 +137,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
bsc: true,
celo: true,
cheesechain: true,
chiliz: true,
coredao: true,
cyber: true,
degenchain: true,
Expand All @@ -141,12 +150,14 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
fraxtal: true,
fusemainnet: true,
gnosis: true,
immutablezkevm: true,
inevm: true,
injective: true,
kroma: true,
linea: true,
lisk: true,
lukso: true,
lumia: true,
mantapacific: true,
mantle: true,
merlin: true,
Expand All @@ -163,15 +174,18 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
polygon: true,
polygonzkevm: true,
proofofplay: true,
rari: true,
real: true,
redstone: true,
rootstock: true,
sanko: true,
scroll: true,
sei: true,
shibarium: true,
solanamainnet: true,
superposition: true,
taiko: true,
tangle: false,
tangle: true,
viction: true,
worldchain: true,
xai: true,
Expand All @@ -182,6 +196,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
},
[Role.Scraper]: {
ancient8: true,
alephzeroevm: true,
arbitrum: true,
astar: true,
astarzkevm: true,
Expand All @@ -193,6 +208,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
bsc: true,
celo: true,
cheesechain: true,
chiliz: true,
coredao: true,
cyber: true,
degenchain: true,
Expand All @@ -206,13 +222,15 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
fraxtal: true,
fusemainnet: true,
gnosis: true,
immutablezkevm: true,
inevm: true,
// Cannot scrape non-EVM chains
injective: false,
kroma: true,
linea: true,
lisk: true,
lukso: true,
lumia: true,
mantapacific: true,
mantle: true,
merlin: true,
Expand All @@ -230,8 +248,10 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
polygon: true,
polygonzkevm: true,
proofofplay: true,
rari: true,
real: true,
redstone: true,
rootstock: true,
sanko: true,
scroll: true,
// Out of caution around pointer contracts (https://www.docs.sei.io/dev-interoperability/pointer-contracts) not being compatible
Expand All @@ -240,8 +260,9 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
shibarium: true,
// Cannot scrape non-EVM chains
solanamainnet: false,
superposition: true,
taiko: true,
tangle: false,
tangle: true,
// Has RPC non-compliance that breaks scraping.
viction: false,
worldchain: true,
Expand Down Expand Up @@ -393,7 +414,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: 'bf53f08-20240926-223824',
tag: '6f414af-20241004-131949',
},
gasPaymentEnforcement: gasPaymentEnforcement,
metricAppContexts,
Expand All @@ -402,7 +423,7 @@ const hyperlane: RootAgentConfig = {
validators: {
docker: {
repo,
tag: '9c056c7-20240911-154357',
tag: '6f414af-20241004-131949',
},
rpcConsensusType: RpcConsensusType.Quorum,
chains: validatorChainConfig(Contexts.Hyperlane),
Expand All @@ -412,7 +433,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '9c056c7-20240911-154357',
tag: '6f414af-20241004-131949',
},
resources: scraperResources,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"ancient8": {
"validators": ["0xbb5842ae0e05215b53df4787a29144efb7e67551"]
},
"alephzeroevm": {
"validators": ["0xcae8fab142adc4e434bb7409e40dd932cc3851aa"]
},
"arbitrum": {
"validators": [
"0x4d966438fe9e2b1e7124c87bbb90cb4f0f6c59a1",
Expand Down Expand Up @@ -55,6 +58,9 @@
"cheesechain": {
"validators": ["0x478fb53c6860ae8fc35235ba0d38d49b13128226"]
},
"chiliz": {
"validators": ["0x82d024f453b1a3f3f6606226f06b038da27596f3"]
},
"coredao": {
"validators": ["0xbd6e158a3f5830d99d7d2bce192695bc4a148de2"]
},
Expand Down Expand Up @@ -99,6 +105,9 @@
"0xb93a72cee19402553c9dd7fed2461aebd04e2454"
]
},
"immutablezkevm": {
"validators": ["0xa787c2952a4d22f776ee6e87e828e6f75de24330"]
},
"inevm": {
"validators": [
"0xf9e35ee88e4448a3673b4676a4e153e3584a08eb",
Expand All @@ -121,6 +130,9 @@
"lukso": {
"validators": ["0xa5e953701dcddc5b958b5defb677a829d908df6d"]
},
"lumia": {
"validators": ["0x9e283254ed2cd2c80f007348c2822fc8e5c2fa5f"]
},
"mantapacific": {
"validators": [
"0x8e668c97ad76d0e28375275c41ece4972ab8a5bc",
Expand Down Expand Up @@ -190,12 +202,18 @@
"proofofplay": {
"validators": ["0xcda40baa71970a06e5f55e306474de5ca4e21c3b"]
},
"rari": {
"validators": ["0x989d6862e09de21337078efbd86843a3eb1133e3"]
},
"real": {
"validators": ["0xaebadd4998c70b05ce8715cf0c3cb8862fe0beec"]
},
"redstone": {
"validators": ["0x1400b9737007f7978d8b4bbafb4a69c83f0641a7"]
},
"rootstock": {
"validators": ["0xcb8e3a72cf427feff27416d0e2ec375a052eaaee"]
},
"sanko": {
"validators": ["0x795c37d5babbc44094b084b0c89ed9db9b5fae39"]
},
Expand All @@ -215,6 +233,9 @@
"solanamainnet": {
"validators": ["0x28464752829b3ea59a497fca0bdff575c534c3ff"]
},
"superposition": {
"validators": ["0x5978d0e6afa9270ddb87cff43a8fa7a763a5dfc4"]
},
"taiko": {
"validators": ["0xa930073c8f2d0b2f7423ea32293e0d1362e65d79"]
},
Expand Down
5 changes: 5 additions & 0 deletions typescript/infra/config/environments/mainnet3/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ export const chainMetadataOverrides: ChainMap<Partial<ChainMetadata>> = {
maxPriorityFeePerGas: 50 * 10 ** 9, // 50 gwei
},
},
rootstock: {
transactionOverrides: {
gasPrice: 7 * 10 ** 7, // 0.07 gwei
},
},
};

export const getRegistry = async (useSecrets = true): Promise<IRegistry> =>
Expand Down
Loading

0 comments on commit 3254472

Please sign in to comment.