-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warp route config read support (#43)
### Description Add support for reading warp route configs from registries ### Backward compatibility Technically yes but marking changeset as major to compensate for incorrect version bump in last version. See hyperlane-xyz/hyperlane-monorepo#3821 ### Testing New unit tests
- Loading branch information
Showing
17 changed files
with
548 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@hyperlane-xyz/registry': major | ||
--- | ||
|
||
Add support for reading warp route configs from registries | ||
Add getURI method to registry classes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
"@hyperlane-xyz/registry": patch | ||
'@hyperlane-xyz/registry': patch | ||
--- | ||
|
||
Add black border to Blast logo.svg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
export const SCHEMA_REF = '# yaml-language-server: $schema=../schema.json'; | ||
|
||
export const DEFAULT_GITHUB_REGISTRY = 'https://github.com/hyperlane-xyz/hyperlane-registry'; | ||
export const GITHUB_FETCH_CONCURRENCY_LIMIT = 5; | ||
|
||
export const CHAIN_FILE_REGEX = /chains\/([a-z0-9]+)\/([a-z]+)\.(yaml|svg)/; | ||
export const WARP_ROUTE_CONFIG_FILE_REGEX = /warp_routes\/([a-zA-Z0-9]+)\/([a-z0-9-]+)-config.yaml/; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
export { CoreChain, CoreChainName, CoreChains, CoreMainnets, CoreTestnets } from './core/chains.js'; | ||
|
||
export { DEFAULT_GITHUB_REGISTRY } from './consts.js'; | ||
export { BaseRegistry, CHAIN_FILE_REGEX } from './registry/BaseRegistry.js'; | ||
export { | ||
CHAIN_FILE_REGEX, | ||
DEFAULT_GITHUB_REGISTRY, | ||
WARP_ROUTE_CONFIG_FILE_REGEX, | ||
} from './consts.js'; | ||
export { BaseRegistry } from './registry/BaseRegistry.js'; | ||
export { GithubRegistry, GithubRegistryOptions } from './registry/GithubRegistry.js'; | ||
export { ChainFiles, IRegistry, RegistryContent, RegistryType } from './registry/IRegistry.js'; | ||
export { MergedRegistry, MergedRegistryOptions } from './registry/MergedRegistry.js'; | ||
export { PartialRegistry, PartialRegistryOptions } from './registry/PartialRegistry.js'; | ||
export { | ||
filterWarpRoutesIds, | ||
warpConfigToWarpAddresses, | ||
warpRouteConfigPathToId, | ||
warpRouteConfigToId, | ||
} from './registry/warp-utils.js'; | ||
export { ChainAddresses, ChainAddressesSchema } from './types.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.