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 transfer asset loading issues on iOS with static typing #733

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

ruixhuang
Copy link
Contributor

When iOS passes in transfer.type == nil, Abacus should still set the inputType to "transfer" so that the transfer assets get assigned to the transfer.input.

@ruixhuang ruixhuang marked this pull request as ready for review October 25, 2024 16:59
Comment on lines -47 to -50
if (type == null) {
val error = ParsingError.cannotModify("type")
return StateResponse(state, null, iListOf(error))
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we removing because because type can be null?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah.. iOS is passing null there

@ruixhuang ruixhuang merged commit 5ddc535 into main Oct 29, 2024
3 checks passed
@ruixhuang ruixhuang deleted the feature/static_typing_transfer branch October 29, 2024 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants