[BUG] check
command logs a warning because a non fixed version of ink is set in templates dependencies
#202
Labels
check
command logs a warning because a non fixed version of ink is set in templates dependencies
#202
Description
The ink version (4.2.1) used in contract templates do not come prefixed with a "=" or "v".
This logs the warning below when running
swanky check
command.Then, this error occurs when adding the "=" prefix manually to the ink version in the
Cargo.toml
of the flipper contract template.To fix
version.startsWith("v")
since it is not a valid Rust prefix.Steps to Reproduce
swanky init test
cd test
swanky check
Expected vs. Actual Behavior
Expected: No warning logged.
Actual Behavior: Warning logged.
Environment
The text was updated successfully, but these errors were encountered: