substrate icon indicating copy to clipboard operation
substrate copied to clipboard

pallet-assets callback improvement

Open Dinonard opened this issue 1 year ago • 0 comments

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.

Dinonard avatar Mar 06 '23 10:03 Dinonard