Skip to content

Sui Move build/test fails for devnet #25628

@FrankC01

Description

@FrankC01

With envs set to devnet

sui client chain-identifier
a63d14dc

Create Move.toml

[package]
name = "suiparm"
edition = "2024" # edition = "legacy" to use legacy (pre-2024) Move
license = "Apache 2.0"           # e.g., "MIT", "GPL", "Apache 2.0"

[environments] 
devnet = "a63d14dc"

# [dependencies]
# Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/devnet" }

[addresses]
# suiparm = "0x0"


[dev-dependencies]
# The dev-dependencies section allows overriding dependencies for `--test` and
# `--dev` modes. You can introduce test-only dependencies here.
# Local = { local = "../path/to/dev-build" }

[dev-addresses]
# The dev-addresses section allows overwriting named addresses for the `--test`
# and `--dev` modes.
# alice = "0xB0B"

Try to test or build

fastfrank@~/frankc01/sui-parm $ sui move test -e devnet
Environment `devnet` is not present in Move.toml

Expected Result

Expect to build or test succesfully

Actual Result

Error

Environment `devnet` is not present in Move.toml

System Information

  • macos: Tahoe 26.3
  • Compiler: sui-client 1.67.0-2f31fcceb844 but happening since new package mananager.

Metadata

Metadata

Assignees

Labels

cliCommand line tools

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions