Propagate errors in the on_slash
hook of loans
#1065
Labels
enhancement
New feature or request
Milestone
on_slash
hook of loans
#1065
Is your feature request related to a problem? Please describe.
Due to the
slash
signature in FRAME, the orml-traitsOnSlash
hook is also not allowed to return aResult
.Describe the solution you'd like
The opened issue on the substrate repo seems to be slowly making progress, but it may be desirable to speed this up by implementing this ourselves upstream. Once that is done, the
on_slash
function in orml-traits should return aDispatchResult
and the loans code should propagate errors instead of logging them.The text was updated successfully, but these errors were encountered: