Skip to content

Commit

Permalink
Deploy to Mode & Blast (#3653)
Browse files Browse the repository at this point in the history
### Description

<!--
What's included in this PR?
-->

### Drive-by changes

<!--
Are there any minor or drive-by changes also included?
-->

### 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

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
  • Loading branch information
tkporter authored Apr 25, 2024
1 parent f8b6ea4 commit d6f25ed
Show file tree
Hide file tree
Showing 18 changed files with 3,328 additions and 541 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ const DOMAINS: &[RawDomain] = &[
is_test_net: false,
is_deprecated: false,
},
RawDomain {
name: "blast",
token: "ETH",
domain: 81457,
chain_id: 81457,
is_test_net: false,
is_deprecated: false,
},
RawDomain {
name: "bsc",
token: "BNB",
Expand Down Expand Up @@ -110,6 +118,14 @@ const DOMAINS: &[RawDomain] = &[
is_test_net: false,
is_deprecated: false,
},
RawDomain {
name: "mode",
token: "ETH",
domain: 34443,
chain_id: 34443,
is_test_net: false,
is_deprecated: false,
},
RawDomain {
name: "moonbasealpha",
token: "DEV",
Expand Down
108 changes: 108 additions & 0 deletions rust/config/mainnet_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,63 @@
"storageGasOracle": "0xBF12ef4B9f307463D3FB59c3604F294dDCe287E2",
"validatorAnnounce": "0x182E8d7c5F1B06201b102123FC7dF0EaeB445a7B"
},
"blast": {
"blockExplorers": [
{
"apiUrl": "https://api.blastscan.io/api",
"family": "etherscan",
"name": "Blast Explorer",
"url": "https://blastscan.io"
},
{
"apiUrl": "https://api.routescan.io/v2/network/mainnet/evm/81457/etherscan/api",
"family": "routescan",
"name": "Blast Explorer",
"url": "https://blastexplorer.io"
}
],
"blocks": {
"confirmations": 1,
"estimateBlockTime": 2,
"reorgPeriod": 1
},
"chainId": 81457,
"displayName": "Blast",
"domainId": 81457,
"domainRoutingIsmFactory": "0x2f2aFaE1139Ce54feFC03593FeE8AB2aDF4a85A7",
"fallbackRoutingHook": "0x6Fae4D9935E2fcb11fC79a64e917fb2BF14DaFaa",
"gasCurrencyCoinGeckoId": "ethereum",
"index": {
"from": 2496427
},
"interchainGasPaymaster": "0xB3fCcD379ad66CED0c91028520C64226611A48c9",
"interchainSecurityModule": "0xfeBe2fB33d203B43D763f119874574c33326d545",
"mailbox": "0x3a867fCfFeC2B790970eeBDC9023E75B0a172aa7",
"merkleTreeHook": "0xC9B8ea6230d6687a4b13fD3C0b8f0Ec607B26465",
"name": "blast",
"nativeToken": {
"decimals": 18,
"name": "Ether",
"symbol": "ETH"
},
"pausableHook": "0xE0C452DDA7506f0F4dE5C8C1d383F7aD866eA4F0",
"protocol": "ethereum",
"protocolFee": "0x12582c7B0f43c6A667CBaA7fA8b112F7fb1E69F0",
"proxyAdmin": "0xeA87ae93Fa0019a82A727bfd3eBd1cFCa8f64f1D",
"rpcUrls": [
{
"http": "https://rpc.blast.io"
}
],
"staticAggregationHookFactory": "0x4Ed7d626f1E96cD1C0401607Bf70D95243E3dEd1",
"staticAggregationIsmFactory": "0x0761b0827849abbf7b0cC09CE14e1C93D87f5004",
"staticMerkleRootMultisigIsmFactory": "0xEb9FcFDC9EfDC17c1EC5E1dc085B98485da213D6",
"staticMessageIdMultisigIsmFactory": "0x1052eF3419f26Bec74Ed7CEf4a4FA6812Bc09908",
"storageGasOracle": "0xBDa330Ea8F3005C421C8088e638fBB64fA71b9e0",
"technicalStack": "other",
"testRecipient": "0x17E216fBb22dF4ef8A6640ae9Cb147C92710ac84",
"validatorAnnounce": "0xFC62DeF1f08793aBf0E67f69257c6be258194F72"
},
"bsc": {
"aggregationHook": "0x402Fc106576462a892355d69ACF03D46A888ae88",
"blockExplorers": [
Expand Down Expand Up @@ -608,6 +665,57 @@
"testTokenRecipient": "0x5060eCD5dFAD300A90592C04e504600A7cdcF70b",
"validatorAnnounce": "0x2fa5F5C96419C222cDbCeC797D696e6cE428A7A9"
},
"mode": {
"blockExplorers": [
{
"apiUrl": "https://explorer.mode.network/api",
"family": "blockscout",
"name": "Mode Explorer",
"url": "https://explorer.mode.network"
}
],
"blocks": {
"confirmations": 1,
"estimateBlockTime": 2,
"reorgPeriod": 1
},
"chainId": 34443,
"displayName": "Mode",
"domainId": 34443,
"domainRoutingIsmFactory": "0x1052eF3419f26Bec74Ed7CEf4a4FA6812Bc09908",
"fallbackRoutingHook": "0x8F1E22d309baa69D398a03cc88E9b46037e988AA",
"gasCurrencyCoinGeckoId": "ethereum",
"index": {
"from": 6817759
},
"interchainGasPaymaster": "0x931dFCc8c1141D6F532FD023bd87DAe0080c835d",
"interchainSecurityModule": "0x8dfE6790DbB2Ecc1bEdb0eECfc1Ff467Ae5d8C89",
"mailbox": "0x2f2aFaE1139Ce54feFC03593FeE8AB2aDF4a85A7",
"merkleTreeHook": "0xE2ee936bEa8e42671c400aC96dE198E06F2bA2A6",
"name": "mode",
"nativeToken": {
"decimals": 18,
"name": "Ether",
"symbol": "ETH"
},
"pausableHook": "0xA1ac41d8A663fd317cc3BD94C7de92dC4BA4a882",
"protocol": "ethereum",
"protocolFee": "0xea820f9BCFD5E16a0dd42071EB61A29874Ad81A4",
"proxyAdmin": "0x0761b0827849abbf7b0cC09CE14e1C93D87f5004",
"rpcUrls": [
{
"http": "https://mainnet.mode.network"
}
],
"staticAggregationHookFactory": "0xEb9FcFDC9EfDC17c1EC5E1dc085B98485da213D6",
"staticAggregationIsmFactory": "0x8F7454AC98228f3504Bb91eA3D8Adafe6406110A",
"staticMerkleRootMultisigIsmFactory": "0x2C1FAbEcd7bFBdEBF27CcdB67baADB38b6Df90fC",
"staticMessageIdMultisigIsmFactory": "0x8b83fefd896fAa52057798f6426E9f0B080FCCcE",
"storageGasOracle": "0xC9B8ea6230d6687a4b13fD3C0b8f0Ec607B26465",
"technicalStack": "other",
"testRecipient": "0x12582c7B0f43c6A667CBaA7fA8b112F7fb1E69F0",
"validatorAnnounce": "0x48083C69f5a42c6B69ABbAd48AE195BD36770ee2"
},
"moonbeam": {
"aggregationHook": "0x23cca255aE83F57F39EAf9D14fB9FdaDF22D5863",
"blockExplorers": [
Expand Down
24 changes: 15 additions & 9 deletions typescript/infra/config/environments/mainnet3/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,18 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig = {
[Chains.arbitrum]: true,
[Chains.ancient8]: true,
[Chains.avalanche]: true,
[Chains.base]: true,
[Chains.blast]: true,
[Chains.bsc]: true,
[Chains.celo]: true,
[Chains.ethereum]: true,
[Chains.neutron]: true,
[Chains.mantapacific]: true,
[Chains.mode]: true,
[Chains.moonbeam]: true,
[Chains.optimism]: true,
[Chains.polygon]: true,
[Chains.gnosis]: true,
[Chains.base]: true,
[Chains.scroll]: true,
[Chains.polygonzkevm]: true,
[Chains.injective]: true,
Expand All @@ -69,17 +71,19 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig = {
[Chains.arbitrum]: true,
[Chains.ancient8]: true,
[Chains.avalanche]: true,
[Chains.base]: true,
[Chains.blast]: true,
[Chains.bsc]: true,
[Chains.celo]: true,
[Chains.ethereum]: true,
// At the moment, we only relay between Neutron and Manta Pacific on the neutron context.
[Chains.neutron]: false,
[Chains.mantapacific]: false,
[Chains.mode]: true,
[Chains.moonbeam]: true,
[Chains.optimism]: true,
[Chains.polygon]: true,
[Chains.gnosis]: true,
[Chains.base]: true,
[Chains.scroll]: true,
[Chains.polygonzkevm]: true,
[Chains.injective]: true,
Expand All @@ -90,17 +94,19 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig = {
[Chains.arbitrum]: true,
[Chains.ancient8]: true,
[Chains.avalanche]: true,
[Chains.base]: true,
[Chains.blast]: true,
[Chains.bsc]: true,
[Chains.celo]: true,
[Chains.ethereum]: true,
// Cannot scrape non-EVM chains
[Chains.neutron]: false,
[Chains.mantapacific]: true,
[Chains.mode]: true,
[Chains.moonbeam]: true,
[Chains.optimism]: true,
[Chains.polygon]: true,
[Chains.gnosis]: true,
[Chains.base]: true,
[Chains.scroll]: true,
[Chains.polygonzkevm]: true,
// Cannot scrape non-EVM chains
Expand Down Expand Up @@ -198,15 +204,15 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '2a16200-20240408-214947',
tag: 'a2d6af6-20240422-164135',
},
gasPaymentEnforcement: gasPaymentEnforcement,
metricAppContexts,
},
validators: {
docker: {
repo,
tag: '2a16200-20240408-214947',
tag: 'a2d6af6-20240422-164135',
},
rpcConsensusType: RpcConsensusType.Quorum,
chains: validatorChainConfig(Contexts.Hyperlane),
Expand All @@ -215,7 +221,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '2a16200-20240408-214947',
tag: 'a2d6af6-20240422-164135',
},
},
};
Expand All @@ -229,7 +235,7 @@ const releaseCandidate: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '2a16200-20240408-214947',
tag: 'a2d6af6-20240422-164135',
},
// We're temporarily (ab)using the RC relayer as a way to increase
// message throughput.
Expand All @@ -240,7 +246,7 @@ const releaseCandidate: RootAgentConfig = {
validators: {
docker: {
repo,
tag: '2a16200-20240408-214947',
tag: 'a2d6af6-20240422-164135',
},
rpcConsensusType: RpcConsensusType.Quorum,
chains: validatorChainConfig(Contexts.ReleaseCandidate),
Expand All @@ -264,7 +270,7 @@ const neutron: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '2a16200-20240408-214947',
tag: 'a2d6af6-20240422-164135',
},
gasPaymentEnforcement: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"0xb144bb2f599a5af095bc30367856f27ea8a8adc7"
]
},
"blast": {
"validators": ["0xf20c0b09f597597c8d2430d3d72dfddaf09177d1"]
},
"bsc": {
"validators": [
"0x570af9b7b36568c8877eebba6c6727aa9dab7268",
Expand Down Expand Up @@ -68,6 +71,9 @@
"0x5dda0c4cf18de3b3ab637f8df82b24921082b54c"
]
},
"mode": {
"validators": ["0x7eb2e1920a4166c19d6884c1cec3d2cf356fc9b7"]
},
"moonbeam": {
"validators": [
"0x2225e2f4e9221049456da93b71d2de41f3b6b2a8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"0xed7703e06572768bb09e03d88e6b788d8800b9fb"
]
},
"blast": {
"validators": ["0x5b32f226e472da6ca19abfe1a29d5d28102a2d1a"]
},
"bsc": {
"validators": [
"0x911dfcc19dd5b723e84be452f6af52adef020bc8",
Expand Down Expand Up @@ -65,6 +68,9 @@
"0x4cfccfd66dbb702b643b56f6986a928ed1b50c7e"
]
},
"mode": {
"validators": ["0x2f04ed30b1c27ef8e9e6acd360728d9bd5c3a9e2"]
},
"moonbeam": {
"validators": [
"0x75e3cd4e909089ae6c9f3a42b1468b33eec84161",
Expand Down
Loading

0 comments on commit d6f25ed

Please sign in to comment.