software-mansion / protostar

Protostar is a toolchain for developing and testing Starknet contracts
https://docs.swmansion.com/protostar/
MIT License
247 stars 48 forks source link

Handle dispatchers failed execution in syscall (Invoke/Call) #2156

Open cptartur opened 1 year ago

cptartur commented 1 year ago

Right now, we assert that the execution of invoke/call to contract succeeded and panic if it didn't. The code should be updated so panic data is returned to the test and can be handled.