Skip to content

Commit

Permalink
feat: deploy to flametestnet, sonicblaze (#5190)
Browse files Browse the repository at this point in the history
### Description

feat: deploy to flametestnet, sonicblaze

### Drive-by changes

- re-enable hyperliquidevmtestnet for validator only while we test out
RPCs
- disable+remove sonictestnet as it has been taken down and replaced by
sonicblaze

### 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
  • Loading branch information
paulbalaji authored Jan 19, 2025
1 parent fed42c3 commit 49856fb
Show file tree
Hide file tree
Showing 17 changed files with 653 additions and 203 deletions.
5 changes: 5 additions & 0 deletions .changeset/weak-dingos-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/sdk': minor
---

Deploy to flametestnet, sonicblaze. Remove support for sonictestnet.
2 changes: 1 addition & 1 deletion .registryrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
89bbb568c97e3225c7dccbfa51cfd87863ddbe82
0797d4ddc91b48b62b1b7c9b64a638ad03c71212
258 changes: 166 additions & 92 deletions rust/main/config/testnet_config.json

Large diffs are not rendered by default.

35 changes: 0 additions & 35 deletions rust/sealevel/environments/testnet4/chain-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -950,41 +950,6 @@
}
]
},
"sonictestnet": {
"blockExplorers": [
{
"apiUrl": "https://testnet.soniclabs.com/api",
"family": "routescan",
"name": "Sonic Testnet Explorer",
"url": "https://testnet.soniclabs.com"
}
],
"blocks": {
"confirmations": 1,
"estimateBlockTime": 1,
"reorgPeriod": 1
},
"chainId": 64165,
"deployer": {
"name": "Abacus Works",
"url": "https://www.hyperlane.xyz"
},
"displayName": "Sonic Testnet",
"domainId": 64165,
"isTestnet": true,
"name": "sonictestnet",
"nativeToken": {
"decimals": 18,
"name": "Sonic",
"symbol": "S"
},
"protocol": "ethereum",
"rpcUrls": [
{
"http": "https://rpc.testnet.soniclabs.com"
}
]
},
"suavetoliman": {
"blockExplorers": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,6 @@
"0x83d4ef35f170ec822a0eaadb22a0c40003d8de23"
]
},
"sonictestnet": {
"type": "messageIdMultisigIsm",
"threshold": 1,
"validators": [
"0x62e6591d00daec3fb658c3d19403828b4e9ddbb3"
]
},
"suavetoliman": {
"type": "messageIdMultisigIsm",
"threshold": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,6 @@
"0x2e2101020ccdbe76aeda1c27823b0150f43d0c63"
]
},
"sonictestnet": {
"type": "messageIdMultisigIsm",
"threshold": 1,
"validators": [
"0x62e6591d00daec3fb658c3d19403828b4e9ddbb3"
]
},
"suavetoliman": {
"type": "messageIdMultisigIsm",
"threshold": 1,
Expand Down
21 changes: 12 additions & 9 deletions typescript/infra/config/environments/testnet4/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
connextsepolia: true,
ecotestnet: true,
eclipsetestnet: false,
flametestnet: true,
formtestnet: true,
fuji: true,
holesky: true,
// hyperliquidevmtestnet: false,
hyperliquidevmtestnet: true,
inksepolia: true,
odysseytestnet: true,
optimismsepolia: true,
Expand All @@ -68,8 +69,8 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
sepolia: true,
solanatestnet: true,
soneiumtestnet: true,
sonicblaze: true,
sonicsvmtestnet: true,
sonictestnet: true,
suavetoliman: true,
superpositiontestnet: true,
treasuretopaz: true,
Expand All @@ -89,10 +90,11 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
connextsepolia: true,
ecotestnet: true,
eclipsetestnet: false,
flametestnet: true,
formtestnet: true,
fuji: true,
holesky: true,
// hyperliquidevmtestnet: false,
hyperliquidevmtestnet: false,
inksepolia: true,
odysseytestnet: true,
optimismsepolia: true,
Expand All @@ -103,8 +105,8 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
sepolia: true,
solanatestnet: true,
soneiumtestnet: true,
sonicblaze: true,
sonicsvmtestnet: true,
sonictestnet: true,
suavetoliman: true,
superpositiontestnet: true,
treasuretopaz: true,
Expand All @@ -124,10 +126,11 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
connextsepolia: false,
ecotestnet: true,
eclipsetestnet: false,
flametestnet: true,
formtestnet: true,
fuji: true,
holesky: true,
// hyperliquidevmtestnet: false,
hyperliquidevmtestnet: false,
inksepolia: true,
odysseytestnet: true,
optimismsepolia: true,
Expand All @@ -138,8 +141,8 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
sepolia: true,
solanatestnet: false,
soneiumtestnet: true,
sonicblaze: true,
sonicsvmtestnet: false,
sonictestnet: true,
suavetoliman: true,
superpositiontestnet: false,
treasuretopaz: true,
Expand Down Expand Up @@ -222,7 +225,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: 'bd00efa-20241231-191107',
tag: '7339a35-20250117-144312',
},
blacklist: [...releaseCandidateHelloworldMatchingList, ...relayBlacklist],
gasPaymentEnforcement,
Expand All @@ -244,7 +247,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: 'bd00efa-20241231-191107',
tag: '7339a35-20250117-144312',
},
chains: validatorChainConfig(Contexts.Hyperlane),
resources: validatorResources,
Expand All @@ -253,7 +256,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: 'd84d8da-20241217-172447',
tag: '7339a35-20250117-144312',
},
resources: scraperResources,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
"ecotestnet": {
"validators": ["0xb3191420d463c2af8bd9b4a395e100ec5c05915a"]
},
"flametestnet": {
"validators": ["0x0272625243bf2377f87538031fed54e21853cc2d"]
},
"formtestnet": {
"validators": ["0x72ad7fddf16d17ff902d788441151982fa31a7bc"]
},
Expand All @@ -56,6 +59,9 @@
"holesky": {
"validators": ["0x7ab28ad88bb45867137ea823af88e2cb02359c03"]
},
"hyperliquidevmtestnet": {
"validators": ["0xea673a92a23ca319b9d85cc16b248645cd5158da"]
},
"inksepolia": {
"validators": ["0xe61c846aee275070207fcbf43674eb254f06097a"]
},
Expand Down Expand Up @@ -88,12 +94,12 @@
"soneiumtestnet": {
"validators": ["0x2e2101020ccdbe76aeda1c27823b0150f43d0c63"]
},
"sonicblaze": {
"validators": ["0xe5b98110d0688691ea280edea9a4faa1e3617ba1"]
},
"sonicsvmtestnet": {
"validators": ["0x83d4ef35f170ec822a0eaadb22a0c40003d8de23"]
},
"sonictestnet": {
"validators": ["0x62e6591d00daec3fb658c3d19403828b4e9ddbb3"]
},
"suavetoliman": {
"validators": ["0xf58f6e30aabba34e8dd7f79b3168507192e2cc9b"]
},
Expand Down
140 changes: 140 additions & 0 deletions typescript/infra/config/environments/testnet4/core/verification.json
Original file line number Diff line number Diff line change
Expand Up @@ -2246,5 +2246,145 @@
"constructorArguments": "00000000000000000000000028f448885beaaf662f8a9a6c9af20fad17a5a1dc",
"isProxy": false
}
],
"flametestnet": [
{
"name": "ProxyAdmin",
"address": "0x6966b0E55883d49BFB24539356a2f8A673E02039",
"constructorArguments": "",
"isProxy": false
},
{
"name": "Mailbox",
"address": "0x54148470292C24345fb828B003461a9444414517",
"constructorArguments": "0000000000000000000000000000000000000000000000000000000062f8d1ad",
"isProxy": false
},
{
"name": "TransparentUpgradeableProxy",
"address": "0x589C201a07c26b4725A4A829d772f24423da480B",
"constructorArguments": "00000000000000000000000054148470292c24345fb828b003461a94444145170000000000000000000000006966b0e55883d49bfb24539356a2f8a673e0203900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000",
"isProxy": true,
"expectedimplementation": "0x54148470292C24345fb828B003461a9444414517"
},
{
"name": "MerkleTreeHook",
"address": "0x843908541D24d9F6Fa30C8Bb1c39038C947D08fC",
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b",
"isProxy": false
},
{
"name": "FallbackRoutingHook",
"address": "0xCB3c489a2FB67a7Cd555D47B3a9A0E654784eD16",
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c000000000000000000000000843908541d24d9f6fa30c8bb1c39038c947d08fc",
"isProxy": false
},
{
"name": "PausableHook",
"address": "0xBdf49bE2201A1c4B13023F0a407196C6Adb32680",
"constructorArguments": "",
"isProxy": false
},
{
"name": "StorageGasOracle",
"address": "0x0e91088824Fa6E2675b2a53DA3491a9B098bD868",
"constructorArguments": "",
"isProxy": false
},
{
"name": "InterchainGasPaymaster",
"address": "0x3ca332A585FDB9d4FF51f2FA8999eA32184D3606",
"constructorArguments": "",
"isProxy": false
},
{
"name": "TransparentUpgradeableProxy",
"address": "0x39c85C84876479694A2470c0E8075e9d68049aFc",
"constructorArguments": "0000000000000000000000003ca332a585fdb9d4ff51f2fa8999ea32184d36060000000000000000000000006966b0e55883d49bfb24539356a2f8a673e0203900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044485cc955000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c00000000000000000000000000000000000000000000000000000000",
"isProxy": true,
"expectedimplementation": "0x3ca332A585FDB9d4FF51f2FA8999eA32184D3606"
},
{
"name": "ProtocolFee",
"address": "0x4Ece7b15ba5dCA2708dCE2812016683193102b9F",
"constructorArguments": "000000000000000000000000000000000000000000000000000000003b9aca000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c",
"isProxy": false
},
{
"name": "ValidatorAnnounce",
"address": "0xB589407cf6bEA5CD81AD0946b9F1467933ede74c",
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b",
"isProxy": false
}
],
"sonicblaze": [
{
"name": "ProxyAdmin",
"address": "0x6966b0E55883d49BFB24539356a2f8A673E02039",
"constructorArguments": "",
"isProxy": false
},
{
"name": "Mailbox",
"address": "0x54148470292C24345fb828B003461a9444414517",
"constructorArguments": "000000000000000000000000000000000000000000000000000000000000dede",
"isProxy": false
},
{
"name": "TransparentUpgradeableProxy",
"address": "0x589C201a07c26b4725A4A829d772f24423da480B",
"constructorArguments": "00000000000000000000000054148470292c24345fb828b003461a94444145170000000000000000000000006966b0e55883d49bfb24539356a2f8a673e0203900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000",
"isProxy": true,
"expectedimplementation": "0x54148470292C24345fb828B003461a9444414517"
},
{
"name": "MerkleTreeHook",
"address": "0x843908541D24d9F6Fa30C8Bb1c39038C947D08fC",
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b",
"isProxy": false
},
{
"name": "FallbackRoutingHook",
"address": "0xCB3c489a2FB67a7Cd555D47B3a9A0E654784eD16",
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c000000000000000000000000843908541d24d9f6fa30c8bb1c39038c947d08fc",
"isProxy": false
},
{
"name": "PausableHook",
"address": "0xBdf49bE2201A1c4B13023F0a407196C6Adb32680",
"constructorArguments": "",
"isProxy": false
},
{
"name": "StorageGasOracle",
"address": "0x0e91088824Fa6E2675b2a53DA3491a9B098bD868",
"constructorArguments": "",
"isProxy": false
},
{
"name": "InterchainGasPaymaster",
"address": "0x3ca332A585FDB9d4FF51f2FA8999eA32184D3606",
"constructorArguments": "",
"isProxy": false
},
{
"name": "TransparentUpgradeableProxy",
"address": "0x39c85C84876479694A2470c0E8075e9d68049aFc",
"constructorArguments": "0000000000000000000000003ca332a585fdb9d4ff51f2fa8999ea32184d36060000000000000000000000006966b0e55883d49bfb24539356a2f8a673e0203900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044485cc955000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c00000000000000000000000000000000000000000000000000000000",
"isProxy": true,
"expectedimplementation": "0x3ca332A585FDB9d4FF51f2FA8999eA32184D3606"
},
{
"name": "ProtocolFee",
"address": "0x4Ece7b15ba5dCA2708dCE2812016683193102b9F",
"constructorArguments": "000000000000000000000000000000000000000000000000000000003b9aca000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c",
"isProxy": false
},
{
"name": "ValidatorAnnounce",
"address": "0xB589407cf6bEA5CD81AD0946b9F1467933ede74c",
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b",
"isProxy": false
}
]
}
7 changes: 4 additions & 3 deletions typescript/infra/config/environments/testnet4/funding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const keyFunderConfig: KeyFunderConfig<
> = {
docker: {
repo: 'gcr.io/abacus-labs-dev/hyperlane-monorepo',
tag: 'bb4e82b-20241107-190423',
tag: '7339a35-20250117-144300',
},
// We're currently using the same deployer key as testnet2.
// To minimize nonce clobbering we offset the key funder cron
Expand Down Expand Up @@ -40,10 +40,11 @@ export const keyFunderConfig: KeyFunderConfig<
ecotestnet: '0.02',
// no funding for solana
eclipsetestnet: '0',
flametestnet: '0.1',
formtestnet: '0.1',
fuji: '5',
holesky: '5',
// hyperliquidevmtestnet: '0.1',
hyperliquidevmtestnet: '0.1',
inksepolia: '0.1',
odysseytestnet: '0.1',
optimismsepolia: '0.1',
Expand All @@ -55,9 +56,9 @@ export const keyFunderConfig: KeyFunderConfig<
// no funding for SVM chains
solanatestnet: '0',
soneiumtestnet: '0.1',
sonicblaze: '0.1',
// no funding for SVM chains
sonicsvmtestnet: '0',
sonictestnet: '1',
suavetoliman: '0.1',
superpositiontestnet: '1',
treasuretopaz: '5',
Expand Down
Loading

0 comments on commit 49856fb

Please sign in to comment.