Skip to content

Commit

Permalink
feat: initial metadata for oct-25 batch (#333)
Browse files Browse the repository at this point in the history
### Description

feat: initial metadata for oct-25 batch

- add metadata for new chains
- remove any existing deployment addresses for chains that re going to
join the core set
- update tests for sanity checking AW-chain metadata
- remove deployer field from metadata-only chains that are not in
immediate AW plans

### Backward compatibility

yes

### Testing

locally

---------

Signed-off-by: pbio <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: J M Rossy <[email protected]>
  • Loading branch information
3 people authored Oct 28, 2024
1 parent 716c10f commit f4809d9
Show file tree
Hide file tree
Showing 45 changed files with 504 additions and 162 deletions.
5 changes: 5 additions & 0 deletions .changeset/nasty-emus-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/registry': minor
---

Add chain metadata for apechain, gravity, harmony, kaia, morph, snaxchain, zeronetwork, zksync. Update deployer details for chains not being deployed to.
15 changes: 0 additions & 15 deletions chains/addresses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -961,21 +961,6 @@ everclear:
testRecipient: "0xF15D70941dE2Bf95A23d6488eBCbedE0a444137f"
timelockController: "0x0000000000000000000000000000000000000000"
validatorAnnounce: "0xC88bAD76EC7acD9fd3b9Bb264f7f5C18097c5710"
fantom:
domainRoutingIsmFactory: "0x1029b201942a0a7D83D3A04819240d7b29b1b4a8"
interchainAccountIsm: "0x7891E9939e8308e16CDAd37adAE948AeB16ff2F9"
interchainAccountRouter: "0x3A331eD8d3d449aDFD8658045aD227595F682706"
mailbox: "0x8ACc4cf691519208aA146f0f2C8060e24C2C49B9"
merkleTreeHook: "0x8ACc4cf691519208aA146f0f2C8060e24C2C49B9"
proxyAdmin: "0xD52dd92B65B7CE239F746b0A3CE646856182c834"
staticAggregationHookFactory: "0x13e47E2089BEE879C9058DC912d35B503d7602C2"
staticAggregationIsmFactory: "0xe3c6705a27792A03126DAB16bBa75a891744E411"
staticMerkleRootMultisigIsmFactory: "0xB2425f09f4a9bD3E674E09052D09589997f3f5bC"
staticMerkleRootWeightedMultisigIsmFactory: "0x4Ec5Ff8a1a779C012043EFFf30CFeea9d69D8360"
staticMessageIdMultisigIsmFactory: "0x38112c51c7A6dAcde099F78714B91e9869731176"
staticMessageIdWeightedMultisigIsmFactory: "0xabC7A392df9AEff251fEbf390888B19F0897603D"
testRecipient: "0x7D9f4d8Dd04e5370F32924ba0f675C612F21f62F"
validatorAnnounce: "0x0c6Dfa2FABF834d59977043d7101aD1A1a1cc0Ed"
fhenixtestnet:
domainRoutingIsmFactory: "0x373a3af7dF23754256d3994e78E5dF824a31290F"
interchainAccountIsm: "0x7CD70C2D30a9e9e28636F2929f2D222c103B888D"
Expand Down
1 change: 1 addition & 0 deletions chains/apechain/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions chains/apechain/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# yaml-language-server: $schema=../schema.json
blockExplorers:
- apiUrl: https://apechain.calderaexplorer.xyz/api
family: blockscout
name: ApeChain Explorer
url: https://apechain.calderaexplorer.xyz
blocks:
confirmations: 1
estimateBlockTime: 0.2
reorgPeriod: 5
chainId: 33139
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: ApeChain
domainId: 33139
gasCurrencyCoinGeckoId: apecoin
index:
from: 1759561
name: apechain
nativeToken:
decimals: 18
name: ApeCoin
symbol: APE
protocol: ethereum
rpcUrls:
- http: https://rpc.apechain.com/http
technicalStack: arbitrumnitro
2 changes: 1 addition & 1 deletion chains/arbitrumnova/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ displayName: Arbitrum Nova
domainId: 42170
gasCurrencyCoinGeckoId: ethereum
index:
from: 75323174
from: 78794208
name: arbitrumnova
nativeToken:
decimals: 18
Expand Down
3 changes: 2 additions & 1 deletion chains/b3/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ blockExplorers:
blocks:
confirmations: 1
estimateBlockTime: 1
reorgPeriod: 0
reorgPeriod: 5
chainId: 8333
deployer:
name: Abacus Works
Expand All @@ -22,3 +22,4 @@ nativeToken:
protocol: ethereum
rpcUrls:
- http: https://mainnet-rpc.b3.fun
technicalStack: opstack
3 changes: 0 additions & 3 deletions chains/carbon/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ blocks:
estimateBlockTime: 2
reorgPeriod: 0
chainId: 9790
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Carbon
domainId: 9790
gasCurrencyCoinGeckoId: ethereum
Expand Down
3 changes: 0 additions & 3 deletions chains/clique/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ blocks:
estimateBlockTime: 2
reorgPeriod: 0
chainId: 8853
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Clique
domainId: 8853
gasCurrencyCoinGeckoId: ethereum
Expand Down
3 changes: 0 additions & 3 deletions chains/confluxespace/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ blocks:
estimateBlockTime: 2
reorgPeriod: 0
chainId: 1030
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Conflux eSpace
domainId: 1030
gasCurrencyCoinGeckoId: ethereum
Expand Down
3 changes: 0 additions & 3 deletions chains/cronos/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ blocks:
estimateBlockTime: 5
reorgPeriod: 0
chainId: 25
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Cronos Mainnet
domainId: 25
gasCurrencyCoinGeckoId: crypto-com-chain
Expand Down
3 changes: 0 additions & 3 deletions chains/cronoszkevm/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ blocks:
estimateBlockTime: 2
reorgPeriod: 0
chainId: 388
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Cronos zkEVM
domainId: 388
gasCurrencyCoinGeckoId: crypto-com-chain
Expand Down
14 changes: 0 additions & 14 deletions chains/fantom/addresses.yaml

This file was deleted.

11 changes: 8 additions & 3 deletions chains/fantom/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ blockExplorers:
family: etherscan
name: FTMScan
url: https://ftmscan.com
blocks:
confirmations: 1
estimateBlockTime: 2
reorgPeriod: 5
chainId: 250
deployer:
name: Joe
url: https://github.com/joooeoeee
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Fantom Opera
domainId: 250
isTestnet: false
gasCurrencyCoinGeckoId: fantom
name: fantom
nativeToken:
decimals: 18
Expand All @@ -25,3 +29,4 @@ rpcUrls:
- http: https://rpc.fantom.network
- http: https://rpc2.fantom.network
- http: https://rpc3.fantom.network
technicalStack: other
3 changes: 0 additions & 3 deletions chains/filecoin/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ blocks:
estimateBlockTime: 30
reorgPeriod: 0
chainId: 314
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Filecoin
domainId: 314
gasCurrencyCoinGeckoId: filecoin
Expand Down
3 changes: 0 additions & 3 deletions chains/fractalconfluence/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ blocks:
estimateBlockTime: 24
reorgPeriod: 0
chainId: 2152
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Fractal Confluence
domainId: 2152
gasCurrencyCoinGeckoId: findora
Expand Down
3 changes: 0 additions & 3 deletions chains/funki/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ blocks:
estimateBlockTime: 2
reorgPeriod: 0
chainId: 33979
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Funki
domainId: 33979
gasCurrencyCoinGeckoId: ethereum
Expand Down
1 change: 1 addition & 0 deletions chains/gravity/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions chains/gravity/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# yaml-language-server: $schema=../schema.json
blockExplorers:
- apiUrl: https://explorer.gravity.xyz/api
family: blockscout
name: Gravity Alpha Explorer
url: https://explorer.gravity.xyz
blocks:
confirmations: 1
estimateBlockTime: 1
reorgPeriod: 5
chainId: 1625
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Gravity Alpha Mainnet
displayNameShort: Gravity
domainId: 1625
gasCurrencyCoinGeckoId: g-token
index:
from: 13374779
name: gravity
nativeToken:
decimals: 18
name: Gravity
symbol: G
protocol: ethereum
rpcUrls:
- http: https://rpc.gravity.xyz
technicalStack: arbitrumnitro
3 changes: 0 additions & 3 deletions chains/ham/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ blocks:
estimateBlockTime: 1
reorgPeriod: 0
chainId: 5112
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Ham
domainId: 5112
gasCurrencyCoinGeckoId: ethereum
Expand Down
1 change: 1 addition & 0 deletions chains/harmony/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions chains/harmony/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# yaml-language-server: $schema=../schema.json
blockExplorers:
- apiUrl: https://explorer.harmony.one/api
family: blockscout
name: Harmony Explorer
url: https://explorer.harmony.one
blocks:
confirmations: 1
estimateBlockTime: 2
reorgPeriod: 5
chainId: 1666600000
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Harmony One
domainId: 1666600000
gasCurrencyCoinGeckoId: harmony
name: harmony
nativeToken:
decimals: 18
name: ONE
symbol: ONE
protocol: ethereum
rpcUrls:
- http: https://api.harmony.one
- http: https://api.s0.t.hmny.io
- http: https://1rpc.io/one
- http: https://rpc.ankr.com/harmony
technicalStack: other
32 changes: 1 addition & 31 deletions chains/harmonytestnet/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions chains/kaia/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions chains/kaia/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# yaml-language-server: $schema=../schema.json
blockExplorers:
- apiUrl: https://api-cypress.klaytnscope.com/api
family: etherscan
name: Kaiascope
url: https://kaiascope.com
blocks:
confirmations: 1
estimateBlockTime: 1
reorgPeriod: 5
chainId: 8217
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Kaia
domainId: 8217
gasCurrencyCoinGeckoId: kaia
name: kaia
nativeToken:
decimals: 18
name: Kaia
symbol: KLAY
protocol: ethereum
rpcUrls:
- http: https://public-en.node.kaia.io
technicalStack: other
3 changes: 0 additions & 3 deletions chains/kava/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ blocks:
estimateBlockTime: 6
reorgPeriod: 0
chainId: 2222
deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Kava
domainId: 2222
gasCurrencyCoinGeckoId: kava
Expand Down
Loading

0 comments on commit f4809d9

Please sign in to comment.