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 do_db_read: wrong value when key not found #64

Merged
merged 4 commits into from
Nov 16, 2022
Merged

Conversation

ouiliame
Copy link
Contributor

Before, do_db_read was returning a pointer to a newly allocated array of uint8

According to cosmwasm-vm, we should be returning a pointer to 0 (null ptr).

@ouiliame ouiliame added the bug Something isn't working label Nov 16, 2022
@Bunchhieng Bunchhieng merged commit a5b5560 into main Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants