You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
I tried this and couldn't reproduce. In step 3 you say try to upgrade does this mean you ran the upgrade command or vscode automatically ran the upgrade command?
The problem seems to occur when you haven't instantiated the contract and then start debug. The configuration.env seems to have the instantiate command as part of the EXTENSION_COMMAND.
This bug doesn't occur If you have instantiated the contract already and then start debug.
The problem happens because of pressing the rebuild button on debug. Before we try to instantiate we should check if it is already instantiated. The same problem will exist for upgrade and we should check that we do actually need to upgrade
Fixed problem with instantiate or upgrade wrongly being called when reload button is pressed
closes#1230
Signed-off-by: Caroline Fletcher <caroline.fletcher@uk.ibm.com>
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Unexpected behaviour when trying to upgrade a contract, whilst running a debug session is active.
Found by @liam-grace
Expected Behavior
I'd expect to be asked for a name and version (or just a version if it can obtain the name) and then not error when upgrading.
Actual Behavior
It errors when upgrading (check steps to reproduce)
Possible Fix
Steps to Reproduce
Existing issues
Log File
Your Environment
The text was updated successfully, but these errors were encountered: