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

fix: Correct IInterchainSecurityModule interface usage #284

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kalpazanova53
Copy link

Description

This PR corrects the usage of the IInterchainSecurityModule interface in the documentation. The original implementation incorrectly referred to the interface as IInterchainSecurityModule() (with parentheses), which is not valid Solidity syntax for an interface name. After verifying the official repository here, it was confirmed that the correct interface name is IInterchainSecurityModule.

Key Updates:

  • Replaced IInterchainSecurityModule() with the correct IInterchainSecurityModule throughout the documentation.
  • Updated related references to ensure accuracy and consistency, such as examples and links to the Hyperlane verify and moduleType methods.
  • Verified compatibility with the original interface definition in the Hyperlane repository.

Test Plan

  1. Verify that the documentation correctly uses the interface name IInterchainSecurityModule.
  2. Confirm that the Hyperlane official interface link is accurate and leads to the correct definition.
  3. Cross-check examples and function references for consistency with the updated interface name.

Related Issue

No specific issue was linked to this fix, but it aligns with maintaining accurate and developer-friendly documentation.

Notes

  • This update ensures developers referencing this documentation have accurate guidance aligned with the official Hyperlane interface definition.
  • The correction avoids potential confusion or errors when implementing custom ISM contracts based on this documentation.

## Description
This PR corrects the usage of the `IInterchainSecurityModule` interface in the documentation. The original implementation incorrectly referred to the interface as `IInterchainSecurityModule()` (with parentheses), which is not valid Solidity syntax for an interface name. After verifying the official repository [here](https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/main/solidity/contracts/interfaces/IInterchainSecurityModule.sol), it was confirmed that the correct interface name is `IInterchainSecurityModule`.

### Key Updates:
- Replaced `IInterchainSecurityModule()` with the correct `IInterchainSecurityModule` throughout the documentation.
- Updated related references to ensure accuracy and consistency, such as examples and links to the Hyperlane `verify` and `moduleType` methods.
- Verified compatibility with the original interface definition in the Hyperlane repository.

## Test Plan
1. Verify that the documentation correctly uses the interface name `IInterchainSecurityModule`.
2. Confirm that the Hyperlane official interface link is accurate and leads to the correct definition.
3. Cross-check examples and function references for consistency with the updated interface name.

## Related Issue
No specific issue was linked to this fix, but it aligns with maintaining accurate and developer-friendly documentation.

## Notes
- This update ensures developers referencing this documentation have accurate guidance aligned with the official Hyperlane interface definition.
- The correction avoids potential confusion or errors when implementing custom ISM contracts based on this documentation.
Copy link

vercel bot commented Dec 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hyp-v3-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 27, 2024 8:32pm

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.

1 participant