Function pallet_stateful_storage::pallet::dispatchables::upsert_page
source · pub fn upsert_page<T: Config>(
state_owner_msa_id: MessageSourceId,
schema_id: SchemaId,
page_id: PageId,
target_hash: PageHash,
payload: BoundedVec<u8, T::MaxPaginatedPageSizeBytes>
)
Expand description
Creates or updates an Paginated storage with new payload
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::upsert_page
.