Skip to content

Commit

Permalink
[move-2024] Change default TOML to be 2024 beta (MystenLabs#16697)
Browse files Browse the repository at this point in the history
## Description 

Change  default TOML to be 2024 beta

## Test Plan 

Local testing, plus other tests still work.

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### Type of Change (Check all that apply)

- [ ] protocol change
- [x] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes

Changes the default `Move.toml` for `sui move new` and `move new` to use
the Move 2024 beta release.
  • Loading branch information
cgswords authored Mar 20, 2024
1 parent 3767070 commit 0fe8af0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions external-crates/move/crates/move-cli/src/base/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ impl New {
w,
r#"[package]
name = "{name}"
# edition = "2024.alpha" # To use the Move 2024 edition, currently in alpha
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move
# license = "" # e.g., "MIT", "GPL", "Apache 2.0"
# authors = ["..."] # e.g., ["Joe Smith ([email protected])", "John Snow ([email protected])"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ Command `new P1`:
External Command `cat P1/Move.toml`:
[package]
name = "P1"

# edition = "2024.alpha" # To use the Move 2024 edition, currently in alpha
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move
# license = "" # e.g., "MIT", "GPL", "Apache 2.0"
# authors = ["..."] # e.g., ["Joe Smith ([email protected])", "John Snow ([email protected])"]

Expand Down Expand Up @@ -40,8 +39,7 @@ Command `new P2 -p other_dir`:
External Command `cat other_dir/Move.toml`:
[package]
name = "P2"

# edition = "2024.alpha" # To use the Move 2024 edition, currently in alpha
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move
# license = "" # e.g., "MIT", "GPL", "Apache 2.0"
# authors = ["..."] # e.g., ["Joe Smith ([email protected])", "John Snow ([email protected])"]

Expand Down

0 comments on commit 0fe8af0

Please sign in to comment.