Skip to content

Commit

Permalink
feat: deploy to subtensortestnet (#5368)
Browse files Browse the repository at this point in the history
### Description

feat: deploy to subtensortestnet

### Drive-by changes

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

### Related issues

hyperlane-xyz/hyperlane-registry#552

### 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 Feb 7, 2025
1 parent e7be30f commit b92eb1b
Show file tree
Hide file tree
Showing 12 changed files with 387 additions and 162 deletions.
5 changes: 5 additions & 0 deletions .changeset/empty-zoos-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/sdk': minor
---

Deploy to subtensortestnet.
2 changes: 1 addition & 1 deletion .registryrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
78895565b7f4a57e94d1b6a8f069d670f8ed98c7
657c7fabdbd7858adc843c30ba5c25fad83e408f
231 changes: 116 additions & 115 deletions rust/main/config/mainnet_config.json

Large diffs are not rendered by default.

114 changes: 87 additions & 27 deletions rust/main/config/testnet_config.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions typescript/infra/config/environments/testnet4/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
sonicblaze: true,
sonicsvmtestnet: true,
suavetoliman: true,
// subtensortestnet: true,
subtensortestnet: true,
superpositiontestnet: true,
treasuretopaz: true,
unichaintestnet: true,
Expand Down Expand Up @@ -111,7 +111,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
sonicblaze: true,
sonicsvmtestnet: true,
suavetoliman: true,
// subtensortestnet: true,
subtensortestnet: true,
superpositiontestnet: true,
treasuretopaz: true,
unichaintestnet: true,
Expand Down Expand Up @@ -149,7 +149,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
sonicblaze: true,
sonicsvmtestnet: false,
suavetoliman: true,
// subtensortestnet: true,
subtensortestnet: true,
superpositiontestnet: false,
treasuretopaz: true,
unichaintestnet: true,
Expand Down Expand Up @@ -231,7 +231,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '8781543-20250204-143039',
tag: 'b4b4bf5-20250207-143954',
},
blacklist: [...releaseCandidateHelloworldMatchingList, ...relayBlacklist],
gasPaymentEnforcement,
Expand All @@ -253,7 +253,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '8781543-20250204-143039',
tag: 'b4b4bf5-20250207-143954',
},
chains: validatorChainConfig(Contexts.Hyperlane),
resources: validatorResources,
Expand All @@ -262,7 +262,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '8781543-20250204-143039',
tag: 'b4b4bf5-20250207-143954',
},
resources: scraperResources,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@
"suavetoliman": {
"validators": ["0xf58f6e30aabba34e8dd7f79b3168507192e2cc9b"]
},
"subtensortestnet": {
"validators": ["0xbe2cd57e9fd46b12107cfec7a2db61aa23edbe33"]
},
"superpositiontestnet": {
"validators": ["0x1d3168504b23b73cdf9c27f13bb0a595d7f1a96a"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2456,5 +2456,69 @@
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b",
"isProxy": false
}
],
"subtensortestnet": [
{
"name": "Mailbox",
"address": "0x54148470292C24345fb828B003461a9444414517",
"constructorArguments": "00000000000000000000000000000000000000000000000000000000000003b1",
"isProxy": false
},
{
"name": "TransparentUpgradeableProxy",
"address": "0x589C201a07c26b4725A4A829d772f24423da480B",
"constructorArguments": "00000000000000000000000054148470292c24345fb828b003461a9444414517000000000000000000000000c2e36cd6e32e194ee11f15d9273b64461a4d49a200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000",
"isProxy": true,
"expectedimplementation": "0x54148470292C24345fb828B003461a9444414517"
},
{
"name": "MerkleTreeHook",
"address": "0x342B5630Ba1C1e4d3048E51Dad208201aF52692c",
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b",
"isProxy": false
},
{
"name": "FallbackRoutingHook",
"address": "0x39c85C84876479694A2470c0E8075e9d68049aFc",
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c000000000000000000000000342b5630ba1c1e4d3048e51dad208201af52692c",
"isProxy": false
},
{
"name": "PausableHook",
"address": "0x4eC139a771eBdD3b0a0b67bb7E08960210882d44",
"constructorArguments": "",
"isProxy": false
},
{
"name": "StorageGasOracle",
"address": "0xe036768e48Cb0D42811d2bF0748806FCcBfCd670",
"constructorArguments": "",
"isProxy": false
},
{
"name": "InterchainGasPaymaster",
"address": "0x4Ece7b15ba5dCA2708dCE2812016683193102b9F",
"constructorArguments": "",
"isProxy": false
},
{
"name": "TransparentUpgradeableProxy",
"address": "0xB589407cf6bEA5CD81AD0946b9F1467933ede74c",
"constructorArguments": "0000000000000000000000004ece7b15ba5dca2708dce2812016683193102b9f000000000000000000000000c2e36cd6e32e194ee11f15d9273b64461a4d49a200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044485cc955000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c00000000000000000000000000000000000000000000000000000000",
"isProxy": true,
"expectedimplementation": "0x4Ece7b15ba5dCA2708dCE2812016683193102b9F"
},
{
"name": "ProtocolFee",
"address": "0x2bD9aF503B9F608beAD63D4ACC328Abf9796b576",
"constructorArguments": "000000000000000000000000000000000000000000000000000000003b9aca000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c",
"isProxy": false
},
{
"name": "ValidatorAnnounce",
"address": "0x8584590ad637C61C7cDF72eFF3381Ee1c3D1bC8E",
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b",
"isProxy": false
}
]
}
4 changes: 2 additions & 2 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: '8781543-20250204-143029',
tag: 'b4b4bf5-20250207-143914',
},
// We're currently using the same deployer key as testnet2.
// To minimize nonce clobbering we offset the key funder cron
Expand Down Expand Up @@ -61,7 +61,7 @@ export const keyFunderConfig: KeyFunderConfig<
// no funding for SVM chains
sonicsvmtestnet: '0',
suavetoliman: '0.1',
// subtensortestnet: '0.01',
subtensortestnet: '0.1',
superpositiontestnet: '1',
treasuretopaz: '5',
unichaintestnet: '0.1',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2878,5 +2878,55 @@
"constructorArguments": "",
"isProxy": true
}
],
"subtensortestnet": [
{
"name": "StaticMerkleRootMultisigIsm",
"address": "0x209e7F9d40954E230008B9bb076a0901d32695e5",
"constructorArguments": "",
"isProxy": true
},
{
"name": "StaticMessageIdMultisigIsm",
"address": "0x99B304925A08aba9305bC0A8FccBf71B4290c5EF",
"constructorArguments": "",
"isProxy": true
},
{
"name": "StaticAggregationIsm",
"address": "0x33999AB153F68D481AAB1B238368Ffd1Fe81F360",
"constructorArguments": "",
"isProxy": true
},
{
"name": "StaticAggregationHook",
"address": "0x3e6F45B03314bD21BcE4201666d483291575E391",
"constructorArguments": "",
"isProxy": true
},
{
"name": "DomaingRoutingIsm",
"address": "0x87935eB971eaA9826060261b07a919451dfd0409",
"constructorArguments": "",
"isProxy": true
},
{
"name": "StaticMerkleRootWeightedMultisigIsm",
"address": "0xE5cA56294dA5Bd490D5Bc489B177B002ad16AF83",
"constructorArguments": "",
"isProxy": true
},
{
"name": "StaticMessageIdWeightedMultisigIsmFactory",
"address": "0x6966b0E55883d49BFB24539356a2f8A673E02039",
"constructorArguments": "",
"isProxy": false
},
{
"name": "StaticMessageIdWeightedMultisigIsm",
"address": "0x4863236F3a05A1A1F0850fF8cd09afeBAE82d953",
"constructorArguments": "",
"isProxy": true
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -617,5 +617,47 @@
"isProxy": true,
"expectedimplementation": "0x638A831b4d11Be6a72AcB97d1aE79DA05Ae9B1D3"
}
],
"chronicleyellowstone": [
{
"name": "InterchainAccountIsm",
"address": "0xc0Ce04851bF6Ea149fA06bf7a4808c9db81af189",
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b",
"isProxy": false
},
{
"name": "InterchainAccountRouter",
"address": "0x740bEd6E4eEc7c57a2818177Fba3f9E896D5DE1c",
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b",
"isProxy": false
},
{
"name": "TransparentUpgradeableProxy",
"address": "0xB261C52241E133f957630AeeFEd48a82963AC33e",
"constructorArguments": "000000000000000000000000740bed6e4eec7c57a2818177fba3f9e896d5de1c0000000000000000000000006966b0e55883d49bfb24539356a2f8a673e0203900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000064c0c53b8b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0ce04851bf6ea149fa06bf7a4808c9db81af189000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c00000000000000000000000000000000000000000000000000000000",
"isProxy": true,
"expectedimplementation": "0x740bEd6E4eEc7c57a2818177Fba3f9E896D5DE1c"
}
],
"subtensortestnet": [
{
"name": "InterchainAccountIsm",
"address": "0x48a53E3B176383BC98fcF4a24c9D470c19475164",
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b",
"isProxy": false
},
{
"name": "InterchainAccountRouter",
"address": "0x1E98EA1EABA7137b6eC0B42400701b8539Ef2945",
"constructorArguments": "000000000000000000000000589c201a07c26b4725a4a829d772f24423da480b",
"isProxy": false
},
{
"name": "TransparentUpgradeableProxy",
"address": "0xD9dc83Ea22C6F1A224e51562B32b580695905A1A",
"constructorArguments": "0000000000000000000000001e98ea1eaba7137b6ec0b42400701b8539ef2945000000000000000000000000c2e36cd6e32e194ee11f15d9273b64461a4d49a200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000064c0c53b8b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000048a53e3b176383bc98fcf4a24c9d470c19475164000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c00000000000000000000000000000000000000000000000000000000",
"isProxy": true,
"expectedimplementation": "0x1E98EA1EABA7137b6eC0B42400701b8539Ef2945"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const testnet4SupportedChainNames = [
'sonicblaze',
'sonicsvmtestnet',
'suavetoliman',
// 'subtensortestnet',
'subtensortestnet',
'superpositiontestnet',
'treasuretopaz',
'unichaintestnet',
Expand Down
20 changes: 10 additions & 10 deletions typescript/infra/config/environments/testnet4/validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,16 +431,16 @@ export const validatorChainConfig = (
),
},

// subtensortestnet: {
// interval: 5,
// reorgPeriod: getReorgPeriod('subtensortestnet'),
// validators: validatorsConfig(
// {
// [Contexts.Hyperlane]: ['0xbe2cd57e9fd46b12107cfec7a2db61aa23edbe33'],
// },
// 'subtensortestnet',
// ),
// },
subtensortestnet: {
interval: 5,
reorgPeriod: getReorgPeriod('subtensortestnet'),
validators: validatorsConfig(
{
[Contexts.Hyperlane]: ['0xbe2cd57e9fd46b12107cfec7a2db61aa23edbe33'],
},
'subtensortestnet',
),
},
chronicleyellowstone: {
interval: 5,
reorgPeriod: getReorgPeriod('chronicleyellowstone'),
Expand Down

0 comments on commit b92eb1b

Please sign in to comment.