Cannot verify an app link correctly #661
Labels
kind/bug
Something isn't working
x/profiles
Module that allows to create and manage decentralized social profiles
Milestone
Bug description
Currently it's not possible to verify an application link correctly due to how data is returned from the Band oracle right now.
Steps to reproduce
Expected behavior
The link should be verified correctly and it's status should be set to
APPLICATION_LINK_STATE_VERIFICATION_SUCCESS
Bug breakdown
This bug was introduced with #652. Inside such PR we changed the application links so that their value must be hex-encoded. However, when an application link verification has been completed by Band, before updating its state to
APPLICATION_LINK_STATE_VERIFICATION_SUCCESS
we require that the returned value from Band oracle is equals to the username specified from the user. Since the Band result is HEX-encoded and the username provided by the user is UTF-8 encoded, this check can never succeed result in all links erroring with the errorinvalid application username
.The text was updated successfully, but these errors were encountered: