Skip to content

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

@Suyog007

Description

@Suyog007

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions