substrate
substrate copied to clipboard
pallet-assets callback improvement
Improves AssetsCallback trait by introducing Result<(), ()> as the return type.
This allows callback to inform the pallet whether the asset creation (or destruction) should complete or not.
Also moves the destroyed callback invocation to do_finish_destroy function.