You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building Universal apps where several contracts must communicate from different chain, it would be useful to offer developers mocked gateway contract so they can run full integration with the Foundry test suite.
The mockedGateway directly call the onCall function when depositAndCall/withdrawAndCall/call function is called.
The contract should also have an interface like setReverting, setAborting to allow simulating the workflow of a reverting or aborting contract.
In this case the functions above would call the onRevert or onAbort functions
The text was updated successfully, but these errors were encountered:
When building Universal apps where several contracts must communicate from different chain, it would be useful to offer developers mocked gateway contract so they can run full integration with the Foundry test suite.
The mockedGateway directly call the
onCall
function when depositAndCall/withdrawAndCall/call function is called.The contract should also have an interface like
setReverting
,setAborting
to allow simulating the workflow of a reverting or aborting contract.In this case the functions above would call the onRevert or onAbort functions
The text was updated successfully, but these errors were encountered: