vm.mockCall in Solidity
Posted on Mon 24 July 2023 in tech • Tagged with solidity, ethereum, programming, tutorial
mocking calls to specific addresses in solidity
Mocking a specific address signature in Solidity is useful for simulating expected behavior from an existing address or instance of a contract. In mock testing dependencies are replaced with simulated implementations to isolate the behavior of the funtion under test.
Proxy contracts that …
Continue reading