Skip to content

Conversation

@webmaster128
Copy link
Member

This is an alternative approach to #949, which is more feature rich.

In contrast to Go strings, the deserialization into []byte allows converting JSON null to Go nil easily.

Closes #949

@webmaster128 webmaster128 requested review from alpe and ethanfrey June 23, 2021 15:40
Copy link
Contributor

@ethanfrey ethanfrey left a comment

Choose a reason for hiding this comment

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

Fine with me since we did check this works.

Alex, I guess you need to double-check the handling in wasmd or []byte and strings.

@alpe
Copy link
Contributor

alpe commented Jun 24, 2021

I have opened an issue in wasmd to change the logic to match this case.

Copy link
Contributor

@alpe alpe left a comment

Choose a reason for hiding this comment

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

👍 Good definition. Please wait to merge this for the patch in wasmd

@webmaster128
Copy link
Member Author

webmaster128 commented Jun 24, 2021

Thanks! Merging now was part of the package CosmWasm 0.15 + wasmd 0.18. The change in CosmWasm/wasmd#534 should be unreleased until we cut 0.18 anyways.

@webmaster128 webmaster128 merged commit d54e5f0 into main Jun 24, 2021
@webmaster128 webmaster128 deleted the empty-data branch June 24, 2021 09:17
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.

4 participants