Select Git revision
runtime-calls.md
-
Cédric Moreau authored
* update metadata (and regenerate doc) * release: documentation * Revert "fix(#189): force rust-toolchain.toml for runtimes as well" This reverts commit 86746b33. * release: re-enable ARM build * feat: client 0.8.0 * feat: client 0.8.0 * fix: Docker `--unsafe-ws-external` no more exist * release: disable arm build * release: runtime-800 gdev+gtest raw specs * fix(#189): force rust-toolchain.toml for runtimes as well * release: runtime-800 + spec update
Cédric Moreau authored* update metadata (and regenerate doc) * release: documentation * Revert "fix(#189): force rust-toolchain.toml for runtimes as well" This reverts commit 86746b33. * release: re-enable ARM build * feat: client 0.8.0 * feat: client 0.8.0 * fix: Docker `--unsafe-ws-external` no more exist * release: disable arm build * release: runtime-800 gdev+gtest raw specs * fix(#189): force rust-toolchain.toml for runtimes as well * release: runtime-800 + spec update
runtime-calls.md 25.50 KiB
Runtime calls
Calls are categorized according to the dispatch origin they require:
- User calls: the dispatch origin for this kind of call must be signed by the transactor. This is the only call category that can be submitted with an extrinsic.
- Root calls: This kind of call requires a special origin that can only be invoked through on-chain governance mechanisms.
- Inherent calls: This kind of call is invoked by the author of the block itself (usually automatically by the node).
- Disabled calls: These calls can not be called directly, they are reserved for internal use by other runtime calls.
User calls
There are 81 user calls from 21 pallets.
Account - 1
unlink_identity - 0
unlink_identity()
Taking 0.0113 % of a block.
See [Pallet::unlink_identity
].
Scheduler - 2
schedule - 0
schedule(when, maybe_periodic, priority, call)
Taking 0.013 % of a block.
when: BlockNumberFor<T>
maybe_periodic: Option<schedule::Period<BlockNumberFor<T>>>
priority: schedule::Priority
call: Box<<T as Config>::RuntimeCall>
See [Pallet::schedule
].
cancel - 1
cancel(when, index)
Taking 0.0195 % of a block.
when: BlockNumberFor<T>
index: u32
See [Pallet::cancel
].
schedule_named - 2
schedule_named(id, when, maybe_periodic, priority, call)
Taking 0.0203 % of a block.
id: TaskName
when: BlockNumberFor<T>
maybe_periodic: Option<schedule::Period<BlockNumberFor<T>>>
priority: schedule::Priority
call: Box<<T as Config>::RuntimeCall>
See [Pallet::schedule_named
].
cancel_named - 3
cancel_named(id)
Taking 0.0209 % of a block.
id: TaskName
See [Pallet::cancel_named
].
schedule_after - 4
schedule_after(after, maybe_periodic, priority, call)
No weight available.
after: BlockNumberFor<T>
maybe_periodic: Option<schedule::Period<BlockNumberFor<T>>>
priority: schedule::Priority
call: Box<<T as Config>::RuntimeCall>
See [Pallet::schedule_after
].
schedule_named_after - 5
schedule_named_after(id, after, maybe_periodic, priority, call)
No weight available.
id: TaskName
after: BlockNumberFor<T>
maybe_periodic: Option<schedule::Period<BlockNumberFor<T>>>
priority: schedule::Priority
call: Box<<T as Config>::RuntimeCall>
See [Pallet::schedule_named_after
].