Couldn’t find the answer. There is no such panic hook in ic-cdk-rs
either.
Will panic
revert the state? Is it correct to use Result::expect
and other helpers which panic
?
Couldn’t find the answer. There is no such panic hook in ic-cdk-rs
either.
Will panic
revert the state? Is it correct to use Result::expect
and other helpers which panic
?
Did you ever get an answer on this?
Some conflicting info here.
I mean the state before the last async call won’t be rolled back. State changes from the last async till trap is reverted.