Skip to content

Commit

Permalink
feat: migrate metadata from sept26 chain deployment (#352)
Browse files Browse the repository at this point in the history
### Description

only merge this AFTER
hyperlane-xyz/hyperlane-explorer#136 is merged

Migrate metadata for sept26 chain deployment batch
- `immutablezkevm` -> `immutablezkevmmainnet`
- `rari` -> `rarichain`
- `rootstock` -> `rootstockmainnet`
- `alephzeroevm` -> `alephzeroevmmainnet`
- `chiliz` -> `chilizmainnet`
- `lumia` -> `lumiaprism`
- `superposition` -> `superpositionmainnet`
- `flow` -> `flowmainnet`
	- unfortunately `flowevm` was burned during deployment
- `metall2` -> `metal`
- `polynomial` -> `polynomialfi`

new domainids all have `10000` prefixed

also updates the gecko ID for lumia

### Backward compatibility

not really, all the deprecated chains have a new name now

### Testing

tbd, manual

---------

Signed-off-by: pbio <[email protected]>
  • Loading branch information
paulbalaji authored Nov 7, 2024
1 parent 4e52093 commit b4a2bb2
Show file tree
Hide file tree
Showing 49 changed files with 610 additions and 174 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-ghosts-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/registry': major
---

Metadata migration for sept26 abacus works chains. Enforce domainId is within uint32 range.
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ deployer:
url: https://www.hyperlane.xyz
displayName: Aleph Zero EVM
displayNameShort: Aleph Zero EVM
domainId: 41455
domainId: 1000041455
gasCurrencyCoinGeckoId: aleph-zero
index:
from: 3421962
name: alephzeroevm
name: alephzeroevmmainnet
nativeToken:
decimals: 18
name: AZERO
Expand Down
1 change: 0 additions & 1 deletion chains/blockworkstestnet/logo.svg

This file was deleted.

25 changes: 0 additions & 25 deletions chains/blockworkstestnet/metadata.yaml

This file was deleted.

File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Chiliz
domainId: 88888
domainId: 1000088888
gasCurrencyCoinGeckoId: chiliz
name: chiliz
name: chilizmainnet
nativeToken:
decimals: 18
name: Chiliz
Expand Down
1 change: 1 addition & 0 deletions chains/deprecatedalephzeroevm/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/deprecatedalephzeroevm/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
blockExplorers:
- apiUrl: https://evm-explorer.alephzero.org/api
family: blockscout
name: Aleph Zero Explorer
url: https://evm-explorer.alephzero.org
blocks:
confirmations: 1
estimateBlockTime: 3
reorgPeriod: 5
chainId: 41455
displayName: DEPRECATED Aleph Zero EVM
displayNameShort: DEPRECATED Aleph Zero EVM
domainId: 41455
gasCurrencyCoinGeckoId: aleph-zero
index:
from: 3421962
name: deprecatedalephzeroevm
nativeToken:
decimals: 18
name: AZERO
symbol: AZERO
protocol: ethereum
rpcUrls:
- http: https://rpc.alephzero.raas.gelato.cloud
- http: https://alephzero.drpc.org
technicalStack: arbitrumnitro
1 change: 1 addition & 0 deletions chains/deprecatedchiliz/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/deprecatedchiliz/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.routescan.io/v2/network/mainnet/evm/88888/etherscan/api
family: routescan
name: Chiliscan
url: https://chiliscan.com
blocks:
confirmations: 1
estimateBlockTime: 3
reorgPeriod: 9
chainId: 88888
displayName: DEPRECATED Chiliz
domainId: 88888
gasCurrencyCoinGeckoId: chiliz
name: deprecatedchiliz
nativeToken:
decimals: 18
name: Chiliz
symbol: CHZ
protocol: ethereum
rpcUrls:
- http: https://rpc.ankr.com/chiliz
- http: https://chiliz.publicnode.com
technicalStack: other
transactionOverrides:
maxPriorityFeePerGas: 1000000000
File renamed without changes
27 changes: 27 additions & 0 deletions chains/deprecatedflow/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# yaml-language-server: $schema=../schema.json
blockExplorers:
- apiUrl: https://evm.flowscan.io/api
family: blockscout
name: EVM on Flow Explorer
url: https://evm.flowscan.io
blocks:
confirmations: 1
estimateBlockTime: 1
reorgPeriod: 25
chainId: 747
displayName: DEPRECATED Flow EVM
domainId: 747
gasCurrencyCoinGeckoId: flow
isTestnet: false
name: deprecatedflow
nativeToken:
decimals: 18
name: Flow
symbol: FLOW
protocol: ethereum
rpcUrls:
- http: https://mainnet.evm.nodes.onflow.org
technicalStack: other
transactionOverrides:
# the minimum accepted gas price for transactions is: 100000000 aka 0.1 gwei
gasPrice: 100000000
File renamed without changes
27 changes: 27 additions & 0 deletions chains/deprecatedimmutablezkevm/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
blockExplorers:
- apiUrl: https://explorer.immutable.com/api/eth-rpc
family: blockscout
name: Immutable Explorer
url: https://explorer.immutable.com
blocks:
confirmations: 1
estimateBlockTime: 2
reorgPeriod: 20
chainId: 13371
displayName: DEPRECATED Immutable zkEVM
domainId: 13371
gasCurrencyCoinGeckoId: immutable-x
name: deprecatedimmutablezkevm
nativeToken:
decimals: 18
name: Immutable
symbol: IMX
protocol: ethereum
rpcUrls:
- http: https://rpc.immutable.com
- http: https://immutable.gateway.tenderly.co
technicalStack: other
# Taken from https://docs.immutable.com/tutorials/zkEVM/deploy-contracts/deploy?deploy-scripts=erc721-deploy#deploy
transactionOverrides:
maxFeePerGas: 100000000000
maxPriorityFeePerGas: 100000000000
File renamed without changes
24 changes: 24 additions & 0 deletions chains/deprecatedmetall2/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# yaml-language-server: $schema=../schema.json
blockExplorers:
- apiUrl: https://explorer.metall2.com/api
family: blockscout
name: Metal L2 Explorer
url: https://explorer.metall2.com
blocks:
confirmations: 1
estimateBlockTime: 2
reorgPeriod: 5
chainId: 1750
displayName: DEPRECATED Metal L2
domainId: 1750
gasCurrencyCoinGeckoId: ethereum
isTestnet: false
name: deprecatedmetall2
nativeToken:
decimals: 18
name: Ether
symbol: ETH
protocol: ethereum
rpcUrls:
- http: https://rpc.metall2.com
technicalStack: opstack
File renamed without changes
22 changes: 22 additions & 0 deletions chains/deprecatedpolynomial/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
blockExplorers:
- apiUrl: https://polynomialscan.io/api
family: routescan
name: Polynomial Explorer
url: https://polynomialscan.io
blocks:
confirmations: 1
estimateBlockTime: 2
reorgPeriod: 5
chainId: 8008
displayName: DEPRECATED Polynomial
domainId: 8008
gasCurrencyCoinGeckoId: ethereum
name: deprecatedpolynomial
nativeToken:
decimals: 18
name: Ethereum
symbol: ETH
protocol: ethereum
rpcUrls:
- http: https://rpc.polynomial.fi
technicalStack: opstack
File renamed without changes
24 changes: 24 additions & 0 deletions chains/deprecatedrari/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
blockExplorers:
- apiUrl: https://mainnet.explorer.rarichain.org/api
family: blockscout
name: Rari Mainnet Explorer
url: https://mainnet.explorer.rarichain.org
blocks:
confirmations: 1
estimateBlockTime: 30
reorgPeriod: 0
chainId: 1380012617
displayName: DEPRECATED RARI Chain
domainId: 1380012617
gasCurrencyCoinGeckoId: ethereum
index:
from: 541753
name: deprecatedrari
nativeToken:
decimals: 18
name: Ethereum
symbol: ETH
protocol: ethereum
rpcUrls:
- http: https://mainnet.rpc.rarichain.org/http
technicalStack: arbitrumnitro
File renamed without changes
29 changes: 29 additions & 0 deletions chains/deprecatedrootstock/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://rootstock.blockscout.com/api
family: blockscout
name: Blockscout
url: https://rootstock.blockscout.com
blocks:
confirmations: 1
estimateBlockTime: 30
reorgPeriod: 4
chainId: 30
displayName: DEPRECATED Rootstock
domainId: 30
gasCurrencyCoinGeckoId: rootstock
name: deprecatedrootstock
nativeToken:
decimals: 18
name: Rootstock Smart Bitcoin
symbol: RBTC
protocol: ethereum
rpcUrls:
# Note: Using Rootstock RPC api here which contains APIKEY in url.
# Recommended way is to get a new APIKEY whoever wants to run Hyperlane on Rootstock.
# RPC API Dashboard: https://dashboard.rpc.rootstock.io
# Developer Documentation: https://dev.rootstock.io
- http: https://rpc.mainnet.rootstock.io/kXhXHf6TnnfW1POvr4UT0YUvujmuju-M
- http: https://public-node.rsk.co
- http: https://mycrypto.rsk.co
technicalStack: other
File renamed without changes
25 changes: 25 additions & 0 deletions chains/deprecatedsuperposition/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# yaml-language-server: $schema=../schema.json
blockExplorers:
- apiUrl: https://explorer.superposition.so/api
family: blockscout
name: Superposition Explorer
url: https://explorer.superposition.so/
blocks:
confirmations: 1
estimateBlockTime: 60
reorgPeriod: 0
chainId: 55244
displayName: DEPRECATED Superposition
domainId: 55244
gasCurrencyCoinGeckoId: ethereum
index:
from: 1201
name: deprecatedsuperposition
nativeToken:
decimals: 18
name: Ethereum
symbol: ETH
protocol: ethereum
rpcUrls:
- http: https://rpc.superposition.so
technicalStack: arbitrumnitro
1 change: 1 addition & 0 deletions chains/flowmainnet/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: EVM on Flow
domainId: 747
domainId: 1000000747
gasCurrencyCoinGeckoId: flow
isTestnet: false
name: flow
name: flowmainnet
nativeToken:
decimals: 18
name: Flow
Expand Down
Loading

0 comments on commit b4a2bb2

Please sign in to comment.