Hi there,
How do you guys use the PTB CLI with a vector (I understand how the TS SDK works, but not the CLI)? The docs has this example for an assign --assign X [100,5000]
, but I get errors (below). Note that I do escape some characters because I’m using ZSH. This is also devnet. I also tried a few examples with --make-move-vec
(below), but it never assigns the vector to a variable (I’m not even sure if that’s possible?). Thanks for looking.
Function:
public fun do_something( v: vector<u8>){
let received = true;
emit(VectorReceived {
received,
});
}
Errors: