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

fix(internal): ensure all sanitizeKeys int values are sanitized to str #346

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

TarikGul
Copy link
Member

@TarikGul TarikGul commented Jan 16, 2024

Ensure all values within sanitizeKeys are sanitized to strings if the value is a int. This specifically affects anything that uses resolveMultilocation, and sanitizeKeys.

This is especially effective since values that are recieved in the registry, the chain, or polkadot-js may not be 100% guaranteed to have the same structure we may expect.

closes: #345

@TarikGul TarikGul merged commit fa02cc2 into main Jan 17, 2024
8 checks passed
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.

Multilocation values should be sanitized to be strings.
1 participant