does not make system unreserve in case ExecutionError::Actor
is returned
#3718
Labels
C0-bug
Something isn't working
ExecutionError::Actor
is returned
#3718
Problem
Currently we use default system reservation context in case
ExecutionError::Actor
is returned fromexecute_wasm
. This is not correct in case message had been executed and has reservation context, but by some reasons after wakeExecutionError::Actor
occurs. This can happen for example if we would make runtime upgrade with some breaking changes in wasm executor environment instantiation. And message was waked after runtime upgrade.So, we must handle this case, in order to avoid possible panic from this place:
gear/common/src/gas_provider/internal.rs
Lines 580 to 584 in 69cdfea
The text was updated successfully, but these errors were encountered: