Skip to content
Snippets Groups Projects
Select Git revision
  • d26d125664da1f1682208fc2971bc55f241d5c19
  • master default protected
  • network/gdev-800 protected
  • cgeek/issue-297-cpu
  • gdev-800-tests
  • update-docker-compose-rpc-squid-names
  • fix-252
  • 1000i100-test
  • hugo/tmp-0.9.1
  • network/gdev-803 protected
  • hugo/endpoint-gossip
  • network/gdev-802 protected
  • hugo/distance-precompute
  • network/gdev-900 protected
  • tuxmain/anonymous-tx
  • debug/podman
  • hugo/195-doc
  • hugo/195-graphql-schema
  • hugo-tmp-dockerfile-cache
  • release/client-800.2 protected
  • release/runtime-800 protected
  • gdev-900-0.10.1 protected
  • gdev-900-0.10.0 protected
  • gdev-900-0.9.2 protected
  • gdev-800-0.8.0 protected
  • gdev-900-0.9.1 protected
  • gdev-900-0.9.0 protected
  • gdev-803 protected
  • gdev-802 protected
  • runtime-801 protected
  • gdev-800 protected
  • runtime-800-bis protected
  • runtime-800 protected
  • runtime-800-backup protected
  • runtime-701 protected
  • runtime-700 protected
  • runtime-600 protected
  • runtime-500 protected
  • v0.4.1 protected
  • runtime-401 protected
  • v0.4.0 protected
41 results

runtime-calls.md

Blame
    • Cédric Moreau's avatar
      918d5828
      runtime-800 updates (nodes/rust/duniter-v2s!240) · 918d5828
      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
      918d5828
      History
      runtime-800 updates (nodes/rust/duniter-v2s!240)
      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:

    1. 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.
    2. Root calls: This kind of call requires a special origin that can only be invoked through on-chain governance mechanisms.
    3. Inherent calls: This kind of call is invoked by the author of the block itself (usually automatically by the node).
    4. 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].

    Babe - 3

    report_equivocation - 0