joystream
joystream copied to clipboard
Remove utility pallet
Background
To deal with this
https://github.com/Joystream/joystream/issues/4186
we are doing this
https://github.com/Joystream/joystream/issues/4135#issuecomment-1214703841
but this has the complication that one cannot, even in theory, work out what call is triggering a given event in the Hydra event mapper when the call is wrapped in something like ´batchor
batch_all, as the same call may appear multiple times in such an extrinsic, e.g.
batch(..., call ,..., call, batch(call,,..)). While calls like
sudoor
sudo_asalso are a pain, they only have a single core
call`, hence one can work around these, and they are useful during bootstrapping, as describe din #3903 .
Proposal
Drop all extrinsics which have this sort of ability to invoke multiple calls. At this point, this is only batch
and batch_all
in the utility pallet, but since it has little else we may as well just drop the pallet rather than try to filter these out. We should also double check that there are no other such calls.
┆Issue is synchronized with this Asana task by Unito