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

feat: Cosmos SDK Module #5370

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

yjamin
Copy link

@yjamin yjamin commented Feb 4, 2025

Description

This PR adds Agent support for the upcoming Hyperlane Cosmos SDK Module, called CosmosNative, to differentiate it from the existing CosmWasm (CW) implementation.

Drive-by Fixes

  • Fixed sequence-aware backward cursor issue – The cursor was incorrectly including block height 0, which isn’t valid for Cosmos-based chains.

Related Issues

  • None reported.

Backward Compatibility

  • No breaking changes—this PR extends functionality without affecting existing implementations.

Testing

The CosmosNative implementation has been tested through:

  • Automated E2E tests – Following the same approach as the CW implementation.
  • Deployed preview – Currently live on the alpha network for additional validation.

E2E Testing Details

  • They pretty much follow the same structure as the CW tests.
  • They spin up a lightweight Cosmos SDK chain (simapp) with the Hyperlane Cosmos module.

Note: The simapp includes a preview version of the Hyperlane module since it's not officially released yet.

To run the tests locally, use:

cargo test -r -p run-locally --features cosmosnative -- cosmosnative::test --nocapture

Copy link

changeset-bot bot commented Feb 4, 2025

⚠️ No Changeset found

Latest commit: 8670421

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@yjamin yjamin changed the title Feat: Cosmos SDK Module feat: Cosmos SDK Module Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

1 participant