1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use elrond_wasm::api::{CallTypeApi, HandleTypeInfo, StorageMapperApi, VMApi};

use crate::DebugApi;

use super::debug_handle_mock::DebugHandle;

impl CallTypeApi for DebugApi {}

impl StorageMapperApi for DebugApi {}

impl PartialEq for DebugApi {
    fn eq(&self, _: &Self) -> bool {
        panic!("Comparing DebugApi/TxContextRef not allowed.")
    }
}

impl Eq for DebugApi {}

impl VMApi for DebugApi {}

impl HandleTypeInfo for DebugApi {
    type ManagedBufferHandle = DebugHandle;

    type BigIntHandle = DebugHandle;

    type BigFloatHandle = DebugHandle;

    type EllipticCurveHandle = DebugHandle;
}