From b4a2bb239e6172d6ca884d03bc0d780c7b9c4402 Mon Sep 17 00:00:00 2001
From: Paul Balaji <10051819+paulbalaji@users.noreply.github.com>
Date: Thu, 7 Nov 2024 14:48:35 +0000
Subject: [PATCH] feat: migrate metadata from sept26 chain deployment (#352)
### Description
only merge this AFTER
https://github.com/hyperlane-xyz/hyperlane-explorer/pull/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 <10051819+paulbalaji@users.noreply.github.com>
---
.changeset/four-ghosts-peel.md | 5 +
.../logo.svg | 0
.../metadata.yaml | 4 +-
chains/blockworkstestnet/logo.svg | 1 -
chains/blockworkstestnet/metadata.yaml | 25 --
chains/{chiliz => chilizmainnet}/logo.svg | 0
.../{chiliz => chilizmainnet}/metadata.yaml | 4 +-
chains/deprecatedalephzeroevm/logo.svg | 1 +
chains/deprecatedalephzeroevm/metadata.yaml | 26 ++
chains/deprecatedchiliz/logo.svg | 1 +
chains/deprecatedchiliz/metadata.yaml | 26 ++
chains/{flow => deprecatedflow}/logo.svg | 0
chains/deprecatedflow/metadata.yaml | 27 ++
.../logo.svg | 0
chains/deprecatedimmutablezkevm/metadata.yaml | 27 ++
.../{metall2 => deprecatedmetall2}/logo.svg | 0
chains/deprecatedmetall2/metadata.yaml | 24 ++
.../logo.svg | 0
chains/deprecatedpolynomial/metadata.yaml | 22 ++
chains/{rari => deprecatedrari}/logo.svg | 0
chains/deprecatedrari/metadata.yaml | 24 ++
.../logo.svg | 0
chains/deprecatedrootstock/metadata.yaml | 29 ++
.../logo.svg | 0
chains/deprecatedsuperposition/metadata.yaml | 25 ++
chains/flowmainnet/logo.svg | 1 +
chains/{flow => flowmainnet}/metadata.yaml | 4 +-
chains/immutablezkevmmainnet/logo.svg | 1 +
.../metadata.yaml | 4 +-
chains/lumia/metadata.yaml | 1 -
chains/lumiaprism/logo.svg | 1 +
chains/lumiaprism/metadata.yaml | 25 ++
chains/metadata.yaml | 356 ++++++++++++++----
chains/metal/logo.svg | 1 +
chains/{metall2 => metal}/metadata.yaml | 4 +-
chains/ngmi/logo.svg | 1 -
chains/ngmi/metadata.yaml | 21 --
chains/polynomialfi/logo.svg | 1 +
.../metadata.yaml | 4 +-
chains/rarichain/logo.svg | 1 +
chains/{rari => rarichain}/metadata.yaml | 4 +-
chains/rootstockmainnet/logo.svg | 1 +
.../metadata.yaml | 4 +-
chains/schema.json | 6 +-
chains/superpositionmainnet/logo.svg | 1 +
.../metadata.yaml | 4 +-
package.json | 2 +-
test/unit/chains.test.ts | 6 +
yarn.lock | 59 +--
49 files changed, 610 insertions(+), 174 deletions(-)
create mode 100644 .changeset/four-ghosts-peel.md
rename chains/{alephzeroevm => alephzeroevmmainnet}/logo.svg (100%)
rename chains/{alephzeroevm => alephzeroevmmainnet}/metadata.yaml (93%)
delete mode 100644 chains/blockworkstestnet/logo.svg
delete mode 100644 chains/blockworkstestnet/metadata.yaml
rename chains/{chiliz => chilizmainnet}/logo.svg (100%)
rename chains/{chiliz => chilizmainnet}/metadata.yaml (94%)
create mode 100644 chains/deprecatedalephzeroevm/logo.svg
create mode 100644 chains/deprecatedalephzeroevm/metadata.yaml
create mode 100644 chains/deprecatedchiliz/logo.svg
create mode 100644 chains/deprecatedchiliz/metadata.yaml
rename chains/{flow => deprecatedflow}/logo.svg (100%)
create mode 100644 chains/deprecatedflow/metadata.yaml
rename chains/{immutablezkevm => deprecatedimmutablezkevm}/logo.svg (100%)
create mode 100644 chains/deprecatedimmutablezkevm/metadata.yaml
rename chains/{metall2 => deprecatedmetall2}/logo.svg (100%)
create mode 100644 chains/deprecatedmetall2/metadata.yaml
rename chains/{polynomial => deprecatedpolynomial}/logo.svg (100%)
create mode 100644 chains/deprecatedpolynomial/metadata.yaml
rename chains/{rari => deprecatedrari}/logo.svg (100%)
create mode 100644 chains/deprecatedrari/metadata.yaml
rename chains/{rootstock => deprecatedrootstock}/logo.svg (100%)
create mode 100644 chains/deprecatedrootstock/metadata.yaml
rename chains/{superposition => deprecatedsuperposition}/logo.svg (100%)
create mode 100644 chains/deprecatedsuperposition/metadata.yaml
create mode 100644 chains/flowmainnet/logo.svg
rename chains/{flow => flowmainnet}/metadata.yaml (94%)
create mode 100644 chains/immutablezkevmmainnet/logo.svg
rename chains/{immutablezkevm => immutablezkevmmainnet}/metadata.yaml (94%)
create mode 100644 chains/lumiaprism/logo.svg
create mode 100644 chains/lumiaprism/metadata.yaml
create mode 100644 chains/metal/logo.svg
rename chains/{metall2 => metal}/metadata.yaml (94%)
delete mode 100644 chains/ngmi/logo.svg
delete mode 100644 chains/ngmi/metadata.yaml
create mode 100644 chains/polynomialfi/logo.svg
rename chains/{polynomial => polynomialfi}/metadata.yaml (92%)
create mode 100644 chains/rarichain/logo.svg
rename chains/{rari => rarichain}/metadata.yaml (93%)
create mode 100644 chains/rootstockmainnet/logo.svg
rename chains/{rootstock => rootstockmainnet}/metadata.yaml (95%)
create mode 100644 chains/superpositionmainnet/logo.svg
rename chains/{superposition => superpositionmainnet}/metadata.yaml (92%)
diff --git a/.changeset/four-ghosts-peel.md b/.changeset/four-ghosts-peel.md
new file mode 100644
index 000000000..b9973a3e1
--- /dev/null
+++ b/.changeset/four-ghosts-peel.md
@@ -0,0 +1,5 @@
+---
+'@hyperlane-xyz/registry': major
+---
+
+Metadata migration for sept26 abacus works chains. Enforce domainId is within uint32 range.
diff --git a/chains/alephzeroevm/logo.svg b/chains/alephzeroevmmainnet/logo.svg
similarity index 100%
rename from chains/alephzeroevm/logo.svg
rename to chains/alephzeroevmmainnet/logo.svg
diff --git a/chains/alephzeroevm/metadata.yaml b/chains/alephzeroevmmainnet/metadata.yaml
similarity index 93%
rename from chains/alephzeroevm/metadata.yaml
rename to chains/alephzeroevmmainnet/metadata.yaml
index db6a66846..b61094263 100644
--- a/chains/alephzeroevm/metadata.yaml
+++ b/chains/alephzeroevmmainnet/metadata.yaml
@@ -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
diff --git a/chains/blockworkstestnet/logo.svg b/chains/blockworkstestnet/logo.svg
deleted file mode 100644
index 67da3cbde..000000000
--- a/chains/blockworkstestnet/logo.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/chains/blockworkstestnet/metadata.yaml b/chains/blockworkstestnet/metadata.yaml
deleted file mode 100644
index c9e640f80..000000000
--- a/chains/blockworkstestnet/metadata.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# yaml-language-server: $schema=../schema.json
-blockExplorers:
- - apiUrl: https://explorer.blockworks-chain.t.raas.gelato.cloud/api
- family: blockscout
- name: Blockworks Chain Testnet Explorer
- url: https://explorer.blockworks-chain.t.raas.gelato.cloud
-blocks:
- confirmations: 1
- estimateBlockTime: 2
- reorgPeriod: 1
-chainId: 123420000549
-deployer:
- name: Abacus Works
- url: https://www.hyperlane.xyz
-displayName: Blockworks Chain Testnet
-domainId: 123420000549
-isTestnet: true
-name: blockworkstestnet
-nativeToken:
- decimals: 18
- name: Ether
- symbol: ETH
-protocol: ethereum
-rpcUrls:
- - http: https://rpc.blockworks-chain.t.raas.gelato.cloud
diff --git a/chains/chiliz/logo.svg b/chains/chilizmainnet/logo.svg
similarity index 100%
rename from chains/chiliz/logo.svg
rename to chains/chilizmainnet/logo.svg
diff --git a/chains/chiliz/metadata.yaml b/chains/chilizmainnet/metadata.yaml
similarity index 94%
rename from chains/chiliz/metadata.yaml
rename to chains/chilizmainnet/metadata.yaml
index d3f38d369..1643a5e89 100644
--- a/chains/chiliz/metadata.yaml
+++ b/chains/chilizmainnet/metadata.yaml
@@ -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
diff --git a/chains/deprecatedalephzeroevm/logo.svg b/chains/deprecatedalephzeroevm/logo.svg
new file mode 100644
index 000000000..62261b542
--- /dev/null
+++ b/chains/deprecatedalephzeroevm/logo.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/chains/deprecatedalephzeroevm/metadata.yaml b/chains/deprecatedalephzeroevm/metadata.yaml
new file mode 100644
index 000000000..6e764b02d
--- /dev/null
+++ b/chains/deprecatedalephzeroevm/metadata.yaml
@@ -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
diff --git a/chains/deprecatedchiliz/logo.svg b/chains/deprecatedchiliz/logo.svg
new file mode 100644
index 000000000..880028ba0
--- /dev/null
+++ b/chains/deprecatedchiliz/logo.svg
@@ -0,0 +1 @@
+
diff --git a/chains/deprecatedchiliz/metadata.yaml b/chains/deprecatedchiliz/metadata.yaml
new file mode 100644
index 000000000..724d952c9
--- /dev/null
+++ b/chains/deprecatedchiliz/metadata.yaml
@@ -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
diff --git a/chains/flow/logo.svg b/chains/deprecatedflow/logo.svg
similarity index 100%
rename from chains/flow/logo.svg
rename to chains/deprecatedflow/logo.svg
diff --git a/chains/deprecatedflow/metadata.yaml b/chains/deprecatedflow/metadata.yaml
new file mode 100644
index 000000000..a85242404
--- /dev/null
+++ b/chains/deprecatedflow/metadata.yaml
@@ -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
diff --git a/chains/immutablezkevm/logo.svg b/chains/deprecatedimmutablezkevm/logo.svg
similarity index 100%
rename from chains/immutablezkevm/logo.svg
rename to chains/deprecatedimmutablezkevm/logo.svg
diff --git a/chains/deprecatedimmutablezkevm/metadata.yaml b/chains/deprecatedimmutablezkevm/metadata.yaml
new file mode 100644
index 000000000..b780f53bd
--- /dev/null
+++ b/chains/deprecatedimmutablezkevm/metadata.yaml
@@ -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
diff --git a/chains/metall2/logo.svg b/chains/deprecatedmetall2/logo.svg
similarity index 100%
rename from chains/metall2/logo.svg
rename to chains/deprecatedmetall2/logo.svg
diff --git a/chains/deprecatedmetall2/metadata.yaml b/chains/deprecatedmetall2/metadata.yaml
new file mode 100644
index 000000000..689525588
--- /dev/null
+++ b/chains/deprecatedmetall2/metadata.yaml
@@ -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
diff --git a/chains/polynomial/logo.svg b/chains/deprecatedpolynomial/logo.svg
similarity index 100%
rename from chains/polynomial/logo.svg
rename to chains/deprecatedpolynomial/logo.svg
diff --git a/chains/deprecatedpolynomial/metadata.yaml b/chains/deprecatedpolynomial/metadata.yaml
new file mode 100644
index 000000000..07972f694
--- /dev/null
+++ b/chains/deprecatedpolynomial/metadata.yaml
@@ -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
diff --git a/chains/rari/logo.svg b/chains/deprecatedrari/logo.svg
similarity index 100%
rename from chains/rari/logo.svg
rename to chains/deprecatedrari/logo.svg
diff --git a/chains/deprecatedrari/metadata.yaml b/chains/deprecatedrari/metadata.yaml
new file mode 100644
index 000000000..63c039a9f
--- /dev/null
+++ b/chains/deprecatedrari/metadata.yaml
@@ -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
diff --git a/chains/rootstock/logo.svg b/chains/deprecatedrootstock/logo.svg
similarity index 100%
rename from chains/rootstock/logo.svg
rename to chains/deprecatedrootstock/logo.svg
diff --git a/chains/deprecatedrootstock/metadata.yaml b/chains/deprecatedrootstock/metadata.yaml
new file mode 100644
index 000000000..46b1d4f68
--- /dev/null
+++ b/chains/deprecatedrootstock/metadata.yaml
@@ -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
diff --git a/chains/superposition/logo.svg b/chains/deprecatedsuperposition/logo.svg
similarity index 100%
rename from chains/superposition/logo.svg
rename to chains/deprecatedsuperposition/logo.svg
diff --git a/chains/deprecatedsuperposition/metadata.yaml b/chains/deprecatedsuperposition/metadata.yaml
new file mode 100644
index 000000000..5ef873ec6
--- /dev/null
+++ b/chains/deprecatedsuperposition/metadata.yaml
@@ -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
diff --git a/chains/flowmainnet/logo.svg b/chains/flowmainnet/logo.svg
new file mode 100644
index 000000000..f89c8e948
--- /dev/null
+++ b/chains/flowmainnet/logo.svg
@@ -0,0 +1 @@
+
diff --git a/chains/flow/metadata.yaml b/chains/flowmainnet/metadata.yaml
similarity index 94%
rename from chains/flow/metadata.yaml
rename to chains/flowmainnet/metadata.yaml
index bc3427f38..e3f9fc865 100644
--- a/chains/flow/metadata.yaml
+++ b/chains/flowmainnet/metadata.yaml
@@ -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
diff --git a/chains/immutablezkevmmainnet/logo.svg b/chains/immutablezkevmmainnet/logo.svg
new file mode 100644
index 000000000..d015802db
--- /dev/null
+++ b/chains/immutablezkevmmainnet/logo.svg
@@ -0,0 +1 @@
+
diff --git a/chains/immutablezkevm/metadata.yaml b/chains/immutablezkevmmainnet/metadata.yaml
similarity index 94%
rename from chains/immutablezkevm/metadata.yaml
rename to chains/immutablezkevmmainnet/metadata.yaml
index ec3e7f465..acd479891 100644
--- a/chains/immutablezkevm/metadata.yaml
+++ b/chains/immutablezkevmmainnet/metadata.yaml
@@ -12,9 +12,9 @@ deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Immutable zkEVM
-domainId: 13371
+domainId: 1000013371
gasCurrencyCoinGeckoId: immutable-x
-name: immutablezkevm
+name: immutablezkevmmainnet
nativeToken:
decimals: 18
name: Immutable
diff --git a/chains/lumia/metadata.yaml b/chains/lumia/metadata.yaml
index c816b0bec..d9d91bb64 100644
--- a/chains/lumia/metadata.yaml
+++ b/chains/lumia/metadata.yaml
@@ -21,6 +21,5 @@ nativeToken:
symbol: LUMIA
protocol: ethereum
rpcUrls:
- - http: https://994873017.rpc.thirdweb.com
- http: https://mainnet-rpc.lumia.org
technicalStack: polygoncdk
diff --git a/chains/lumiaprism/logo.svg b/chains/lumiaprism/logo.svg
new file mode 100644
index 000000000..93d0218e4
--- /dev/null
+++ b/chains/lumiaprism/logo.svg
@@ -0,0 +1 @@
+
diff --git a/chains/lumiaprism/metadata.yaml b/chains/lumiaprism/metadata.yaml
new file mode 100644
index 000000000..4eb6edde0
--- /dev/null
+++ b/chains/lumiaprism/metadata.yaml
@@ -0,0 +1,25 @@
+blockExplorers:
+ - apiUrl: https://explorer.lumia.org/api/eth-rpc
+ family: blockscout
+ name: Lumia Prism Explorer
+ url: https://explorer.lumia.org
+blocks:
+ confirmations: 3
+ estimateBlockTime: 4
+ reorgPeriod: 5
+chainId: 994873017
+deployer:
+ name: Abacus Works
+ url: https://www.hyperlane.xyz
+displayName: Lumia Prism
+domainId: 1000073017
+gasCurrencyCoinGeckoId: lumia
+name: lumiaprism
+nativeToken:
+ decimals: 18
+ name: Lumia
+ symbol: LUMIA
+protocol: ethereum
+rpcUrls:
+ - http: https://mainnet-rpc.lumia.org
+technicalStack: polygoncdk
diff --git a/chains/metadata.yaml b/chains/metadata.yaml
index 86a75d6c1..b04601680 100644
--- a/chains/metadata.yaml
+++ b/chains/metadata.yaml
@@ -1,5 +1,5 @@
# AUTO-GENERATED; DO NOT EDIT MANUALLY
-alephzeroevm:
+alephzeroevmmainnet:
blockExplorers:
- apiUrl: https://evm-explorer.alephzero.org/api
family: blockscout
@@ -15,11 +15,11 @@ alephzeroevm:
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
@@ -603,31 +603,6 @@ blastsepolia:
protocol: ethereum
rpcUrls:
- http: https://sepolia.blast.io
-blockworkstestnet:
- blockExplorers:
- - apiUrl: https://explorer.blockworks-chain.t.raas.gelato.cloud/api
- family: blockscout
- name: Blockworks Chain Testnet Explorer
- url: https://explorer.blockworks-chain.t.raas.gelato.cloud
- blocks:
- confirmations: 1
- estimateBlockTime: 2
- reorgPeriod: 1
- chainId: 123420000549
- deployer:
- name: Abacus Works
- url: https://www.hyperlane.xyz
- displayName: Blockworks Chain Testnet
- domainId: 123420000549
- isTestnet: true
- name: blockworkstestnet
- nativeToken:
- decimals: 18
- name: Ether
- symbol: ETH
- protocol: ethereum
- rpcUrls:
- - http: https://rpc.blockworks-chain.t.raas.gelato.cloud
bob:
blockExplorers:
- apiUrl: https://explorer.gobob.xyz/api
@@ -929,7 +904,7 @@ cheesechain:
rpcUrls:
- http: https://cheesechain.calderachain.xyz/http
technicalStack: arbitrumnitro
-chiliz:
+chilizmainnet:
blockExplorers:
- apiUrl: https://api.routescan.io/v2/network/mainnet/evm/88888/etherscan/api
family: routescan
@@ -944,9 +919,9 @@ chiliz:
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
@@ -1186,6 +1161,234 @@ degenchain:
rpcUrls:
- http: https://rpc.degen.tips
technicalStack: arbitrumnitro
+deprecatedalephzeroevm:
+ 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
+deprecatedchiliz:
+ 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
+deprecatedflow:
+ 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:
+ gasPrice: 100000000
+deprecatedimmutablezkevm:
+ 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
+ transactionOverrides:
+ maxFeePerGas: 100000000000
+ maxPriorityFeePerGas: 100000000000
+deprecatedmetall2:
+ 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
+deprecatedpolynomial:
+ 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
+deprecatedrari:
+ 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
+deprecatedrootstock:
+ 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:
+ - http: https://rpc.mainnet.rootstock.io/kXhXHf6TnnfW1POvr4UT0YUvujmuju-M
+ - http: https://public-node.rsk.co
+ - http: https://mycrypto.rsk.co
+ technicalStack: other
+deprecatedsuperposition:
+ 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
dodotestnet:
blockExplorers:
- apiUrl: https://testnet-scan.dodochain.com/api
@@ -1560,7 +1763,7 @@ flare:
- http: https://flare.rpc.thirdweb.com
- http: https://rpc.ankr.com/flare
technicalStack: other
-flow:
+flowmainnet:
blockExplorers:
- apiUrl: https://evm.flowscan.io/api
family: blockscout
@@ -1575,10 +1778,10 @@ flow:
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
@@ -2042,7 +2245,7 @@ hyperliquidevmtestnet:
protocol: ethereum
rpcUrls:
- http: https://api.hyperliquid-testnet.xyz/evm
-immutablezkevm:
+immutablezkevmmainnet:
blockExplorers:
- apiUrl: https://explorer.immutable.com/api/eth-rpc
family: blockscout
@@ -2057,9 +2260,9 @@ immutablezkevm:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Immutable zkEVM
- domainId: 13371
+ domainId: 1000013371
gasCurrencyCoinGeckoId: immutable-x
- name: immutablezkevm
+ name: immutablezkevmmainnet
nativeToken:
decimals: 18
name: Immutable
@@ -2476,7 +2679,32 @@ lumia:
symbol: LUMIA
protocol: ethereum
rpcUrls:
- - http: https://994873017.rpc.thirdweb.com
+ - http: https://mainnet-rpc.lumia.org
+ technicalStack: polygoncdk
+lumiaprism:
+ blockExplorers:
+ - apiUrl: https://explorer.lumia.org/api/eth-rpc
+ family: blockscout
+ name: Lumia Prism Explorer
+ url: https://explorer.lumia.org
+ blocks:
+ confirmations: 3
+ estimateBlockTime: 4
+ reorgPeriod: 5
+ chainId: 994873017
+ deployer:
+ name: Abacus Works
+ url: https://www.hyperlane.xyz
+ displayName: Lumia Prism
+ domainId: 1000073017
+ gasCurrencyCoinGeckoId: lumia
+ name: lumiaprism
+ nativeToken:
+ decimals: 18
+ name: Lumia
+ symbol: LUMIA
+ protocol: ethereum
+ rpcUrls:
- http: https://mainnet-rpc.lumia.org
technicalStack: polygoncdk
mantapacific:
@@ -2605,7 +2833,7 @@ merlin:
- http: https://rpc.merlinchain.io
- http: https://merlin.blockpi.network/v1/rpc/public
technicalStack: polygoncdk
-metall2:
+metal:
blockExplorers:
- apiUrl: https://explorer.metall2.com/api
family: blockscout
@@ -2620,10 +2848,10 @@ metall2:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Metal L2
- domainId: 1750
+ domainId: 1000001750
gasCurrencyCoinGeckoId: ethereum
isTestnet: false
- name: metall2
+ name: metal
nativeToken:
decimals: 18
name: Ether
@@ -3000,28 +3228,6 @@ neutron:
technicalStack: other
transactionOverrides:
gasPrice: "0.0075"
-ngmi:
- blockExplorers:
- - apiUrl: https://ngmi-2712765173321000-1.sagaexplorer.io/api
- family: blockscout
- name: NGMI Explorer
- url: https://ngmi-2712765173321000-1.sagaexplorer.io
- blocks:
- confirmations: 1
- estimateBlockTime: 5
- reorgPeriod: 0
- chainId: 2712765173321000
- displayName: NGMI
- domainId: 2712765173321000
- gasCurrencyCoinGeckoId: ngmi
- name: ngmi
- nativeToken:
- decimals: 18
- name: NGMI
- symbol: NGMI
- protocol: ethereum
- rpcUrls:
- - http: https://ngmi-2712765173321000-1.jsonrpc.sagarpc.io
odysseytestnet:
blockExplorers:
- apiUrl: https://odyssey-explorer.ithaca.xyz/api
@@ -3381,7 +3587,7 @@ polygonzkevm:
- http: https://zkevm-rpc.com
- http: https://rpc.ankr.com/polygon_zkevm
technicalStack: polygoncdk
-polynomial:
+polynomialfi:
blockExplorers:
- apiUrl: https://polynomialscan.io/api
family: routescan
@@ -3396,9 +3602,9 @@ polynomial:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Polynomial
- domainId: 8008
+ domainId: 1000008008
gasCurrencyCoinGeckoId: ethereum
- name: polynomial
+ name: polynomialfi
nativeToken:
decimals: 18
name: Ethereum
@@ -3469,7 +3675,7 @@ pulsechain:
transactionOverrides:
maxFeePerGas: 800000000000000
maxPriorityFeePerGas: 2500000000
-rari:
+rarichain:
blockExplorers:
- apiUrl: https://mainnet.explorer.rarichain.org/api
family: blockscout
@@ -3484,11 +3690,11 @@ rari:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: RARI Chain
- domainId: 1380012617
+ domainId: 1000012617
gasCurrencyCoinGeckoId: ethereum
index:
from: 541753
- name: rari
+ name: rarichain
nativeToken:
decimals: 18
name: Ethereum
@@ -3574,7 +3780,7 @@ ronin:
protocol: ethereum
rpcUrls:
- http: https://api.roninchain.com/rpc
-rootstock:
+rootstockmainnet:
blockExplorers:
- apiUrl: https://rootstock.blockscout.com/api
family: blockscout
@@ -3589,9 +3795,9 @@ rootstock:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Rootstock
- domainId: 30
+ domainId: 1000000030
gasCurrencyCoinGeckoId: rootstock
- name: rootstock
+ name: rootstockmainnet
nativeToken:
decimals: 18
name: Rootstock Smart Bitcoin
@@ -4201,7 +4407,7 @@ suavetoliman:
protocol: ethereum
rpcUrls:
- http: https://rpc.toliman.suave.flashbots.net
-superposition:
+superpositionmainnet:
blockExplorers:
- apiUrl: https://explorer.superposition.so/api
family: blockscout
@@ -4216,11 +4422,11 @@ superposition:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Superposition
- domainId: 55244
+ domainId: 1000055244
gasCurrencyCoinGeckoId: ethereum
index:
from: 1201
- name: superposition
+ name: superpositionmainnet
nativeToken:
decimals: 18
name: Ethereum
diff --git a/chains/metal/logo.svg b/chains/metal/logo.svg
new file mode 100644
index 000000000..414c4eae7
--- /dev/null
+++ b/chains/metal/logo.svg
@@ -0,0 +1 @@
+
diff --git a/chains/metall2/metadata.yaml b/chains/metal/metadata.yaml
similarity index 94%
rename from chains/metall2/metadata.yaml
rename to chains/metal/metadata.yaml
index 578c6d72f..32a4cfcaf 100644
--- a/chains/metall2/metadata.yaml
+++ b/chains/metal/metadata.yaml
@@ -13,10 +13,10 @@ deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Metal L2
-domainId: 1750
+domainId: 1000001750
gasCurrencyCoinGeckoId: ethereum
isTestnet: false
-name: metall2
+name: metal
nativeToken:
decimals: 18
name: Ether
diff --git a/chains/ngmi/logo.svg b/chains/ngmi/logo.svg
deleted file mode 100644
index ea97afde3..000000000
--- a/chains/ngmi/logo.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/chains/ngmi/metadata.yaml b/chains/ngmi/metadata.yaml
deleted file mode 100644
index 0be80a1c5..000000000
--- a/chains/ngmi/metadata.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-blockExplorers:
- - apiUrl: https://ngmi-2712765173321000-1.sagaexplorer.io/api
- family: blockscout
- name: NGMI Explorer
- url: https://ngmi-2712765173321000-1.sagaexplorer.io
-blocks:
- confirmations: 1
- estimateBlockTime: 5
- reorgPeriod: 0
-chainId: 2712765173321000
-displayName: NGMI
-domainId: 2712765173321000
-gasCurrencyCoinGeckoId: ngmi
-name: ngmi
-nativeToken:
- decimals: 18
- name: NGMI
- symbol: NGMI
-protocol: ethereum
-rpcUrls:
- - http: https://ngmi-2712765173321000-1.jsonrpc.sagarpc.io
diff --git a/chains/polynomialfi/logo.svg b/chains/polynomialfi/logo.svg
new file mode 100644
index 000000000..8226dbb4b
--- /dev/null
+++ b/chains/polynomialfi/logo.svg
@@ -0,0 +1 @@
+
diff --git a/chains/polynomial/metadata.yaml b/chains/polynomialfi/metadata.yaml
similarity index 92%
rename from chains/polynomial/metadata.yaml
rename to chains/polynomialfi/metadata.yaml
index 92bdb0038..04d7a7f3a 100644
--- a/chains/polynomial/metadata.yaml
+++ b/chains/polynomialfi/metadata.yaml
@@ -12,9 +12,9 @@ deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Polynomial
-domainId: 8008
+domainId: 1000008008
gasCurrencyCoinGeckoId: ethereum
-name: polynomial
+name: polynomialfi
nativeToken:
decimals: 18
name: Ethereum
diff --git a/chains/rarichain/logo.svg b/chains/rarichain/logo.svg
new file mode 100644
index 000000000..c96e4c119
--- /dev/null
+++ b/chains/rarichain/logo.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/chains/rari/metadata.yaml b/chains/rarichain/metadata.yaml
similarity index 93%
rename from chains/rari/metadata.yaml
rename to chains/rarichain/metadata.yaml
index 993a81243..40dc986ee 100644
--- a/chains/rari/metadata.yaml
+++ b/chains/rarichain/metadata.yaml
@@ -12,11 +12,11 @@ deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: RARI Chain
-domainId: 1380012617
+domainId: 1000012617
gasCurrencyCoinGeckoId: ethereum
index:
from: 541753
-name: rari
+name: rarichain
nativeToken:
decimals: 18
name: Ethereum
diff --git a/chains/rootstockmainnet/logo.svg b/chains/rootstockmainnet/logo.svg
new file mode 100644
index 000000000..3cd0b9823
--- /dev/null
+++ b/chains/rootstockmainnet/logo.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/chains/rootstock/metadata.yaml b/chains/rootstockmainnet/metadata.yaml
similarity index 95%
rename from chains/rootstock/metadata.yaml
rename to chains/rootstockmainnet/metadata.yaml
index 61a8cd5d1..6403e3eef 100644
--- a/chains/rootstock/metadata.yaml
+++ b/chains/rootstockmainnet/metadata.yaml
@@ -13,9 +13,9 @@ deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Rootstock
-domainId: 30
+domainId: 1000000030
gasCurrencyCoinGeckoId: rootstock
-name: rootstock
+name: rootstockmainnet
nativeToken:
decimals: 18
name: Rootstock Smart Bitcoin
diff --git a/chains/schema.json b/chains/schema.json
index 1a700f714..50ee47a8b 100644
--- a/chains/schema.json
+++ b/chains/schema.json
@@ -132,8 +132,9 @@
"description": "A shorter human-readable name of the chain for use in user interfaces."
},
"domainId": {
- "$ref": "#/definitions/hyperlaneChainMetadata/properties/chainId/anyOf/0",
- "description": "The domainId of the chain, should generally default to `chainId`. Consumer of `ChainMetadata` should use this value if present, but otherwise fallback to `chainId`."
+ "type": "integer",
+ "exclusiveMinimum": 0,
+ "description": "The domainId of the chain, should generally default to `chainId`. Consumer of `ChainMetadata` should use this value or `name` as a unique identifier."
},
"gasCurrencyCoinGeckoId": {
"type": "string",
@@ -308,6 +309,7 @@
},
"required": [
"chainId",
+ "domainId",
"name",
"protocol",
"rpcUrls"
diff --git a/chains/superpositionmainnet/logo.svg b/chains/superpositionmainnet/logo.svg
new file mode 100644
index 000000000..d239a5c96
--- /dev/null
+++ b/chains/superpositionmainnet/logo.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/chains/superposition/metadata.yaml b/chains/superpositionmainnet/metadata.yaml
similarity index 92%
rename from chains/superposition/metadata.yaml
rename to chains/superpositionmainnet/metadata.yaml
index a1dbd0de0..47bdf15af 100644
--- a/chains/superposition/metadata.yaml
+++ b/chains/superpositionmainnet/metadata.yaml
@@ -13,11 +13,11 @@ deployer:
name: Abacus Works
url: https://www.hyperlane.xyz
displayName: Superposition
-domainId: 55244
+domainId: 1000055244
gasCurrencyCoinGeckoId: ethereum
index:
from: 1201
-name: superposition
+name: superpositionmainnet
nativeToken:
decimals: 18
name: Ethereum
diff --git a/package.json b/package.json
index 5e95cd81b..9e14b49db 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@eslint/js": "^9.1.1",
- "@hyperlane-xyz/sdk": "5.6.0",
+ "@hyperlane-xyz/sdk": "6.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "^16.9.1",
"@typescript-eslint/parser": "^7.7.0",
diff --git a/test/unit/chains.test.ts b/test/unit/chains.test.ts
index 5f8d42a3c..f644a085b 100644
--- a/test/unit/chains.test.ts
+++ b/test/unit/chains.test.ts
@@ -50,6 +50,12 @@ describe('Chain metadata', () => {
}
});
+ it(`${chain} metadata has domainId within uint32 limits`, () => {
+ const domainId = metadata.domainId;
+ expect(domainId).to.be.at.least(0);
+ expect(domainId).to.be.at.most(4294967295); // 2^32 - 1
+ });
+
// Ensure all Abacus Works mainnets have gasCurrencyCoinGeckoId defined
it(`${chain} metadata has gasCurrencyCoinGeckoId defined if deployer is Abacus Works`, () => {
if (isAbacusWorksChain(metadata) && !metadata.isTestnet) {
diff --git a/yarn.lock b/yarn.lock
index ba2d2636c..645fc7c65 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1878,13 +1878,13 @@ __metadata:
languageName: node
linkType: hard
-"@hyperlane-xyz/core@npm:5.5.0":
- version: 5.5.0
- resolution: "@hyperlane-xyz/core@npm:5.5.0"
+"@hyperlane-xyz/core@npm:5.7.1":
+ version: 5.7.1
+ resolution: "@hyperlane-xyz/core@npm:5.7.1"
dependencies:
"@arbitrum/nitro-contracts": "npm:^1.2.1"
"@eth-optimism/contracts": "npm:^0.6.0"
- "@hyperlane-xyz/utils": "npm:5.6.0"
+ "@hyperlane-xyz/utils": "npm:6.0.0"
"@layerzerolabs/lz-evm-oapp-v2": "npm:2.0.2"
"@openzeppelin/contracts": "npm:^4.9.3"
"@openzeppelin/contracts-upgradeable": "npm:^v4.9.3"
@@ -1893,7 +1893,7 @@ __metadata:
"@ethersproject/abi": "*"
"@ethersproject/providers": "*"
"@types/sinon-chai": "*"
- checksum: 55c458e2dc9f58145256f47319936c483cb1415cfed3b25d6cee348d4b2d3b3dfe8658577b98ea896d2ff4a9f4af8e30709395c46c2d562794436b18a4f24b2f
+ checksum: 53fa047cb0d417b8453cbe422a385e804d9c84758dba10f3e1408a76b88ac57024be3aa0f942f404702e6e680da1e41aaf540155b5ce9cfca2896d244e2ef6d1
languageName: node
linkType: hard
@@ -1903,7 +1903,7 @@ __metadata:
dependencies:
"@changesets/cli": "npm:^2.26.2"
"@eslint/js": "npm:^9.1.1"
- "@hyperlane-xyz/sdk": "npm:5.6.0"
+ "@hyperlane-xyz/sdk": "npm:6.0.0"
"@types/mocha": "npm:^10.0.1"
"@types/node": "npm:^16.9.1"
"@typescript-eslint/parser": "npm:^7.7.0"
@@ -1925,25 +1925,24 @@ __metadata:
languageName: unknown
linkType: soft
-"@hyperlane-xyz/sdk@npm:5.6.0":
- version: 5.6.0
- resolution: "@hyperlane-xyz/sdk@npm:5.6.0"
+"@hyperlane-xyz/sdk@npm:6.0.0":
+ version: 6.0.0
+ resolution: "@hyperlane-xyz/sdk@npm:6.0.0"
dependencies:
"@arbitrum/sdk": "npm:^4.0.0"
"@aws-sdk/client-s3": "npm:^3.74.0"
"@cosmjs/cosmwasm-stargate": "npm:^0.32.4"
"@cosmjs/stargate": "npm:^0.32.4"
- "@hyperlane-xyz/core": "npm:5.5.0"
- "@hyperlane-xyz/utils": "npm:5.6.0"
+ "@hyperlane-xyz/core": "npm:5.7.1"
+ "@hyperlane-xyz/utils": "npm:6.0.0"
"@safe-global/api-kit": "npm:1.3.0"
"@safe-global/protocol-kit": "npm:1.3.0"
"@safe-global/safe-deployments": "npm:1.37.8"
"@solana/spl-token": "npm:^0.3.8"
"@solana/web3.js": "npm:^1.78.0"
- "@types/coingecko-api": "npm:^1.0.10"
"@wagmi/chains": "npm:^1.8.0"
bignumber.js: "npm:^9.1.1"
- coingecko-api: "npm:^1.0.10"
+ coingecko-api-v3: "npm:^0.0.29"
cosmjs-types: "npm:^0.9.0"
cross-fetch: "npm:^3.1.5"
ethers: "npm:^5.7.2"
@@ -1953,13 +1952,13 @@ __metadata:
peerDependencies:
"@ethersproject/abi": "*"
"@ethersproject/providers": "*"
- checksum: f57aa01e9c111ffab778873547da79e54d944c9cdf9d9f896420270333717b635933db99fd69e83679ac538c1a29ed6b6614057f11dbdd211d16d548d0450f21
+ checksum: 5d8ca83c7c52cd6ada1a3b4684ff5770ec9568e281c9b8d306b46ab61d188d88a1d22ec04e4024ef32fb92df158951201b3e900bb29955d416417415f53c035c
languageName: node
linkType: hard
-"@hyperlane-xyz/utils@npm:5.6.0":
- version: 5.6.0
- resolution: "@hyperlane-xyz/utils@npm:5.6.0"
+"@hyperlane-xyz/utils@npm:6.0.0":
+ version: 6.0.0
+ resolution: "@hyperlane-xyz/utils@npm:6.0.0"
dependencies:
"@cosmjs/encoding": "npm:^0.32.4"
"@solana/web3.js": "npm:^1.78.0"
@@ -1968,7 +1967,7 @@ __metadata:
lodash-es: "npm:^4.17.21"
pino: "npm:^8.19.0"
yaml: "npm:2.4.5"
- checksum: 2c24556b1447eda2a838651af6c06114fbb280f073e230ba7971b562669c1895bcec164cf85bf55e9af0ff2d28c6814e22e7ac8a729fbaac38adbbf4969fd83e
+ checksum: bc75da2dfdec1ee26d7fb29db211d457b3ec07226059c9d2ea91602297547fecb0e369d0301fa0545bb2b89c77ca63d11434e8fb6b498fa1906082c4fcd8b3ba
languageName: node
linkType: hard
@@ -3222,13 +3221,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/coingecko-api@npm:^1.0.10":
- version: 1.0.13
- resolution: "@types/coingecko-api@npm:1.0.13"
- checksum: 18f3f5270b41e6e11694d01ba01bd15bb21a94d5cdca27100247b60d4785cc57d5d04f7bdd4013897e4c5fc646e5c896884443d236f39684a7417d9f69f13427
- languageName: node
- linkType: hard
-
"@types/connect@npm:^3.4.33":
version: 3.4.38
resolution: "@types/connect@npm:3.4.38"
@@ -4470,10 +4462,12 @@ __metadata:
languageName: node
linkType: hard
-"coingecko-api@npm:^1.0.10":
- version: 1.0.10
- resolution: "coingecko-api@npm:1.0.10"
- checksum: e0000df5aebbeee508f25824485fe8e4be57cd07825b3cfbf2dc3c51b646200eefd336c833e81747d4a209bf10c32019baef1070fb2bfbcdbae099420954d1fa
+"coingecko-api-v3@npm:^0.0.29":
+ version: 0.0.29
+ resolution: "coingecko-api-v3@npm:0.0.29"
+ dependencies:
+ https: "npm:^1.0.0"
+ checksum: e60a0996472419232a144ec77028c060bd9c289f799dd40d46dbb7229cff3d868a3e35bf88724059dc25767b8136d794789e4dd31711592fa73a7be1ca2fcbc7
languageName: node
linkType: hard
@@ -6733,6 +6727,13 @@ __metadata:
languageName: node
linkType: hard
+"https@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "https@npm:1.0.0"
+ checksum: ccea8a8363a018d4b241db7748cff3a85c9f5b71bf80639e9c37dc6823f590f35dda098b80b726930e9f945387c8bfd6b1461df25cab5bf65a31903d81875b5d
+ languageName: node
+ linkType: hard
+
"human-id@npm:^1.0.2":
version: 1.0.2
resolution: "human-id@npm:1.0.2"