You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountered error when building PTB:
× Error when processing PTB
╭─[1:15]
1 │ --assign addr some(@0xa5657935a0698bf654ce4ceb66b5a6d6a371a934a6afcfd1e191aa2ee460c8cc)
· ────────────────────────────────────┬────────────────────────────────────
· ╰── Unable to serialize 'some(@0xA5657935A0698BF654CE4CEB66B5A6D6A371A934A6AFCFD1E191AA2EE460C8CC)' as a vector<address> value
2 │ --move-call 0xf5097105292df26739f5d2ca10d5011e6bc54245ef7f1e0c708de3aa7f946544::example::optional_address_param addr
╰────
Could not build PTB due to previous error
Steps To reproduce the bug
Have a function that accepts option<address>, for example
Bug description
In the CLI it's not possible to provide an option with an address as parameter to call a move function
For example calling this function in the testnet
fails with
Steps To reproduce the bug
option<address>
, for exampleSince the error mentions
vector<address>
I also tried to provide a vector instead, but this also doesn't work:->
CommandArgumentError { arg_idx: 0, kind: TypeMismatch } in command 1
The text was updated successfully, but these errors were encountered: