This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Feature: Add remark_call extrinsic to pallet-utilities #14727
Labels
J0-enhancement
An additional feature request.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Motivation
We are in a situation where we want to tie some calls to some specific value/hash. There is a
pallet-remark
, but this only allows storing marks, without any relation to a call.Using a batch, we could get that association. Supposing we want to tie
ExtrinsicA
toMarkA
, we could do something likebatch(ExtrinsicA, pallet_remark::store(MarkA))
. Nevertheless, a possible indexer (i.e. Subscan) would need to inspect all extrinsic nested in batches in order to get the associations between the mark and the calls. We would want a fast solution to identify such relations.Request
We need a more powerful extrinsic that allows us to remark a call. Something like:
This call should not be nested by batches to avoid an indexer going through all calls of a batch. An indexer would only need to identify those
remark_call
extrinsic at the top level.Solution
We think we can add that
remark_call
topallet-utilities
, ensuring the batching method does not contain such extrinsic.Are you willing to help with this request?
Yes!
The text was updated successfully, but these errors were encountered: