Function multiversx_sc_snippets::imports::check_dep_encode
source · pub fn check_dep_encode<T>(obj: &T) -> Vec<u8> ⓘwhere
T: NestedEncode,
Expand description
Calls both the fast exit and the regular dep-encode, compares that the outputs are equal, then returns the result. To be used in serialization tests.