sui
sui copied to clipboard
Sui Test Move Command Always Fails (CLI 0.7.2)
Whenever I run sui test move I get the following error:
ITE: An unknown error was reported. Location:
│ VMError (if there is one): VMError {
│ major_status: UNEXPECTED_VERIFIER_ERROR,
│ sub_status: None,
│ message: Some(
│ "Unexpected verifier/deserialization error! This likely means there is code stored on chain that is unverifiable!\nError: VMError { major_status: MISSING_DEPENDENCY, sub_status: None, message: None, exec_state: None, location: Module(ModuleId { address: 0000000000000000000000000000000000000002, name: Identifier(\"crypto\") }), indices: [(FunctionHandle, 0)], offsets: [] }",
│ ),
│ exec_state: None,
│ location: Module(
│ ModuleId {
│ address: 0000000000000000000000000000000000000002,
│ name: Identifier(
│ "crypto",
│ ),
│ },
│ ),
│ indices: [
│ (
│ FunctionHandle,
│ 0,
│ ),
│ ],
│ offsets: [],
│ }
I'm using version 0.7.2 of the Sui CLI (which is the latest version). It looks like there's some problem with the version of the VM that I'm using? Any idea on how to fix this?
Please provide a more detailed information on how to repro, in particular what code you are trying to compiler, otherwise I can only offer a guess.
It looks like you are using a crypto package but this (framework) package is not present as a dependency. It's possible that you are using an outdated version of the sui binary.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Closing. Please reopen if need be.