Skip to content

Commit

Permalink
Merge branch 'main' into PNDR
Browse files Browse the repository at this point in the history
  • Loading branch information
yorhodes committed Jan 6, 2025
2 parents 1dde432 + afc010c commit 8392cbf
Show file tree
Hide file tree
Showing 34 changed files with 2,390 additions and 2,107 deletions.
6 changes: 6 additions & 0 deletions .changeset/afraid-lamps-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@hyperlane-xyz/registry': patch
---

Warp Routes: add logoURI for tokens that did not have it and rename chain names that were not sorted alphabetically
Chains: Add missing deployer field
5 changes: 5 additions & 0 deletions .changeset/great-carrots-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/registry': minor
---

feat: add solo testnet
5 changes: 5 additions & 0 deletions .changeset/unlucky-papayas-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/registry': patch
---

Upgrade yarn to 4.5.1
25 changes: 18 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
# Check out the lockfile from main, reinstall, and then
# verify the lockfile matches what was committed.
run: |
yarn install
CHANGES=$(git status -s)
if [[ ! -z $CHANGES ]]; then
echo "Changes found: $CHANGES"
git diff
exit 1
fi
yarn install
CHANGES=$(git status -s)
if [[ ! -z $CHANGES ]]; then
echo "Changes found: $CHANGES"
git diff
exit 1
fi
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -97,6 +97,17 @@ jobs:
- name: test
run: yarn run test:unit

- name: validate-file-path
run: |
node ./scripts/validate-file-path.js
- name: validate-svg
run: |
node ./scripts/validate-svg.js
- name: validate-file-data
run: |
node ./scripts/validate-file-data.js
# health:
# runs-on: ubuntu-latest
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/combine.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: combine

on:
pull_request:
push:
branches:
- main
# Allows you to run this workflow manually
workflow_dispatch:

Expand Down Expand Up @@ -56,7 +58,7 @@ jobs:
CHANGES=$(git status -s)
if [[ ! -z $CHANGES ]]; then
git add .
git commit -m "Update chain metadata and address files"
git commit -m "Update chain metadata and address files [skip-ci]"
git push
else
echo "No changes to commit."
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/optimize-svg.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: optimize-svg

on:
pull_request:
push:
branches:
- main
# Allows you to run this workflow manually
workflow_dispatch:

Expand Down Expand Up @@ -50,7 +52,7 @@ jobs:
CHANGES=$(git status -s)
if [[ ! -z $CHANGES ]]; then
git add .
git commit -m "Optimize SVG files"
git commit -m "Optimize SVG files [skip-ci]"
git push
else
echo "No changes to commit."
Expand Down
45 changes: 0 additions & 45 deletions .github/workflows/validate.yaml

This file was deleted.

893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.0.2.cjs

This file was deleted.

934 changes: 934 additions & 0 deletions .yarn/releases/yarn-4.5.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ enableScripts: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.0.2.cjs
yarnPath: .yarn/releases/yarn-4.5.1.cjs
15 changes: 15 additions & 0 deletions chains/addresses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3341,6 +3341,21 @@ solanamainnet:
mailbox: E588QtVUvresuXq2KoNEwAmoifCzYGpRBdHByN9KQMbi
merkleTreeHook: E588QtVUvresuXq2KoNEwAmoifCzYGpRBdHByN9KQMbi
validatorAnnounce: pRgs5vN4Pj7WvFbxf6QDHizo2njq2uksqEUbaSghVA8
solotestnet:
domainRoutingIsmFactory: "0xbC2a336b11a18eC86bA0176E4D43a76cDB969Fe8"
interchainAccountIsm: "0xF79Ea4E1542333f2e6077AaC14DB517289cEd9ea"
interchainAccountRouter: "0x0b283d88d4c0575866063ca6dE2E511003dE2782"
mailbox: "0xcCbFE0425943f8Cc71a73C122943F0Eb6234DCd3"
merkleTreeHook: "0xAf513D45b8D775EF71f263115146164B6D446e72"
proxyAdmin: "0x71D5457B1772aB7c0912ab4940C6857a6A1B0a69"
staticAggregationHookFactory: "0xfC8157361745b8287F178B43dAd67B7d400183D8"
staticAggregationIsmFactory: "0xf3b317c08243cd96D72D30Ae6AABf0479eD43aDA"
staticMerkleRootMultisigIsmFactory: "0x0f86c4072fF641ab8B9B03339711329cC0Eb60b4"
staticMerkleRootWeightedMultisigIsmFactory: "0x90179e790d0a2240Ce0aE572D1024c2346f99544"
staticMessageIdMultisigIsmFactory: "0x9De3bfaE2ae2D050e20286cAD3e82e6f920C3D79"
staticMessageIdWeightedMultisigIsmFactory: "0xCc7438F81b6CF53CC1e14bD6e98f694E7455D56b"
testRecipient: "0xc4D25093EBc8004B02841d8789F01807428478ED"
validatorAnnounce: "0x7CE8640Fc5DedBa47D7A028566e31c2dD3BD28b0"
soneium:
aggregationHook: "0x2A3E42635E7acAc8Bb7851963Bc9d29B1dAAd409"
domainRoutingIsm: "0xBD70Ea9D599a0FC8158B026797177773C3445730"
Expand Down
26 changes: 25 additions & 1 deletion chains/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3422,7 +3422,7 @@ metertestnet:
name: Meter Testnet Explorer
url: https://scan.meter.io/
chainId: 83
deployers:
deployer:
name: JaunePomme
url: https://github.com/JaunePomme
displayName: Meter testnet
Expand Down Expand Up @@ -4891,6 +4891,27 @@ solanatestnet:
protocol: sealevel
rpcUrls:
- http: https://api.testnet.solana.com
solotestnet:
blockExplorers:
- apiUrl: https://solo-testnet.explorer.caldera.xyz/api
family: blockscout
name: Solo Testnet Explorer
url: https://solo-testnet.explorer.caldera.xyz/
chainId: 8884571
deployer:
name: Solo Chain
url: https://solo.tech/
displayName: Solo Testnet
domainId: 8884571
isTestnet: true
name: solotestnet
nativeToken:
decimals: 18
name: Ether
symbol: ETH
protocol: ethereum
rpcUrls:
- http: https://solo-testnet.rpc.caldera.xyz/http
soneium:
blockExplorers:
- apiUrl: https://explorer.soneium.org/api
Expand Down Expand Up @@ -5511,6 +5532,9 @@ u2utestnet:
name: u2uscan
url: https://testnet.u2uscan.xyz
chainId: 2484
deployer:
name: junayedmh
url: https://github.com/JunayedMh
displayName: U2U Testnet
domainId: 2484
isTestnet: true
Expand Down
2 changes: 1 addition & 1 deletion chains/metertestnet/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ blockExplorers:
name: Meter Testnet Explorer
url: https://scan.meter.io/
chainId: 83
deployers:
deployer:
name: JaunePomme
url: https://github.com/JaunePomme
displayName: Meter testnet
Expand Down
14 changes: 14 additions & 0 deletions chains/solotestnet/addresses.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
domainRoutingIsmFactory: "0xbC2a336b11a18eC86bA0176E4D43a76cDB969Fe8"
interchainAccountIsm: "0xF79Ea4E1542333f2e6077AaC14DB517289cEd9ea"
interchainAccountRouter: "0x0b283d88d4c0575866063ca6dE2E511003dE2782"
mailbox: "0xcCbFE0425943f8Cc71a73C122943F0Eb6234DCd3"
merkleTreeHook: "0xAf513D45b8D775EF71f263115146164B6D446e72"
proxyAdmin: "0x71D5457B1772aB7c0912ab4940C6857a6A1B0a69"
staticAggregationHookFactory: "0xfC8157361745b8287F178B43dAd67B7d400183D8"
staticAggregationIsmFactory: "0xf3b317c08243cd96D72D30Ae6AABf0479eD43aDA"
staticMerkleRootMultisigIsmFactory: "0x0f86c4072fF641ab8B9B03339711329cC0Eb60b4"
staticMerkleRootWeightedMultisigIsmFactory: "0x90179e790d0a2240Ce0aE572D1024c2346f99544"
staticMessageIdMultisigIsmFactory: "0x9De3bfaE2ae2D050e20286cAD3e82e6f920C3D79"
staticMessageIdWeightedMultisigIsmFactory: "0xCc7438F81b6CF53CC1e14bD6e98f694E7455D56b"
testRecipient: "0xc4D25093EBc8004B02841d8789F01807428478ED"
validatorAnnounce: "0x7CE8640Fc5DedBa47D7A028566e31c2dD3BD28b0"
8 changes: 8 additions & 0 deletions chains/solotestnet/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions chains/solotestnet/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# yaml-language-server: $schema=../schema.json
blockExplorers:
- apiUrl: https://solo-testnet.explorer.caldera.xyz/api
family: blockscout
name: Solo Testnet Explorer
url: https://solo-testnet.explorer.caldera.xyz/
chainId: 8884571
deployer:
name: Solo Chain
url: https://solo.tech/
displayName: Solo Testnet
domainId: 8884571
isTestnet: true
name: solotestnet
nativeToken:
decimals: 18
name: Ether
symbol: ETH
protocol: ethereum
rpcUrls:
- http: https://solo-testnet.rpc.caldera.xyz/http
3 changes: 3 additions & 0 deletions chains/u2utestnet/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ blockExplorers:
name: u2uscan
url: https://testnet.u2uscan.xyz
chainId: 2484
deployer:
name: junayedmh
url: https://github.com/JunayedMh
displayName: U2U Testnet
domainId: 2484
isTestnet: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ tokens:
- token: ethereum|polygon|0x93b637AEA6a0dF51E8E24E49C62da34f616491c5
- token: ethereum|prom|0xd9c95e2ad330E11D7Dfa58f18504049f625E955e
decimals: 6
logoURI: /deployments/warp_routes/USDC/logo.svg
name: USD Coin
standard: EvmHypCollateral
symbol: USDC
Expand Down
2 changes: 2 additions & 0 deletions deployments/warp_routes/USDC/bsc-polygon-prom-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tokens:
- token: ethereum|polygon|0xFDf46770Da4F907c09aEd92299552DC9c7996d99
- token: ethereum|prom|0x424712Bec7c94a0F804c50F77B641A24F33A138e
decimals: 18
logoURI: /deployments/warp_routes/USDC/logo.svg
name: USD Coin
standard: EvmHypCollateral
symbol: USDC
Expand All @@ -16,6 +17,7 @@ tokens:
- token: ethereum|bsc|0x647eeD57dFDd335f9B6f2a9DbDFe09f166b1AdaC
- token: ethereum|prom|0x424712Bec7c94a0F804c50F77B641A24F33A138e
decimals: 18
logoURI: /deployments/warp_routes/USDC/logo.svg
name: USD Coin
standard: EvmHypSynthetic
symbol: USDC
Expand Down
2 changes: 2 additions & 0 deletions deployments/warp_routes/USDT/bsc-polygon-prom-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tokens:
- token: ethereum|polygon|0xd9765D5fE176493808202e63E6B73b523D6A1C3A
- token: ethereum|prom|0xDf6C58ec668daB037373BC49215722c2b0664484
decimals: 18
logoURI: /deployments/warp_routes/USDT/logo.svg
name: Tether USD
standard: EvmHypCollateral
symbol: USDT
Expand All @@ -16,6 +17,7 @@ tokens:
- token: ethereum|bsc|0x74e19D0c1828be422dDCd367a6ADa8CA7003d1a9
- token: ethereum|prom|0xDf6C58ec668daB037373BC49215722c2b0664484
decimals: 18
logoURI: /deployments/warp_routes/USDT/logo.svg
name: Tether USD
standard: EvmHypSynthetic
symbol: USDT
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@
"version:prepare": "yarn changeset version && yarn install --no-immutable",
"version:check": "yarn changeset status"
},
"packageManager": "yarn@4.0.2"
"packageManager": "yarn@4.5.1"
}
5 changes: 5 additions & 0 deletions scripts/utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import fs from 'fs';
import path from 'path';
import { parse as yamlParse } from 'yaml';

function findFiles(directory, fileTypes = [], isRecursive = true) {
const files = fs.readdirSync(directory);
Expand Down Expand Up @@ -32,3 +33,7 @@ export function getFilePaths(directories = [], fileTypes = [], isRecursive = tru
})
.flatMap((directory) => findFiles(directory, fileTypes, isRecursive));
}

export function readYaml(filePath) {
return yamlParse(fs.readFileSync(filePath, 'utf-8'));
}
Loading

0 comments on commit 8392cbf

Please sign in to comment.