logos-execution-zone-module/tests/mocks/mock_wallet_ffi_capture.h

18 lines
544 B
C++

#ifndef MOCK_WALLET_FFI_CAPTURE_H
#define MOCK_WALLET_FFI_CAPTURE_H
// LogosCMockStore (logos_clib_mock.h) only lets tests control return values, not
// inspect call arguments. The transfer_shielded/transfer_private identifier logic
// needs the latter, so capture the relevant args here in plain static storage.
#include <cstdint>
namespace MockWalletFfiCapture {
extern uint8_t lastTransferShieldedIdentifier[16];
extern uint8_t lastTransferPrivateIdentifier[16];
} // namespace MockWalletFfiCapture
#endif // MOCK_WALLET_FFI_CAPTURE_H