Skip to content

Commit

Permalink
feat: deploy to abstracttestnet, treasuretopaz (#4839)
Browse files Browse the repository at this point in the history
### Description

- deploy to abstracttestnet, treasuretopaz
	- standard deployments from this branch
- zksync deployments themselves done from
#4761

### Drive-by changes

- testnet igp
- fix validator announce script, should only be skipping `lumia`

### 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 Nov 7, 2024
1 parent ba01222 commit 40d59a2
Show file tree
Hide file tree
Showing 14 changed files with 343 additions and 43 deletions.
5 changes: 5 additions & 0 deletions .changeset/happy-suits-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/sdk': minor
---

Deploy to abstracttestnet and treasuretopaz
2 changes: 1 addition & 1 deletion .registryrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a797d721ecfb7bf3b6f31fb6eaf2b9001cadc3db
d71eb5f42616998f77ce01079fd06a8e118966f7
165 changes: 140 additions & 25 deletions rust/main/config/testnet_config.json

Large diffs are not rendered by default.

12 changes: 9 additions & 3 deletions typescript/infra/config/environments/testnet4/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
typeof testnet4SupportedChainNames
> = {
[Role.Validator]: {
abstracttestnet: true,
alephzeroevmtestnet: true,
alfajores: true,
arbitrumsepolia: true,
Expand Down Expand Up @@ -70,9 +71,11 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
sonictestnet: true,
suavetoliman: true,
superpositiontestnet: true,
treasuretopaz: true,
unichaintestnet: true,
},
[Role.Relayer]: {
abstracttestnet: true,
alephzeroevmtestnet: true,
alfajores: true,
arbitrumsepolia: true,
Expand Down Expand Up @@ -102,9 +105,11 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
sonictestnet: true,
suavetoliman: true,
superpositiontestnet: true,
treasuretopaz: true,
unichaintestnet: true,
},
[Role.Scraper]: {
abstracttestnet: true,
alephzeroevmtestnet: true,
alfajores: true,
arbitrumsepolia: true,
Expand Down Expand Up @@ -136,6 +141,7 @@ export const hyperlaneContextAgentChainConfig: AgentChainConfig<
sonictestnet: true,
suavetoliman: true,
superpositiontestnet: false,
treasuretopaz: true,
unichaintestnet: true,
},
};
Expand Down Expand Up @@ -215,7 +221,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: 'b8add3c-20241106-190246',
tag: 'bb4e82b-20241107-190434',
},
blacklist: [...releaseCandidateHelloworldMatchingList, ...relayBlacklist],
gasPaymentEnforcement,
Expand All @@ -237,7 +243,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: 'b8add3c-20241106-190246',
tag: 'bb4e82b-20241107-190434',
},
chains: validatorChainConfig(Contexts.Hyperlane),
resources: validatorResources,
Expand All @@ -246,7 +252,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: 'b8add3c-20241106-190246',
tag: 'bb4e82b-20241107-190434',
},
resources: scraperResources,
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"abstracttestnet": {
"validators": ["0x7655bc4c9802bfcb3132b8822155b60a4fbbce3e"]
},
"alephzeroevmtestnet": {
"validators": ["0x556cd94bcb6e5773e8df75e7eb3f91909d266a26"]
},
Expand Down Expand Up @@ -91,6 +94,9 @@
"superpositiontestnet": {
"validators": ["0x1d3168504b23b73cdf9c27f13bb0a595d7f1a96a"]
},
"treasuretopaz": {
"validators": ["0x9750849beda0a7870462d4685f953fe39033a5ae"]
},
"unichaintestnet": {
"validators": ["0x5e99961cf71918308c3b17ef21b5f515a4f86fe5"]
}
Expand Down
116 changes: 116 additions & 0 deletions typescript/infra/config/environments/testnet4/core/verification.json
Original file line number Diff line number Diff line change
Expand Up @@ -2130,5 +2130,121 @@
"constructorArguments": "000000000000000000000000ddcfecf17586d08a5740b7d91735fcce3dfe3eed",
"isProxy": false
}
],
"treasuretopaz": [
{
"name": "ProxyAdmin",
"address": "0xfbA0c57A6BA24B5440D3e2089222099b4663B98B",
"constructorArguments": "",
"isProxy": false
},
{
"name": "Mailbox",
"address": "0x5f33Bf018C55CD3034ac06e6DA41162F5acc2fF7",
"constructorArguments": "00000000000000000000000000000000000000000000000000000000000eeee2",
"isProxy": false
},
{
"name": "TransparentUpgradeableProxy",
"address": "0x28f448885bEaaF662f8A9A6c9aF20fAd17A5a1DC",
"constructorArguments": "0000000000000000000000005f33bf018c55cd3034ac06e6da41162f5acc2ff7000000000000000000000000fba0c57a6ba24b5440d3e2089222099b4663b98b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000",
"isProxy": true,
"expectedimplementation": "0x5f33Bf018C55CD3034ac06e6DA41162F5acc2fF7"
},
{
"name": "MerkleTreeHook",
"address": "0x7fa6009b59F139813eA710dB5496976eE8D80E64",
"constructorArguments": "00000000000000000000000028f448885beaaf662f8a9a6c9af20fad17a5a1dc",
"isProxy": false
},
{
"name": "FallbackDomainRoutingHook",
"address": "0x623f284257f133E8bE7c74f6D4D684B61FE8923a",
"constructorArguments": "00000000000000000000000028f448885beaaf662f8a9a6c9af20fad17a5a1dc000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c0000000000000000000000007fa6009b59f139813ea710db5496976ee8d80e64",
"isProxy": false
},
{
"name": "StorageGasOracle",
"address": "0x5F1bADC7e28B9b4C98f58dB4e5841e5bf63A7A52",
"constructorArguments": "",
"isProxy": false
},
{
"name": "InterchainGasPaymaster",
"address": "0xeBe8D0e2BD026D12Ca5e51edA3B0D2b413e83c9c",
"constructorArguments": "",
"isProxy": false
},
{
"name": "TransparentUpgradeableProxy",
"address": "0xbAaE1B4e953190b05C757F69B2F6C46b9548fa4f",
"constructorArguments": "000000000000000000000000ebe8d0e2bd026d12ca5e51eda3b0d2b413e83c9c000000000000000000000000fba0c57a6ba24b5440d3e2089222099b4663b98b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044485cc955000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c00000000000000000000000000000000000000000000000000000000",
"isProxy": true,
"expectedimplementation": "0xeBe8D0e2BD026D12Ca5e51edA3B0D2b413e83c9c"
},
{
"name": "ValidatorAnnounce",
"address": "0xfE9a467831a28Ec3D54deCCf0A2A41fa77dDD1D7",
"constructorArguments": "00000000000000000000000028f448885beaaf662f8a9a6c9af20fad17a5a1dc",
"isProxy": false
}
],
"abstracttestnet": [
{
"name": "ProxyAdmin",
"address": "0xfbA0c57A6BA24B5440D3e2089222099b4663B98B",
"constructorArguments": "",
"isProxy": false
},
{
"name": "Mailbox",
"address": "0x5f33Bf018C55CD3034ac06e6DA41162F5acc2fF7",
"constructorArguments": "0000000000000000000000000000000000000000000000000000000000002b74",
"isProxy": false
},
{
"name": "TransparentUpgradeableProxy",
"address": "0x28f448885bEaaF662f8A9A6c9aF20fAd17A5a1DC",
"constructorArguments": "0000000000000000000000005f33bf018c55cd3034ac06e6da41162f5acc2ff7000000000000000000000000fba0c57a6ba24b5440d3e2089222099b4663b98b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000",
"isProxy": true,
"expectedimplementation": "0x5f33Bf018C55CD3034ac06e6DA41162F5acc2fF7"
},
{
"name": "MerkleTreeHook",
"address": "0x7fa6009b59F139813eA710dB5496976eE8D80E64",
"constructorArguments": "00000000000000000000000028f448885beaaf662f8a9a6c9af20fad17a5a1dc",
"isProxy": false
},
{
"name": "FallbackDomainRoutingHook",
"address": "0x623f284257f133E8bE7c74f6D4D684B61FE8923a",
"constructorArguments": "00000000000000000000000028f448885beaaf662f8a9a6c9af20fad17a5a1dc000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c0000000000000000000000007fa6009b59f139813ea710db5496976ee8d80e64",
"isProxy": false
},
{
"name": "StorageGasOracle",
"address": "0x5F1bADC7e28B9b4C98f58dB4e5841e5bf63A7A52",
"constructorArguments": "",
"isProxy": false
},
{
"name": "InterchainGasPaymaster",
"address": "0xeBe8D0e2BD026D12Ca5e51edA3B0D2b413e83c9c",
"constructorArguments": "",
"isProxy": false
},
{
"name": "TransparentUpgradeableProxy",
"address": "0xbAaE1B4e953190b05C757F69B2F6C46b9548fa4f",
"constructorArguments": "000000000000000000000000ebe8d0e2bd026d12ca5e51eda3b0d2b413e83c9c000000000000000000000000fba0c57a6ba24b5440d3e2089222099b4663b98b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044485cc955000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c00000000000000000000000000000000000000000000000000000000",
"isProxy": true,
"expectedimplementation": "0xeBe8D0e2BD026D12Ca5e51edA3B0D2b413e83c9c"
},
{
"name": "ValidatorAnnounce",
"address": "0xfE9a467831a28Ec3D54deCCf0A2A41fa77dDD1D7",
"constructorArguments": "00000000000000000000000028f448885beaaf662f8a9a6c9af20fad17a5a1dc",
"isProxy": false
}
]
}
4 changes: 3 additions & 1 deletion 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: 'b8add3c-20241106-190239',
tag: 'bb4e82b-20241107-190423',
},
// We're currently using the same deployer key as testnet2.
// To minimize nonce clobbering we offset the key funder cron
Expand All @@ -26,6 +26,7 @@ export const keyFunderConfig: KeyFunderConfig<
},
// desired balance config
desiredBalancePerChain: {
abstracttestnet: '0.1',
alephzeroevmtestnet: '2',
alfajores: '5',
arbitrumsepolia: '0.1',
Expand Down Expand Up @@ -57,6 +58,7 @@ export const keyFunderConfig: KeyFunderConfig<
sonictestnet: '1',
suavetoliman: '0.1',
superpositiontestnet: '1',
treasuretopaz: '5',
unichaintestnet: '0.1',
},
desiredKathyBalancePerChain: {
Expand Down
30 changes: 19 additions & 11 deletions typescript/infra/config/environments/testnet4/gasPrices.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"abstracttestnet": {
"amount": "0.060764843",
"decimals": 9
},
"alephzeroevmtestnet": {
"amount": "40.0",
"decimals": 9
Expand All @@ -16,11 +20,11 @@
"decimals": 9
},
"basesepolia": {
"amount": "0.001000308",
"amount": "0.00236715",
"decimals": 9
},
"berabartio": {
"amount": "1.550227134",
"amount": "10.832064411",
"decimals": 9
},
"bsctestnet": {
Expand All @@ -32,7 +36,7 @@
"decimals": 9
},
"citreatestnet": {
"amount": "1.5",
"amount": "5.032361163",
"decimals": 9
},
"connextsepolia": {
Expand All @@ -56,7 +60,7 @@
"decimals": 9
},
"holesky": {
"amount": "0.318071759",
"amount": "0.760231049",
"decimals": 9
},
"inksepolia": {
Expand All @@ -68,43 +72,47 @@
"decimals": 9
},
"optimismsepolia": {
"amount": "0.001000253",
"amount": "0.001000256",
"decimals": 9
},
"polygonamoy": {
"amount": "35.0",
"amount": "56.722205902",
"decimals": 9
},
"scrollsepolia": {
"amount": "22.997979926",
"amount": "2.398017347",
"decimals": 9
},
"sepolia": {
"amount": "6.302602541",
"amount": "4.349910601",
"decimals": 9
},
"solanatestnet": {
"amount": "0.001",
"decimals": 9
},
"soneiumtestnet": {
"amount": "0.001000273",
"amount": "0.001000259",
"decimals": 9
},
"sonictestnet": {
"amount": "1.025001",
"decimals": 9
},
"suavetoliman": {
"amount": "1.0",
"amount": "2.0736",
"decimals": 9
},
"superpositiontestnet": {
"amount": "0.01",
"decimals": 9
},
"treasuretopaz": {
"amount": "0.060735501",
"decimals": 9
},
"unichaintestnet": {
"amount": "0.00100027",
"amount": "0.001000264",
"decimals": 9
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Placing them here instead of adjacent chains file to avoid circular dep
export const testnet4SupportedChainNames = [
'abstracttestnet',
'alephzeroevmtestnet',
'alfajores',
'arbitrumsepolia',
Expand Down Expand Up @@ -29,6 +30,7 @@ export const testnet4SupportedChainNames = [
'sonictestnet',
'suavetoliman',
'superpositiontestnet',
'treasuretopaz',
'unichaintestnet',
] as const;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"abstracttestnet": "10",
"alephzeroevmtestnet": "10",
"alfajores": "10",
"arbitrumsepolia": "10",
Expand All @@ -25,5 +26,6 @@
"sonictestnet": "10",
"suavetoliman": "10",
"superpositiontestnet": "10",
"treasuretopaz": "10",
"unichaintestnet": "10"
}
25 changes: 25 additions & 0 deletions typescript/infra/config/environments/testnet4/validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,5 +368,30 @@ export const validatorChainConfig = (
'inksepolia',
),
},

abstracttestnet: {
interval: 5,
reorgPeriod: getReorgPeriod('abstracttestnet'),
validators: validatorsConfig(
{
[Contexts.Hyperlane]: ['0x7655bc4c9802bfcb3132b8822155b60a4fbbce3e'],
[Contexts.ReleaseCandidate]: [],
[Contexts.Neutron]: [],
},
'abstracttestnet',
),
},
treasuretopaz: {
interval: 5,
reorgPeriod: getReorgPeriod('treasuretopaz'),
validators: validatorsConfig(
{
[Contexts.Hyperlane]: ['0x9750849beda0a7870462d4685f953fe39033a5ae'],
[Contexts.ReleaseCandidate]: [],
[Contexts.Neutron]: [],
},
'treasuretopaz',
),
},
};
};
Loading

0 comments on commit 40d59a2

Please sign in to comment.