Skip to content

Only allow new contract names beginning with an alphabetic character#219

Merged
ascjones merged 3 commits intomasterfrom
aj-name-starts-with-alpha
Mar 9, 2021
Merged

Only allow new contract names beginning with an alphabetic character#219
ascjones merged 3 commits intomasterfrom
aj-name-starts-with-alpha

Conversation

@ascjones
Copy link
Copy Markdown
Collaborator

@ascjones ascjones commented Mar 8, 2021

Fixes #218

@ascjones ascjones requested a review from cmichi March 9, 2021 11:22
@ascjones ascjones merged commit 3cd01bd into master Mar 9, 2021
@ascjones ascjones deleted the aj-name-starts-with-alpha branch March 9, 2021 15:46
cmichi pushed a commit that referenced this pull request Mar 10, 2021
…219)

* Only allow contract names beginning with an alphabetic character

* Add test for contract name beginning with a number

* Add test for contract name beginning with a number
ascjones added a commit that referenced this pull request Mar 10, 2021
* Revert "Revert me: Remove `--all-features` (#114)"

This reverts commit 4a0d352.

* Pass verbosity flag

* Format use

* Run tests without `binaryen-as-dependency`

* Update to `scale-info` 0.6

* Fix `value used after move`

* Do not continue processing wasm on `check`

Results in `No such file` otherwise, since
no *.wasm is generated on `check`.

* Make casing consistent for `log` messages

* Clarify behavior of `check`

* Revert me: add debug output

* Upgrade `cargo_metadata` to 0.13.1

* Fix assert for target path `target/ink`

* Revert "Revert me: add debug output"

This reverts commit d2bf1dd.

* Revert "Upgrade `cargo_metadata` to 0.13.1"

This reverts commit 723c9b2.

* Run tests only with `binaryen-as-dependency`

* Upgrade cargo-metadata and fix usages (#210)

* Only allow new contract names beginning with an alphabetic character (#219)

* Only allow contract names beginning with an alphabetic character

* Add test for contract name beginning with a number

* Add test for contract name beginning with a number

* Run tests only with `binaryen-as-dependency`

* Refactor

* Revert "Refactor"

This reverts commit defe20d.

Co-authored-by: Andrew Jones <[email protected]>
@cmichi cmichi mentioned this pull request Mar 31, 2021
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 this pull request may close these issues.

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

2 participants