defi-wonderland / smock

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

connect function leaves types behind #60

Closed 0xGorilla closed 3 years ago

0xGorilla commented 3 years ago

Describe the bug When doing myContract.connect(someone), the type is lost, leaving a BaseContract

Expected behavior connect should return a FakeContract or a MockContract