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
When we create a PTB (using ProgrammableTransactionBuilder), sometimes we need to fill the type parameters, which is of type Vec<TypeTag>.
TypeTag comes from move-core-types crate, and is re-exported in sui-types, which could be imported by use sui_sdk::types. This is convenient. However, TypeTag may wrap a StructTag, and StructTag is not re-exported. So I have to add move-core-types in my Cargo.toml.
It's kinda weird TypeTag is re-exported while StructTag isn't...