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(faucet): support both account and module addresses #1593

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

Conversation

0xpatrickdev
Copy link

@0xpatrickdev 0xpatrickdev commented Jun 7, 2024

This PR updates the isValidAddress function to accept a wider range of valid addresses, including module account addresses for Interchain Accounts (ICS-27).

- allow 20-32 byte addresses to validate both standard accounts and module accounts
@0xpatrickdev 0xpatrickdev force-pushed the faucet-is-valid-address branch from cf48a81 to 016eed9 Compare June 26, 2024 18:25
@0xpatrickdev 0xpatrickdev changed the title fix(faucet): isValidAddress should accept all bech32 addresses fix(faucet): support both account and module addresses Jun 26, 2024
Copy link
Member

@webmaster128 webmaster128 left a comment

Choose a reason for hiding this comment

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

Thanks!

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