Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Dove test broken on 1.6 when Diem specific code is referenced #210

Open
villesundell opened this issue Feb 9, 2022 · 1 comment
Open

Comments

@villesundell
Copy link
Contributor

Hello, fellow Move soldiers!
We continue marching on, despite the negative news lately.
Glad to see 1.6 being released nevertheless 🎉

The previous issue with dove test that was fixed in 1.5.6 (#180) reincarnated in 1.6.0-86817ac.

The test problem being:

┌── test_wrap ──────
│ 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, location: Module(ModuleId { address: 0000000000000000000000000000000000000000000000000000000000000001, name: Identifier(\"DiemAccount\") }), indices: [(FunctionHandle, 0)], offsets: [] }",
│     ),
│     location: Module(
│         ModuleId {
│             address: 0000000000000000000000000000000000000000000000000000000000000001,
│             name: Identifier(
│                 "DiemAccount",
│             ),
│         },
│     ),
│     indices: [
│         (
│             FunctionHandle,
│             0,
│         ),
│     ],
│     offsets: [],
│ }
└──────────────────
@mkurnikov
Copy link
Contributor

I don't think this problem is related to named addresses. 1.6.0 right now doesn't support Diem-specific native functions, like ones found in DiemAccount, I assume you're trying to use DiemAccount::create_signer().

As a workaround, you can try Pontem-specific one from here https://github.com/pontem-network/pont-stdlib/blob/master/sources/PontAccount.move#L440 if that fits your case.

I'll get back to you later regarding support for DiemAccount::create_signer() and others.

@villesundell villesundell changed the title Dove test broken on 1.6 Diem specific code is referenced Dove test broken on 1.6 when Diem specific code is referenced Feb 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants