🐛 There are Two Instances of the cosmwasm VM running #395
Labels
priority: low
Should only be scheduled if it's important relative to other issues
type: bug 🐛
Something isn't working
Milestone
🐛 Bug Report
There are two instances of the
wasmVM
forcosmwasm
running.Steps to Reproduce
It's pretty un-noticeable in the current version of the chain.
However, upgrading
wasmd
andwasmVM
to the versions that use the2.0
version makes it clear when running the chain and trying to upload a contract.The newer version prevents 2 VM instances from running in the same directory(from migration guide, as well as changelog), meaning we are having two instances running, just the older version doesn't prevent us from doing this.
Code snippet to reproduce
wasmd
andwasmvm
).Stack trace & error message
Expected Behavior
Uploading the contract should not panic cause there should only be one instance of the VM running.
This could be why #385 is not working as well. Maybe
wasmer
no longer likes/allows 2 instances of a running VM to touch the same place in memory(on specific architectures??). Not sure TBH.The text was updated successfully, but these errors were encountered: