sui icon indicating copy to clipboard operation
sui copied to clipboard

Sui Test Move Command Always Fails (CLI 0.7.2)

Open PaulFidika opened this issue 3 years ago • 1 comments
trafficstars

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?

PaulFidika avatar Aug 28 '22 06:08 PaulFidika

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.

awelc avatar Sep 09 '22 15:09 awelc

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.

github-actions[bot] avatar Nov 10 '22 02:11 github-actions[bot]

Closing. Please reopen if need be.

awelc avatar Nov 10 '22 02:11 awelc