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
When using avalanche blockchain create, if the commands fails, then running the command again with the same blockchain name is not possible because the corresponding folder in .avalanche-cli/subnets already exists, but is malformed.
To Reproduce
Via the README, install Avalanche-CLI using the following:
curl -sSfL https://raw.githubusercontent.com/ava-labs/avalanche-cli/main/scripts/install.sh | sh -s
Call avalanche blockchain create morpheusvm
For the genesis, use an empty JSON file
For the VM binary, use the MorpheusVM binary
After the prior two steps, you should get an error relating to a field in the genesis not being specified. This is fine.
Call avalanche blockchain create morpheusvm. This should result in an error
Expected behavior
I expected for the CLI to clean up the malformed folder, thus allowing me to execute the command again.
Screenshots
Logs
Operating System
macOS 14.5
Additional context
To create the binary for MorpheusVM, go to the HyperSDK repo and run the following in examples/morpheusvm:
go build -o ./build/morpheusvm ./cmd/morpheusvm
The text was updated successfully, but these errors were encountered:
for more context, the particular error message is subnet %s has inconsistent configuration. there is no %s file present on directory %s. please backup any file and then remove the subnet, has can happen if the subnet directory was created but by failure the sidecar not.
Describe the bug
When using
avalanche blockchain create
, if the commands fails, then running the command again with the same blockchain name is not possible because the corresponding folder in.avalanche-cli/subnets
already exists, but is malformed.To Reproduce
README
, install Avalanche-CLI using the following:curl -sSfL https://raw.githubusercontent.com/ava-labs/avalanche-cli/main/scripts/install.sh | sh -s
avalanche blockchain create morpheusvm
avalanche blockchain create morpheusvm
. This should result in an errorExpected behavior
I expected for the CLI to clean up the malformed folder, thus allowing me to execute the command again.
Screenshots
Logs
Operating System
macOS 14.5
Additional context
To create the binary for MorpheusVM, go to the HyperSDK repo and run the following in
examples/morpheusvm
:The text was updated successfully, but these errors were encountered: