CosmWasm / wasmvm

Go bindings to the CosmWasm VM
Apache License 2.0
173 stars 98 forks source link

Avoid checking `errOut.is_none` for unused errOut #541

Closed chipshort closed 4 months ago

chipshort commented 4 months ago

closes #536

I was able to reproduce it locally with the tests here in the repo. I removed the is_none checks and that seems to help, but it's still a bit scary that this happens in the first place.

webmaster128 commented 4 months ago

but it's still a bit scary that this happens in the first place.

Jupp, looks like an optimizer bug – especially since different optimizer levels are a workaround