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

test: Implement address verification in TestKeysExport #1552

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

Conversation

VolodymyrBg
Copy link

This commit implements the TODO in the TestKeysExport function to verify that
the address of the imported key matches the expected address. This ensures
that the key export and import process correctly preserves the key's address.

The implementation:

  1. Retrieves the imported key from the keyring
  2. Gets the address from the key
  3. Compares it with the expected address (relayertest.ZeroCosmosAddr)

This verification adds an additional layer of testing to ensure the key
export/import functionality works correctly.

@VolodymyrBg VolodymyrBg requested a review from a team as a code owner March 13, 2025 13:39
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