LimeChain / matchstick

🔥 Unit testing framework for Subgraph development on The Graph protocol. ⚙️
MIT License
207 stars 17 forks source link

Support asserting `log.critical()` #391

Closed sebastiantf closed 11 months ago

sebastiantf commented 1 year ago

It would be really useful to support asserting the subgraph exits when encountering log.critical() in the mapping.

shouldFail() doesn't seem helpful with this regard

dimitrovmaksim commented 11 months ago

Unfortunately the method to catch this turned out to not be reliable and could result in unexpected behaviour. Closing this issue here, as we want to start fresh from version 0.6.0