multiversx_sc_scenario::managed_test_util

Function check_managed_top_encode_decode

Source
pub fn check_managed_top_encode_decode<V>(element: V, expected_bytes: &[u8])
where V: TopEncode + TopDecode + PartialEq + Debug + 'static,
Expand description

Uses the managed types api to test encoding both ways.