Skip to content

Commit

Permalink
feat: deploy dec 13 batch (#5015)
Browse files Browse the repository at this point in the history
### Description

Deploy to new chains: arthera, aurora, conflux, conwai, corn, evmos,
form, ink, rivalz, soneium, sonic, telos.

### Drive-by changes

- igp updates
- fix minor bug in setting up infra multiprovider with secrets
- ensures we're able to fetch secrets for chains not yet in
`supportedChainNames` e.g. for checking balances on new chains before
adding them to infra

### 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 <10051819+paulbalaji@users.noreply.github.com>
  • Loading branch information
paulbalaji authored Dec 17, 2024
1 parent 1478dfc commit 95cc957
Show file tree
Hide file tree
Showing 19 changed files with 3,535 additions and 144 deletions.
5 changes: 5 additions & 0 deletions .changeset/new-seas-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/sdk': minor
---

Deploy to new chains: arthera, aurora, conflux, conwai, corn, evmos, form, ink, rivalz, soneium, sonic, telos.
2 changes: 1 addition & 1 deletion .registryrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
01f2271592da4a06962e31ed384201f32cb070ab
d3e1e71965d7d06a8f8761c8255e718699c78f11
798 changes: 798 additions & 0 deletions rust/main/config/mainnet_config.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions rust/main/config/testnet_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -1232,10 +1232,10 @@
"formtestnet": {
"blockExplorers": [
{
"apiUrl": "https://explorer.form.network/api",
"apiUrl": "https://sepolia-explorer.form.network/api",
"family": "blockscout",
"name": "Form Testnet Explorer",
"url": "https://explorer.form.network"
"url": "https://sepolia-explorer.form.network"
}
],
"blocks": {
Expand Down
45 changes: 42 additions & 3 deletions typescript/infra/config/environments/mainnet3/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
appchain: true,
arbitrum: true,
arbitrumnova: true,
arthera: true,
astar: true,
astarzkevm: true,
aurora: true,
flame: true,
avalanche: true,
b3: true,
Expand All @@ -73,7 +75,10 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
celo: true,
cheesechain: true,
chilizmainnet: true,
conflux: true,
conwai: true,
coredao: true,
corn: true,
cyber: true,
degenchain: true,
dogechain: true,
Expand All @@ -82,9 +87,12 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
endurance: true,
ethereum: true,
everclear: true,
evmos: true,
fantom: true,
flare: true,
flowmainnet: true,
form: true,
// fractal: false,
fraxtal: true,
fusemainnet: true,
gnosis: true,
Expand All @@ -93,6 +101,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
immutablezkevmmainnet: true,
inevm: true,
injective: true,
ink: true,
kaia: true,
kroma: true,
linea: true,
Expand Down Expand Up @@ -123,19 +132,23 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
rarichain: true,
real: true,
redstone: true,
rivalz: true,
rootstockmainnet: true,
sanko: true,
scroll: true,
sei: true,
shibarium: true,
snaxchain: true,
solanamainnet: true,
soneium: true,
sonic: true,
stride: false,
superseed: true,
superpositionmainnet: true,
swell: true,
taiko: true,
tangle: true,
telos: true,
treasure: true,
unichain: true,
vana: true,
Expand All @@ -157,8 +170,10 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
appchain: true,
arbitrum: true,
arbitrumnova: true,
arthera: true,
astar: true,
astarzkevm: true,
aurora: true,
flame: true,
avalanche: true,
b3: true,
Expand All @@ -172,7 +187,10 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
celo: true,
cheesechain: true,
chilizmainnet: true,
conflux: true,
conwai: true,
coredao: true,
corn: true,
cyber: true,
degenchain: true,
dogechain: true,
Expand All @@ -181,9 +199,12 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
endurance: true,
ethereum: true,
everclear: true,
evmos: true,
fantom: true,
flare: true,
flowmainnet: true,
form: true,
// fractal: false,
fraxtal: true,
fusemainnet: true,
gnosis: true,
Expand All @@ -192,6 +213,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
immutablezkevmmainnet: true,
inevm: true,
injective: true,
ink: true,
kaia: true,
kroma: true,
linea: true,
Expand Down Expand Up @@ -223,19 +245,23 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
rarichain: true,
real: true,
redstone: true,
rivalz: true,
rootstockmainnet: true,
sanko: true,
scroll: true,
sei: true,
shibarium: true,
snaxchain: true,
solanamainnet: true,
soneium: true,
sonic: true,
stride: true,
superseed: true,
superpositionmainnet: true,
swell: true,
taiko: true,
tangle: true,
telos: true,
treasure: true,
unichain: true,
vana: true,
Expand All @@ -257,8 +283,10 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
appchain: true,
arbitrum: true,
arbitrumnova: true,
arthera: true,
astar: true,
astarzkevm: true,
aurora: true,
flame: true,
avalanche: true,
b3: true,
Expand All @@ -272,7 +300,10 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
celo: true,
cheesechain: true,
chilizmainnet: true,
conflux: true,
conwai: true,
coredao: true,
corn: true,
cyber: true,
degenchain: true,
dogechain: true,
Expand All @@ -281,16 +312,20 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
endurance: true,
ethereum: true,
everclear: true,
evmos: true,
fantom: true,
flare: true,
flowmainnet: true,
form: true,
// fractal: false,
fraxtal: true,
fusemainnet: true,
gnosis: true,
gravity: true,
harmony: true,
immutablezkevmmainnet: true,
inevm: true,
ink: true,
injective: true,
kaia: true,
kroma: true,
Expand Down Expand Up @@ -322,19 +357,23 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
rarichain: true,
real: true,
redstone: true,
rivalz: true,
rootstockmainnet: true,
sanko: true,
scroll: true,
sei: true,
shibarium: true,
snaxchain: true,
solanamainnet: true,
soneium: true,
sonic: true,
stride: true,
superseed: true,
superpositionmainnet: true,
swell: true,
taiko: true,
tangle: true,
telos: true,
treasure: true,
unichain: true,
vana: true,
Expand Down Expand Up @@ -507,7 +546,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '4779a19-20241213-212818',
tag: '05e90bc-20241216-180035',
},
blacklist,
gasPaymentEnforcement: gasPaymentEnforcement,
Expand All @@ -517,7 +556,7 @@ const hyperlane: RootAgentConfig = {
validators: {
docker: {
repo,
tag: 'a7f3967-20241205-163733',
tag: '05e90bc-20241216-180035',
},
rpcConsensusType: RpcConsensusType.Quorum,
chains: validatorChainConfig(Contexts.Hyperlane),
Expand All @@ -527,7 +566,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '4b280cd-20241206-130519',
tag: '05e90bc-20241216-180035',
},
resources: scraperResources,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,18 @@
"arbitrumnova": {
"validators": ["0xd2a5e9123308d187383c87053811a2c21bd8af1f"]
},
"arthera": {
"validators": ["0x13710ac11c36c169f62fba95767ae59a1e57098d"]
},
"astar": {
"validators": ["0x4d1b2cade01ee3493f44304653d8e352c66ec3e7"]
},
"astarzkevm": {
"validators": ["0x89ecdd6caf138934bf3a2fb7b323984d72fd66de"]
},
"aurora": {
"validators": ["0x37105aec3ff37c7bb0abdb0b1d75112e1e69fa86"]
},
"flame": {
"validators": ["0x1fa928ce884fa16357d4b8866e096392d4d81f43"]
},
Expand Down Expand Up @@ -82,9 +88,18 @@
"chilizmainnet": {
"validators": ["0x7403e5d58b48b0f5f715d9c78fbc581f01a625cb"]
},
"conflux": {
"validators": ["0x113dfa1dc9b0a2efb6ad01981e2aad86d3658490"]
},
"conwai": {
"validators": ["0x949e2cdd7e79f99ee9bbe549540370cdc62e73c3"]
},
"coredao": {
"validators": ["0xbd6e158a3f5830d99d7d2bce192695bc4a148de2"]
},
"corn": {
"validators": ["0xc80b2e3e38220e02d194a0effa9d5bfe89894c07"]
},
"cyber": {
"validators": ["0x94d7119ceeb802173b6924e6cc8c4cd731089a27"]
},
Expand Down Expand Up @@ -113,6 +128,9 @@
"everclear": {
"validators": ["0xeff20ae3d5ab90abb11e882cfce4b92ea6c74837"]
},
"evmos": {
"validators": ["0x8f82387ad8b7b13aa9e06ed3f77f78a77713afe0"]
},
"fantom": {
"validators": ["0xa779572028e634e16f26af5dfd4fa685f619457d"]
},
Expand All @@ -122,6 +140,9 @@
"flowmainnet": {
"validators": ["0xe132235c958ca1f3f24d772e5970dd58da4c0f6e"]
},
"form": {
"validators": ["0x58554b2e76167993b5fc000d0070a2f883cd333a"]
},
"fraxtal": {
"validators": ["0x4bce180dac6da60d0f3a2bdf036ffe9004f944c1"]
},
Expand Down Expand Up @@ -154,6 +175,9 @@
"injective": {
"validators": ["0xbfb8911b72cfb138c7ce517c57d9c691535dc517"]
},
"ink": {
"validators": ["0xb533b8b104522958b984fb258e0684dec0f1a6a5"]
},
"kaia": {
"validators": ["0x9de0b3abb221d19719882fa4d61f769fdc2be9a4"]
},
Expand Down Expand Up @@ -268,6 +292,9 @@
"redstone": {
"validators": ["0x1400b9737007f7978d8b4bbafb4a69c83f0641a7"]
},
"rivalz": {
"validators": ["0xf87c3eb3dde972257b0d6d110bdadcda951c0dc1"]
},
"rootstockmainnet": {
"validators": ["0x8675eb603d62ab64e3efe90df914e555966e04ac"]
},
Expand All @@ -293,6 +320,12 @@
"solanamainnet": {
"validators": ["0x28464752829b3ea59a497fca0bdff575c534c3ff"]
},
"soneium": {
"validators": ["0xd4b7af853ed6a2bfc329ecef545df90c959cbee8"]
},
"sonic": {
"validators": ["0xa313d72dbbd3fa51a2ed1611ea50c37946fa42f7"]
},
"superseed": {
"validators": ["0xdc2b87cb555411bb138d3a4e5f7832c87fae2b88"]
},
Expand All @@ -308,6 +341,9 @@
"tangle": {
"validators": ["0x1ee52cbbfacd7dcb0ba4e91efaa6fbc61602b15b"]
},
"telos": {
"validators": ["0xcb08410b14d3adf0d0646f0c61cd07e0daba8e54"]
},
"treasure": {
"validators": ["0x6ad994819185553e8baa01533f0cd2c7cadfe6cc"]
},
Expand Down
9 changes: 6 additions & 3 deletions typescript/infra/config/environments/mainnet3/chains.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { IRegistry } from '@hyperlane-xyz/registry';
import { ChainMap, ChainMetadata } from '@hyperlane-xyz/sdk';
import { ChainMap, ChainMetadata, ChainName } from '@hyperlane-xyz/sdk';

import { getRegistryForEnvironment } from '../../../src/config/chain.js';
import { isEthereumProtocolChain } from '../../../src/utils/utils.js';
Expand Down Expand Up @@ -87,10 +87,13 @@ export const chainMetadataOverrides: ChainMap<Partial<ChainMetadata>> = {
// },
};

export const getRegistry = async (useSecrets = true): Promise<IRegistry> =>
export const getRegistry = async (
useSecrets = true,
chains: ChainName[] = supportedChainNames,
): Promise<IRegistry> =>
getRegistryForEnvironment(
environment,
supportedChainNames,
chains,
chainMetadataOverrides,
useSecrets,
);
Loading

0 comments on commit 95cc957

Please sign in to comment.