difftreelog
Documentation extended
in: master
1 file changed
pallets/scheduler/src/lib.rsdiffbeforeafterboth56//! **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-scheduler60//! Id restricted by 16 bytes62//! Schedule Id restricted by 16 bytes61//! 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 block62//! Maybe_periodic limit is 100 calls64//! Maybe_periodic limit is 100 calls63//! 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 // }461463462 // Execute transaction via chain default pipeline464 // Execute transaction via chain default pipeline465 // That means dispatch will be processed like any user's extrinsic e.g. transaction fees will be taken463 let r = T::CallExecutor::dispatch_call(sender, call.clone());466 let r = T::CallExecutor::dispatch_call(sender, call.clone());464467465 let mut actual_call_weight: Weight = item_weight;468 let mut actual_call_weight: Weight = item_weight;