how can I pass a string from sui cli
to this function?
public entry fun foo<Bar: copy + drop + store>(
bar: Bar,
ctx: &mut TxContext,
) { ... }
This doesn’t work.
sui client call \
--module foo \
--package $PKD_ID \
--function foo \
--type-args "std::string::String" \
--args "\"bar\"" \
--gas-budget 100000000 \