multiversx_sc_scenario::managed_test_util

Function check_managed_top_decode

Source
pub fn check_managed_top_decode<T: TopDecode + PartialEq + Debug>(
    bytes: &[u8],
) -> T
Expand description

Uses the managed types api to test encoding. Can be used on any type, but managed types are especially relevant.