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

[BUG] (v0.5.x) nil pointer dereference on smart contract custom wasm event #528

Closed
nzaharov opened this issue Aug 10, 2021 · 1 comment · Fixed by #531
Closed

[BUG] (v0.5.x) nil pointer dereference on smart contract custom wasm event #528

nzaharov opened this issue Aug 10, 2021 · 1 comment · Fixed by #531
Labels
bug Something isn't working
Milestone

Comments

@nzaharov
Copy link

Describe the bug
Executing a contract which creates a custom wasm event (introduced in Cosmwasm 0.15.0) causes a runtime panic.
Exception seems to originate from x/wasm/types/connector.go.

MicrosoftTeams-image

To Reproduce
Create and execute a smart contract whose handler returns a Response with one Event, no attributes, no messages and no data.

Context & versions
Reproduced on LocalTerra bombay (Cosmwasm 0.15.0, cosmos-sdk 0.43.0-rc0) and bombay-next branches (Cosmwasm 0.16.0, cosmos-sdk 0.43.0-rc3).

@nzaharov nzaharov added the bug Something isn't working label Aug 10, 2021
@yun-yeo
Copy link
Contributor

yun-yeo commented Aug 11, 2021

Thanks a lot for reporting.

let me fix this @nzaharov

@yun-yeo yun-yeo added this to the Columbus-5 milestone Aug 11, 2021
@yun-yeo yun-yeo linked a pull request Aug 11, 2021 that will close this issue
8 tasks
@yun-yeo yun-yeo closed this as completed Aug 11, 2021
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 a pull request may close this issue.

2 participants