defi-wonderland / smock

The Solidity mocking library
MIT License
319 stars 40 forks source link

No wallet property on MockContract #93

Closed richard-massless closed 2 years ago

richard-massless commented 2 years ago

Description There is no wallet property on a MockContract.

Reproduction steps

    let myMock = await ( await smock.mock<ContractName>("ContractName")).deploy();
    console.log(myMock.wallet); // undefined

Expected behavior After successfully initialising a MockContract called myMock I would expect there to be the property myMock.wallet but myMock.wallet is undefined.