Function pallet_stateful_storage::pallet::dispatchables::apply_item_actions
source · pub fn apply_item_actions<T: Config>(
state_owner_msa_id: MessageSourceId,
schema_id: SchemaId,
target_hash: PageHash,
actions: BoundedVec<ItemAction<T::MaxItemizedBlobSizeBytes>, T::MaxItemizedActionsCount>
)
Expand description
Applies the Add or Delete Actions on the requested Itemized page. This is treated as a transaction so either all actions succeed or none will be executed.
Note: if called by the state owner, call may succeed even on SignatureRequired
schemas.
The fact that the entire (signed) transaction is submitted by the owner’s keypair is
considered equivalent to supplying a separate signature. Note in that case that a delegate
submitting this extrinsic on behalf of a user would fail.
Events
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::apply_item_actions
.