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

cargo contract new commond can create contract that the name start with a digit ,but cargo not support it #218

Closed
gpBlockchain opened this issue Mar 8, 2021 · 0 comments · Fixed by #219

Comments

@gpBlockchain
Copy link

step 1:
cargo contract new 123hahah

step 2:
cd 123hahah
cargo +nightly test
result :
test@MacBook-Pro-4 12haha % cargo +nightly test
error: failed to parse manifest at /Users/test/testEnv/1/12haha/Cargo.toml

Caused by:
the name 12haha cannot be used as a package name, the name cannot start with a digit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant