Hey guys,
On a local Libra instance, I compiled a module using:
dev compile 0 my-account.mvir module
and then published it with:
dev publish 0 /var/folders/nz/2gtkncgx56sgrpqvr40qhhrw0000gn/T/b54f8b37e6f1b5af4801b8929fe22956.mv
Then, I imported this module into my script:
import 0x09db97e44ae84e623fa2cf8da6187b804e9672a8d93a208c795a728cad4514a9.MyAccount;
At this point, I tried to compile the script with:
dev compile 0 mint.mvir script
But it throws the following error:
Compiling program
Finished dev [unoptimized + debuginfo] target(s) in 3.41s
Running `target/debug/compiler -l /var/folders/nz/2gtkncgx56sgrpqvr40qhhrw0000gn/T/f7c493ee0e9456392ecd6c2d81a3af5c.mvir`
Finished dev [unoptimized + debuginfo] target(s) in 0.74s
Running `target/debug/compiler /var/folders/nz/2gtkncgx56sgrpqvr40qhhrw0000gn/T/f7c493ee0e9456392ecd6c2d81a3af5c.mvir -a 09db97e44ae84e623fa2cf8da6187b804e9672a8d93a208c795a728cad4514a9 --deps=/var/folders/nz/2gtkncgx56sgrpqvr40qhhrw0000gn/T/8c0644bf8a4a00caed23d44f35d9890c`
thread 'main' panicked at 'Failed to compile program: ErrorMessage { msg: "Dependency not provided for 09db97e44ae84e623fa2cf8da6187b804e9672a8d93a208c795a728cad4514a9.MyAccount" }', src/libcore/result.rs:1165:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
compilation failed
Any help would be greatly appreciated.
Thanks!