git.delta.rocks / unique-network / refs/commits / 458018a9b704

difftreelog

Documentation extended

Dev2022-07-13parent: #3bed4e0.patch.diff
in: master

1 file changed

modifiedpallets/scheduler/src/lib.rsdiffbeforeafterboth
56//! **NOTE:** The unique scheduler is designed for deferred transaction calls by block number.56//! **NOTE:** The unique scheduler is designed for deferred transaction calls by block number.
57//! Any user can book a call of a certain transaction to a specific block number.57//! Any user can book a call of a certain transaction to a specific block number.
58//! Also possible to book a call with a certain frequency.58//! Also possible to book a call with a certain frequency.
59//!
59//! Key differences from original pallet:60//! Key differences from original pallet:
61//! https://crates.io/crates/pallet-scheduler
60//! Id restricted by 16 bytes62//! Schedule Id restricted by 16 bytes
61//! Priority limited by HARD DEADLINE (<= 63). Calls over maximum weight don't include to block63//! Priority limited by HARD DEADLINE (<= 63). Calls over maximum weight don't include to block
62//! Maybe_periodic limit is 100 calls64//! Maybe_periodic limit is 100 calls
63//! Any account allowed to schedule any calls. Account withdraw implemented through default transaction logic.65//! Any account allowed to schedule any calls. Account withdraw implemented through default transaction logic.
460 // }462 // }
461463
462 // Execute transaction via chain default pipeline464 // Execute transaction via chain default pipeline
465 // That means dispatch will be processed like any user's extrinsic e.g. transaction fees will be taken
463 let r = T::CallExecutor::dispatch_call(sender, call.clone());466 let r = T::CallExecutor::dispatch_call(sender, call.clone());
464467
465 let mut actual_call_weight: Weight = item_weight;468 let mut actual_call_weight: Weight = item_weight;