Affected Files: onrecv_packet.go L57
Description
As the comment states, the non-x versions of tokens received should be registered to the tokenRegistry module to allow the following token conversion operations. Without proper token registrations, the function call on line 58 will return an error and the following tokens conversions will not be executed.
convertToDenomEntry, err := whitelistKeeper.GetRegistryEntry(ctx, mintedDenomEntry.UnitDenom)
Recommendation
Recommend the Sifchian Team to complete the aforementioned workflow by validating and registering the non-x versions of tokens before further execution if necessary.
Affected Files: onrecv_packet.go L57
Description
As the comment states, the non-x versions of tokens received should be registered to the tokenRegistry module to allow the following token conversion operations. Without proper token registrations, the function call on line 58 will return an error and the following tokens conversions will not be executed.
Recommendation
Recommend the Sifchian Team to complete the aforementioned workflow by validating and registering the non-x versions of tokens before further execution if necessary.