multiversx_sc_scenario::imports

Function 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.