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
since SCALE now has EncodeCustom and DecodeCustom functions to check if a type has a custom encoding function, we can clean up instances of types that have types within them that can be custom encoded.
SCALE may also need to be updated to integrate the Custom functions within EncodeTuple, EncodeArray, etc. same for Decode. additionally all custom functions should have the function sig func (ms *MyStruct) Decode(r io. Reader) error
including but not limited to usages of: p2p message types, babe types, optional types
The text was updated successfully, but these errors were encountered:
since SCALE now has EncodeCustom and DecodeCustom functions to check if a type has a custom encoding function, we can clean up instances of types that have types within them that can be custom encoded.
SCALE may also need to be updated to integrate the Custom functions within EncodeTuple, EncodeArray, etc. same for Decode. additionally all custom functions should have the function sig
func (ms *MyStruct) Decode(r io. Reader) error
including but not limited to usages of: p2p message types, babe types, optional types
The text was updated successfully, but these errors were encountered: