protostar icon indicating copy to clipboard operation
protostar copied to clipboard

Support multiple calls passed to `mock_call`

Open Arcticae opened this issue 2 years ago • 2 comments

As a StarkNet smart contract developer, I want to mock multiple contract calls with mock_call so that i can pass subsequent return values of a call, which might differentiate from one another.

Arcticae avatar Dec 07 '22 16:12 Arcticae

https://discord.com/channels/793094838509764618/964116575387021413/1050049462967484436

kasperski95 avatar Dec 08 '22 09:12 kasperski95

We could add mock_call_once which can be stacked. I would postpone it after the Protostar1.0 release though

MaksymilianDemitraszek avatar Dec 08 '22 12:12 MaksymilianDemitraszek