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

Unable to parse actual address from lowercase string in inter-chain messaging #869

Open
Suyog007 opened this issue May 31, 2023 · 0 comments

Comments

@Suyog007
Copy link

https://github.com/icon-project/icon-bridge/blob/main/javascore/bts/src/main/java/foundation/icon/btp/bts/BTPTokenService.java#L292

In the code snippet provided above, we observe that the address within a string of another chain is being converted to lowercase and subsequently sent as a message to a different chain. However, it is important to note that not all chains are capable of retrieving the actual address from these lowercase string representations. Certain chains may encounter difficulties parsing the address from these lowercase strings.

Considering the potential issues arising from this situation, it is imperative to find a suitable solution. Lowercasing all strings is not a viable option, as it would introduce unintended consequences in other aspects of the system.

It would be beneficial to investigate alternative approaches that allow for the successful retrieval of the original address by all chains, regardless of the case sensitivity.

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

No branches or pull requests

1 participant