The frame_sysem
pallet has an extrinsic called remark
declared as such:
#[pallet::weight(T::SystemWeightInfo::remark(_remark.len() as u32))]
pub fn remark(origin: OriginFor<T>, _remark: Vec<u8>) -> DispatchResultWithPostInfo {
ensure_signed_or_root(origin)?;
Ok(().into())
}
It's particularly interesting because it emits no events and makes no update to storage, yet a user can call it as a signed extrinsic with a Vec<u8>
as an input.
I don't see a way to explicitly query the outcome of this call, there seems to be no tests for it too. So I'm curious: where does this Vec<u8>
actually go and how can I verify it behaves as expected?