Skip to content

Conversation

@Thunnini
Copy link
Member

@Thunnini Thunnini commented Nov 7, 2025

#1467

In the case of a chain id like minepflex-testnet-2-5, when converted to the {chainIdentifier}-{version} format, the chainIdentifier becomes minepflex-testnet-2. However, if minepflex-testnet-2 is again converted using the same format, the chainIdentifier becomes minepflex-testnet.
Since existing functions attempt this kind of format conversion internally to support both chainId and chainIdentifier, the final result is that minepflex-testnet-2-5 ends up being registered in the permission system with minepflex-testnet as its chainIdentifier.

Fixing this issue within the permission system would cause problems in other functionalities, and it’s difficult to modify all of them individually.
So far, this type of chain id has been rare, and there have been no such cases among the chains registered in KCR.
For now, we will modify the validation logic to reject cases where the chainIdentifier would become nested.

@Thunnini Thunnini requested a review from a team as a code owner November 7, 2025 08:45
@vercel
Copy link

vercel bot commented Nov 7, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
keplr-wallet-extension Ready Ready Preview Comment Nov 7, 2025 9:22am

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.

3 participants