This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
dispute-coordinator: Make handle_import_statements
return FatalResult
#4396
Labels
T5-parachains_protocol
This PR/Issue is related to Parachains features and protocol changes.
instead of
Result
here.Reason being: We for example increase spam slots in this function, if then the import fails for some non fatal and unrelated reason, we should likely actually decrement previously incremented spam slots again, for non fatal errors - which is cumbersome and actually not needed, as in practice this function only has fatal errors right now, but it is not properly marked as such, because some used db related functions are not properly returning
FatalResult
yet.We should therefore:
handle_import_statements
returnFatalResult
instead ofResult
(by fixing called functions to do the same).FatalResult
The text was updated successfully, but these errors were encountered: