Function multiversx_sc_codec::test_util::check_top_encode
source · Expand description
Calls both the fast exit and the regular top-encode, compares that the outputs are equal, then returns the result. To be used in serialization tests.