Is there a way to benchmark an extrinsic whose expected behavior is to trigger an error?
I stumbled on a project where we have two instances of the same pallet. Instance1
will proceed normally for a given extrinsic, but Instance2
will intentionally fail (based on runtime condition setup for this instance), triggering an error.
I wonder if there is a way to benchmark the extrinsic for the failing condition and if not, how to gracefully handle this case.