Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce correct warp config filenames in registry #209

Closed
jmrossy opened this issue Sep 18, 2024 · 0 comments
Closed

Enforce correct warp config filenames in registry #209

jmrossy opened this issue Sep 18, 2024 · 0 comments
Assignees
Labels

Comments

@jmrossy
Copy link
Collaborator

jmrossy commented Sep 18, 2024

The warp route IDs are ${tokenSymbol}/${alphabeticallyOrderedChainList} but some of the warp config filenames don't correctly order the chain names alphabetically. This will cause confusion.

Create a CI that enforces the file names match the IDs

@jmrossy jmrossy self-assigned this Sep 18, 2024
@jmrossy jmrossy converted this from a draft issue Sep 18, 2024
@jmrossy jmrossy added good first issue Good for newcomers registry labels Sep 18, 2024
@jmrossy jmrossy moved this to Sprint in Hyperlane Tasks Sep 18, 2024
@jmrossy jmrossy assigned Xaroz and unassigned jmrossy and xeno097 Dec 27, 2024
@jmrossy jmrossy moved this from Sprint to In Progress in Hyperlane Tasks Dec 27, 2024
@jmrossy jmrossy moved this from In Progress to Sprint in Hyperlane Tasks Dec 27, 2024
@Xaroz Xaroz moved this from Sprint to In Review in Hyperlane Tasks Jan 6, 2025
github-merge-queue bot pushed a commit that referenced this issue Jan 6, 2025
)

### Description

<!--
Summary of change.
Example: Add sepolia chain
-->

Fixes #439 and #209 

- Change `combine` and `optimize-svg` jobs to only run when commited to
`main`
- Add script to validate chains and warp routes
- Add `step` in `ci.ym`l test job to run these
- For chains it will check for missing `deployer` field and if its
missing logo file
- For warp routes it will check for missing config file and if chain
names are ordered correctly
- Updated `chain` test to check if `isTestnet` is set properly
- Update `warp-routes` test to check for `logoURI` field

### Backward compatibility

<!--
Are these changes backward compatible? Note that additions are backwards
compatible.

Yes/No
-->

Yes

### Testing

Manual
@Xaroz Xaroz closed this as completed Jan 7, 2025
ltyu pushed a commit that referenced this issue Jan 7, 2025
)

### Description

<!--
Summary of change.
Example: Add sepolia chain
-->

Fixes #439 and #209 

- Change `combine` and `optimize-svg` jobs to only run when commited to
`main`
- Add script to validate chains and warp routes
- Add `step` in `ci.ym`l test job to run these
- For chains it will check for missing `deployer` field and if its
missing logo file
- For warp routes it will check for missing config file and if chain
names are ordered correctly
- Updated `chain` test to check if `isTestnet` is set properly
- Update `warp-routes` test to check for `logoURI` field

### Backward compatibility

<!--
Are these changes backward compatible? Note that additions are backwards
compatible.

Yes/No
-->

Yes

### Testing

Manual
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

3 participants