Open 0xaptosj opened 2 weeks ago
@0xaptosj can you elaborate?
@0xaptosj can you elaborate?
Yes, I will add more detail this week, i'm working a in depth tutorial on surf now and will have an update soon
@0xbe1 @SamuelQZQ i updated the issue description. thanks for taking a look!
@0xaptosj thank you for the information. I will try to fix it.
For Object type
get_messages
returns a vector of objects with type beingmy_module_address::Message
, however the type inferred by surf isunknown[]
, I was expecting it to return{inner: string}[]
.Node script using surf.
Contract code
For Option type
get_message_content
returns all fields of the message, where it has a bunch of fields withOption
type. Surf also returnsunknown
for thoseOption
types.Node script using surf
Contract code