defi-wonderland / smock

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

test: demonstrate async callback problems #143

Closed robercano closed 3 months ago

robercano commented 2 years ago

Description Adds tests to demonstrate an issue when an async callback is used for returns and a contract call is made in that callback. Contract state seems to be updated inside the callback but then it is lost once the callback finishes execution