Skip to content

Conversation

igorv43
Copy link

@igorv43 igorv43 commented Jul 10, 2025

Description

Add Terra Classic chain to the registry with corresponding metadata, including chain ID, RPC URLs, block explorer, and native token information.

Backward compatibility

Yes

Testing

Validated metadata with Hyperlane CLI. No deployments performed; only registry metadata was added.

Summary by CodeRabbit

  • New Features
    • Added support for the Terra Classic blockchain, including network configuration, native token details, and relevant connection endpoints.

Copy link

coderabbitai bot commented Jul 10, 2025

📝 Walkthrough

Walkthrough

A metadata YAML file for the Terra Classic blockchain has been introduced. It details the chain's configuration, including identifiers, network type, native asset information, gas price, protocol, endpoints, explorer info, and technical stack. This file establishes the necessary on-chain and network metadata for Terra Classic.

Changes

Cohort / File(s) Change Summary
Terra Classic Metadata
chains/terraclassic/metadata.yaml
Added Terra Classic blockchain metadata YAML defining chain config, native asset, gas price, protocol, endpoints, and explorer info.
Changeset Documentation
.changeset/itchy-cycles-type.md
Added changeset documenting update for Terra Classic integration in @hyperlane-xyz/registry package.

Poem

In the bog of blockchains, a new tale’s begun,
Terra Classic’s details, all neatly spun.
With LUNC in its pockets and endpoints galore,
Metadata’s ready—no swampy chore!
So gather ‘round, ogres, for configs so slick,
The chain’s in the ledger, and it’s magic—no trick!

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested reviewers

  • Mo-Hussain

Note

🔌 MCP (Model Context Protocol) integration is now available in Early Access!

Pro users can now connect to remote MCP servers under the Integrations page to get reviews and chat conversations that understand additional development context.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e9249c0 and 47f80d5.

📒 Files selected for processing (2)
  • .changeset/itchy-cycles-type.md (1 hunks)
  • chains/terraclassic/metadata.yaml (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • .changeset/itchy-cycles-type.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • chains/terraclassic/metadata.yaml
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
chains/terraclassic/metadata.yaml (2)

23-27: Only one RPC / gRPC / REST endpoint – a single swamp for all traffic

With just one endpoint per transport, any hiccup on that host will bog users down. Consider adding at least one more mirror for each of rpcUrls, grpcUrls, and restUrls to give the tooling a fallback path.


28-29: technicalStack: other feels vague

If there’s a more specific bucket (e.g. cosmos-sdk), slotting Terra Classic into that keeps the catalogue tidy and searchable.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4cee77e and e9249c0.

⛔ Files ignored due to path filters (1)
  • chains/terraclassic/logo.svg is excluded by !**/*.svg
📒 Files selected for processing (1)
  • chains/terraclassic/metadata.yaml (1 hunks)
🔇 Additional comments (2)
chains/terraclassic/metadata.yaml (2)

18-20: Gas price string – just make sure we’re not burnin’ extra uluna

"28.325" is wrapped as a string, which is fine if the schema expects a string. Two quick things to confirm:

  1. Is 28.325 uluna the recommended baseline for Columbus-5 right now?
  2. Do sibling Cosmos chains in the repo store this as a string or a number? Keeping the type consistent avoids foot-blisters later.

3-6: Swap out family: other for a more specific enum

Heh, labeling this explorer as other leaves things a bit muddy—if the registry schema defines a more precise family (like terra_finder or cosmos), swapping it in now keeps our dashboards from wading through swamp muck later.

  • chains/terraclassic/metadata.yaml
    - family: other
    + family: <schema_enum>  # e.g. terra_finder or cosmos

Copy link

changeset-bot bot commented Jul 11, 2025

🦋 Changeset detected

Latest commit: 47f80d5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hyperlane-xyz/registry Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Collaborator

@paulbalaji paulbalaji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a changeset with yarn changeset add

also run the linter/prettier with yarn lint:fix and yarn prettier

chore: add changeset and run lint/prettier as requested in PR review
@igorv43 igorv43 requested a review from paulbalaji August 8, 2025 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants