Skip to content
Snippets Groups Projects
  • Cédric Moreau's avatar
    918d5828
    runtime-800 updates (!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 (!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

report_equivocation(equivocation_proof, key_owner_proof)

No weight available.

equivocation_proof: Box<EquivocationProof<HeaderFor<T>>>
key_owner_proof: T::KeyOwnerProof

See [Pallet::report_equivocation].

Balances - 6

transfer_allow_death - 0

transfer_allow_death(dest, value)

Taking 0.0216 % of a block.

dest: AccountIdLookupOf<T>
value: T::Balance

See [Pallet::transfer_allow_death].

transfer_keep_alive - 3

transfer_keep_alive(dest, value)

Taking 0.0232 % of a block.

dest: AccountIdLookupOf<T>
value: T::Balance

See [Pallet::transfer_keep_alive].

transfer_all - 4

transfer_all(dest, keep_alive)

Taking 0.0184 % of a block.

dest: AccountIdLookupOf<T>
keep_alive: bool

See [Pallet::transfer_all].

force_set_balance - 8

force_set_balance(who, new_free)

No weight available.

who: AccountIdLookupOf<T>
new_free: T::Balance

See [Pallet::force_set_balance].

OneshotAccount - 7

create_oneshot_account - 0

create_oneshot_account(dest, value)

Taking 0.0126 % of a block.

dest: <T::Lookup as StaticLookup>::Source
value: <T::Currency as Currency<T::AccountId>>::Balance

See [Pallet::create_oneshot_account].

consume_oneshot_account - 1

consume_oneshot_account(block_height, dest)

Taking 0.0214 % of a block.

block_height: BlockNumberFor<T>
dest: Account<<T::Lookup as StaticLookup>::Source>

See [Pallet::consume_oneshot_account].

consume_oneshot_account_with_remaining - 2

consume_oneshot_account_with_remaining(block_height, dest, remaining_to, balance)

Taking 0.0295 % of a block.

block_height: BlockNumberFor<T>
dest: Account<<T::Lookup as StaticLookup>::Source>
remaining_to: Account<<T::Lookup as StaticLookup>::Source>
balance: <T::Currency as Currency<T::AccountId>>::Balance

See [Pallet::consume_oneshot_account_with_remaining].

SmithMembers - 10

invite_smith - 0

invite_smith(receiver)

Taking 0.0265 % of a block.

receiver: T::IdtyIndex

See [Pallet::invite_smith].

accept_invitation - 1

accept_invitation()

Taking 0.0133 % of a block.

See [Pallet::accept_invitation].

certify_smith - 2

certify_smith(receiver)

Taking 0.0234 % of a block.

receiver: T::IdtyIndex

See [Pallet::certify_smith].

AuthorityMembers - 11

go_offline - 0

go_offline()

Taking 0.0188 % of a block.

See [Pallet::go_offline].

go_online - 1

go_online()

Taking 0.0225 % of a block.

See [Pallet::go_online].

set_session_keys - 2

set_session_keys(keys)

Taking 0.0296 % of a block.

keys: T::Keys

See [Pallet::set_session_keys].

remove_member_from_blacklist - 4

remove_member_from_blacklist(member_id)

Taking 0.0125 % of a block.

member_id: T::MemberId

See [Pallet::remove_member_from_blacklist].

Grandpa - 16

report_equivocation - 0

report_equivocation(equivocation_proof, key_owner_proof)

No weight available.

equivocation_proof: Box<EquivocationProof<T::Hash, BlockNumberFor<T>>>
key_owner_proof: T::KeyOwnerProof

See [Pallet::report_equivocation].

UpgradeOrigin - 21

dispatch_as_root_unchecked_weight - 1

dispatch_as_root_unchecked_weight(call, weight)

No weight available.

call: Box<<T as Config>::Call>
weight: Weight

See [Pallet::dispatch_as_root_unchecked_weight].

Preimage - 22

note_preimage - 0

note_preimage(bytes)

Taking 0.5106 % of a block.

bytes: Vec<u8>

See [Pallet::note_preimage].

unnote_preimage - 1

unnote_preimage(hash)

Taking 0.0211 % of a block.

hash: T::Hash

See [Pallet::unnote_preimage].

request_preimage - 2

request_preimage(hash)

Taking 0.0136 % of a block.

hash: T::Hash

See [Pallet::request_preimage].

unrequest_preimage - 3

unrequest_preimage(hash)

Taking 0.0195 % of a block.

hash: T::Hash

See [Pallet::unrequest_preimage].

ensure_updated - 4

ensure_updated(hashes)

Taking 21.0381 % of a block.

hashes: Vec<T::Hash>

See [Pallet::ensure_updated].

TechnicalCommittee - 23

execute - 1

execute(proposal, length_bound)

Taking 0.006 % of a block.

proposal: Box<<T as Config<I>>::Proposal>
length_bound: u32

See [Pallet::execute].

propose - 2

propose(threshold, proposal, length_bound)

No weight available.

threshold: MemberCount
proposal: Box<<T as Config<I>>::Proposal>
length_bound: u32

See [Pallet::propose].

vote - 3

vote(proposal, index, approve)

Taking 0.0144 % of a block.

proposal: T::Hash
index: ProposalIndex
approve: bool

See [Pallet::vote].

close - 6

close(proposal_hash, index, proposal_weight_bound, length_bound)

No weight available.

proposal_hash: T::Hash
index: ProposalIndex
proposal_weight_bound: Weight
length_bound: u32

See [Pallet::close].

UniversalDividend - 30

claim_uds - 0

claim_uds()

Taking 0.0224 % of a block.

See [Pallet::claim_uds].

transfer_ud - 1

transfer_ud(dest, value)

Taking 0.027 % of a block.

dest: <T::Lookup as StaticLookup>::Source
value: BalanceOf<T>

See [Pallet::transfer_ud].

transfer_ud_keep_alive - 2

transfer_ud_keep_alive(dest, value)

Taking 0.0193 % of a block.

dest: <T::Lookup as StaticLookup>::Source
value: BalanceOf<T>

See [Pallet::transfer_ud_keep_alive].

Identity - 41

create_identity - 0

create_identity(owner_key)

Taking 0.0969 % of a block.

owner_key: T::AccountId

See [Pallet::create_identity].

confirm_identity - 1

confirm_identity(idty_name)

Taking 0.0365 % of a block.

idty_name: IdtyName

See [Pallet::confirm_identity].

change_owner_key - 3

change_owner_key(new_key, new_key_sig)

Taking 0.0507 % of a block.

new_key: T::AccountId
new_key_sig: T::Signature

See [Pallet::change_owner_key].

revoke_identity - 4

revoke_identity(idty_index, revocation_key, revocation_sig)

Taking 0.0487 % of a block.

idty_index: T::IdtyIndex
revocation_key: T::AccountId
revocation_sig: T::Signature

See [Pallet::revoke_identity].

fix_sufficients - 7

fix_sufficients(owner_key, inc)

Taking 0.0113 % of a block.

owner_key: T::AccountId
inc: bool

See [Pallet::fix_sufficients].

link_account - 8

link_account(account_id, payload_sig)

Taking 0.0182 % of a block.

account_id: T::AccountId
payload_sig: T::Signature

See [Pallet::link_account].

Certification - 43

add_cert - 0

add_cert(receiver)

Taking 0.0398 % of a block.

receiver: T::IdtyIndex

See [Pallet::add_cert].

renew_cert - 3

renew_cert(receiver)

Taking 0.0324 % of a block.

receiver: T::IdtyIndex

See [Pallet::renew_cert].

del_cert - 1

del_cert(issuer, receiver)

Taking 0.0276 % of a block.

issuer: T::IdtyIndex
receiver: T::IdtyIndex

See [Pallet::del_cert].

remove_all_certs_received_by - 2

remove_all_certs_received_by(idty_index)

Taking 7.8043 % of a block.

idty_index: T::IdtyIndex

See [Pallet::remove_all_certs_received_by].

Distance - 44

request_distance_evaluation - 0

request_distance_evaluation()

Taking 0.0354 % of a block.

See [Pallet::request_distance_evaluation].

request_distance_evaluation_for - 4

request_distance_evaluation_for(target)

Taking 0.0367 % of a block.

target: T::IdtyIndex

See [Pallet::request_distance_evaluation_for].

update_evaluation - 1

update_evaluation(computation_result)

Taking 0.0351 % of a block.

computation_result: ComputationResult

See [Pallet::update_evaluation].

force_update_evaluation - 2

force_update_evaluation(evaluator, computation_result)

Taking 0.018 % of a block.

evaluator: <T as frame_system::Config>::AccountId
computation_result: ComputationResult

See [Pallet::force_update_evaluation].

force_valid_distance_status - 3

force_valid_distance_status(identity)

Taking 0.0301 % of a block.

identity: <T as pallet_identity::Config>::IdtyIndex

See [Pallet::force_valid_distance_status].

AtomicSwap - 50

create_swap - 0

create_swap(target, hashed_proof, action, duration)

No weight available.

target: T::AccountId
hashed_proof: HashedProof
action: T::SwapAction
duration: BlockNumberFor<T>

See [Pallet::create_swap].

claim_swap - 1

claim_swap(proof, action)

No weight available.

proof: Vec<u8>
action: T::SwapAction

See [Pallet::claim_swap].

cancel_swap - 2

cancel_swap(target, hashed_proof)

No weight available.

target: T::AccountId
hashed_proof: HashedProof

See [Pallet::cancel_swap].

Multisig - 51

as_multi_threshold_1 - 0

as_multi_threshold_1(other_signatories, call)

Taking 0.0045 % of a block.

other_signatories: Vec<T::AccountId>
call: Box<<T as Config>::RuntimeCall>

See [Pallet::as_multi_threshold_1].

as_multi - 1

as_multi(threshold, other_signatories, maybe_timepoint, call, max_weight)

No weight available.

threshold: u16
other_signatories: Vec<T::AccountId>
maybe_timepoint: Option<Timepoint<BlockNumberFor<T>>>
call: Box<<T as Config>::RuntimeCall>
max_weight: Weight

See [Pallet::as_multi].

approve_as_multi - 2

approve_as_multi(threshold, other_signatories, maybe_timepoint, call_hash, max_weight)

No weight available.

threshold: u16
other_signatories: Vec<T::AccountId>
maybe_timepoint: Option<Timepoint<BlockNumberFor<T>>>
call_hash: [u8; 32]
max_weight: Weight

See [Pallet::approve_as_multi].

cancel_as_multi - 3

cancel_as_multi(threshold, other_signatories, timepoint, call_hash)

Taking 0.0135 % of a block.

threshold: u16
other_signatories: Vec<T::AccountId>
timepoint: Timepoint<BlockNumberFor<T>>
call_hash: [u8; 32]

See [Pallet::cancel_as_multi].

ProvideRandomness - 52

request - 0

request(randomness_type, salt)

Taking 0.0393 % of a block.

randomness_type: RandomnessType
salt: H256

See [Pallet::request].

Proxy - 53

proxy - 0

proxy(real, force_proxy_type, call)

Taking 0.0063 % of a block.

real: AccountIdLookupOf<T>
force_proxy_type: Option<T::ProxyType>
call: Box<<T as Config>::RuntimeCall>

See [Pallet::proxy].

add_proxy - 1

add_proxy(delegate, proxy_type, delay)

Taking 0.0129 % of a block.

delegate: AccountIdLookupOf<T>
proxy_type: T::ProxyType
delay: BlockNumberFor<T>

See [Pallet::add_proxy].

remove_proxy - 2

remove_proxy(delegate, proxy_type, delay)

Taking 0.0133 % of a block.

delegate: AccountIdLookupOf<T>
proxy_type: T::ProxyType
delay: BlockNumberFor<T>

See [Pallet::remove_proxy].

remove_proxies - 3

remove_proxies()

Taking 0.0129 % of a block.

See [Pallet::remove_proxies].

create_pure - 4

create_pure(proxy_type, delay, index)

Taking 0.0141 % of a block.

proxy_type: T::ProxyType
delay: BlockNumberFor<T>
index: u16

See [Pallet::create_pure].

kill_pure - 5

kill_pure(spawner, proxy_type, index, height, ext_index)

Taking 0.0125 % of a block.

spawner: AccountIdLookupOf<T>
proxy_type: T::ProxyType
index: u16
height: BlockNumberFor<T>
ext_index: u32

See [Pallet::kill_pure].

announce - 6

announce(real, call_hash)

Taking 0.0218 % of a block.

real: AccountIdLookupOf<T>
call_hash: CallHashOf<T>

See [Pallet::announce].

remove_announcement - 7

remove_announcement(real, call_hash)

Taking 0.0198 % of a block.

real: AccountIdLookupOf<T>
call_hash: CallHashOf<T>

See [Pallet::remove_announcement].

reject_announcement - 8

reject_announcement(delegate, call_hash)

Taking 0.02 % of a block.

delegate: AccountIdLookupOf<T>
call_hash: CallHashOf<T>

See [Pallet::reject_announcement].

proxy_announced - 9

proxy_announced(delegate, real, force_proxy_type, call)

Taking 0.0235 % of a block.

delegate: AccountIdLookupOf<T>
real: AccountIdLookupOf<T>
force_proxy_type: Option<T::ProxyType>
call: Box<<T as Config>::RuntimeCall>