Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
08d77bf5
Commit
08d77bf5
authored
8 months ago
by
Hugo Trentesaux
Browse files
Options
Downloads
Patches
Plain Diff
update docs
(was not done in 277)
parent
a53ca9fc
No related branches found
No related tags found
1 merge request
!272
Separate weight by chains
Pipeline
#37935
passed
8 months ago
Stage: labels
Stage: quality
Stage: build
Stage: tests
Stage: deploy
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/api/runtime-calls.md
+83
-83
83 additions, 83 deletions
docs/api/runtime-calls.md
docs/api/runtime-errors.md
+8
-1
8 additions, 1 deletion
docs/api/runtime-errors.md
docs/api/runtime-errors.po
+2
-0
2 additions, 0 deletions
docs/api/runtime-errors.po
with
93 additions
and
84 deletions
docs/api/runtime-calls.md
+
83
−
83
View file @
08d77bf5
...
...
@@ -21,7 +21,7 @@ There are **86** user calls from **21** pallets.
<details><summary><code>
unlink_identity()
</code></summary>
Taking 0.011
1
% of a block.
Taking 0.011
5
% of a block.
```
rust
```
...
...
@@ -36,7 +36,7 @@ Unlink the identity associated with the account.
<
details
><
summary
><
code
>
schedule
(
when
,
maybe_periodic
,
priority
,
call
)
</
code
></
summary
>
Taking
0.012
2
%
of
a
block
.
Taking
0.012
6
%
of
a
block
.
```
rust
when: BlockNumberFor
<T>
...
...
@@ -53,7 +53,7 @@ Anonymously schedule a task.
<details><summary><code>cancel(when, index)</code></summary>
Taking 0.02
32
% of a block.
Taking 0.02
46
% of a block.
```
rust
when: BlockNumberFor
<T>
...
...
@@ -68,7 +68,7 @@ Cancel an anonymously scheduled task.
<details><summary><code>schedule_named(id, when, maybe_periodic, priority, call)</code></summary>
Taking 0.01
86
% of a block.
Taking 0.01
95
% of a block.
```
rust
id: TaskName
...
...
@@ -86,7 +86,7 @@ Schedule a named task.
<details><summary><code>cancel_named(id)</code></summary>
Taking 0.02
43
% of a block.
Taking 0.02
57
% of a block.
```
rust
id: TaskName
...
...
@@ -135,7 +135,7 @@ Schedule a named task after a delay.
<details><summary><code>set_retry(task, retries, period)</code></summary>
Taking 0.01
19
% of a block.
Taking 0.01
24
% of a block.
```
rust
task: TaskAddress
<BlockNumberFor
<
T
>
>
...
...
@@ -162,7 +162,7 @@ original `total_retries`.
<details><summary><code>set_retry_named(id, retries, period)</code></summary>
Taking 0.013
2
% of a block.
Taking 0.013
5
% of a block.
```
rust
id: TaskName
...
...
@@ -189,7 +189,7 @@ original `total_retries`.
<details><summary><code>cancel_retry(task)</code></summary>
Taking 0.012 % of a block.
Taking 0.012
4
% of a block.
```
rust
task: TaskAddress
<BlockNumberFor
<
T
>
>
...
...
@@ -203,7 +203,7 @@ Removes the retry configuration of a task.
<details><summary><code>cancel_retry_named(id)</code></summary>
Taking 0.013
1
% of a block.
Taking 0.013
5
% of a block.
```
rust
id: TaskName
...
...
@@ -239,7 +239,7 @@ be reported.
<details><summary><code>transfer_allow_death(dest, value)</code></summary>
Taking 0.0
193
% of a block.
Taking 0.0
202
% of a block.
```
rust
dest: AccountIdLookupOf
<T>
...
...
@@ -260,7 +260,7 @@ The dispatch origin for this call must be `Signed` by the transactor.
<details><summary><code>transfer_keep_alive(dest, value)</code></summary>
Taking 0.012
3
% of a block.
Taking 0.012
8
% of a block.
```
rust
dest: AccountIdLookupOf
<T>
...
...
@@ -280,7 +280,7 @@ kill the origin account.
<details><summary><code>transfer_all(dest, keep_alive)</code></summary>
Taking 0.01
27
% of a block.
Taking 0.01
31
% of a block.
```
rust
dest: AccountIdLookupOf
<T>
...
...
@@ -376,7 +376,7 @@ this `burn` operation will reduce total issuance by the amount _burned_.
<details><summary><code>create_oneshot_account(dest, value)</code></summary>
Taking 0.01
19
% of a block.
Taking 0.01
23
% of a block.
```
rust
dest:
<T::Lookup
as
StaticLookup
>
::Source
...
...
@@ -396,7 +396,7 @@ Origin account is kept alive.
<details><summary><code>consume_oneshot_account(block_height, dest)</code></summary>
Taking 0.0
19
2 % of a block.
Taking 0.0
20
2 % of a block.
```
rust
block_height: BlockNumberFor
<T>
...
...
@@ -415,7 +415,7 @@ Consume a oneshot account and transfer its balance to an account
<details><summary><code>consume_oneshot_account_with_remaining(block_height, dest, remaining_to, balance)</code></summary>
Taking 0.02
6
% of a block.
Taking 0.02
74
% of a block.
```
rust
block_height: BlockNumberFor
<T>
...
...
@@ -443,7 +443,7 @@ and the remaining amount to another account.
<details><summary><code>invite_smith(receiver)</code></summary>
Taking 0.02
28
% of a block.
Taking 0.02
37
% of a block.
```
rust
receiver: T::IdtyIndex
...
...
@@ -457,7 +457,7 @@ Invite a member of the Web of Trust to attempt becoming a Smith.
<details><summary><code>accept_invitation()</code></summary>
Taking 0.012
5
% of a block.
Taking 0.012
9
% of a block.
```
rust
```
...
...
@@ -470,7 +470,7 @@ Accept an invitation to become a Smith (must have been invited first).
<details><summary><code>certify_smith(receiver)</code></summary>
Taking 0.02
71
% of a block.
Taking 0.02
83
% of a block.
```
rust
receiver: T::IdtyIndex
...
...
@@ -486,7 +486,7 @@ Certify an invited Smith, which can lead the certified to become a Smith.
<details><summary><code>go_offline()</code></summary>
Taking 0.016
3
% of a block.
Taking 0.016
7
% of a block.
```
rust
```
...
...
@@ -499,7 +499,7 @@ Request to leave the set of validators two sessions later.
<details><summary><code>go_online()</code></summary>
Taking 0.018
3
% of a block.
Taking 0.018
7
% of a block.
```
rust
```
...
...
@@ -512,7 +512,7 @@ Request to join the set of validators two sessions later.
<details><summary><code>set_session_keys(keys)</code></summary>
Taking 0.024 % of a block.
Taking 0.024
9
% of a block.
```
rust
keys: T::Keys
...
...
@@ -526,7 +526,7 @@ Declare new session keys to replace current ones.
<details><summary><code>remove_member_from_blacklist(member_id)</code></summary>
Taking 0.011
3
% of a block.
Taking 0.011
7
% of a block.
```
rust
member_id: T::MemberId
...
...
@@ -584,7 +584,7 @@ The weight of this call is defined by the caller.
<details><summary><code>note_preimage(bytes)</code></summary>
Taking 0.
2969
% of a block.
Taking 0.
3146
% of a block.
```
rust
bytes: Vec
<u8>
...
...
@@ -601,7 +601,7 @@ the preimage. Otherwise, a deposit is taken proportional to the size of the prei
<details><summary><code>unnote_preimage(hash)</code></summary>
Taking 0.01
8
3 % of a block.
Taking 0.01
9
3 % of a block.
```
rust
hash: T::Hash
...
...
@@ -620,7 +620,7 @@ If `len` is provided, then it will be a much cheaper operation.
<details><summary><code>request_preimage(hash)</code></summary>
Taking 0.013 % of a block.
Taking 0.013
5
% of a block.
```
rust
hash: T::Hash
...
...
@@ -637,7 +637,7 @@ a user may have paid, and take the control of the preimage out of their hands.
<details><summary><code>unrequest_preimage(hash)</code></summary>
Taking 0.01
82
% of a block.
Taking 0.01
91
% of a block.
```
rust
hash: T::Hash
...
...
@@ -653,7 +653,7 @@ NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`.
<details><summary><code>ensure_updated(hashes)</code></summary>
Taking
18.57
% of a block.
Taking
20.0151
% of a block.
```
rust
hashes: Vec
<T::Hash>
...
...
@@ -671,7 +671,7 @@ The caller pays no fee if at least 90% of pre-images were successfully updated.
<details><summary><code>execute(proposal, length_bound)</code></summary>
Taking 0.006
3
% of a block.
Taking 0.006
2
% of a block.
```
rust
proposal: Box
<
<
T
as
Config
<
I
>
>::Proposal>
...
...
@@ -723,7 +723,7 @@ or put up for voting.
<details><summary><code>vote(proposal, index, approve)</code></summary>
Taking 0.01
27
% of a block.
Taking 0.01
31
% of a block.
```
rust
proposal: T::Hash
...
...
@@ -789,7 +789,7 @@ proposal.
<details><summary><code>claim_uds()</code></summary>
Taking 0.02
11
% of a block.
Taking 0.02
2
% of a block.
```
rust
```
...
...
@@ -802,7 +802,7 @@ Claim Universal Dividends.
<details><summary><code>transfer_ud(dest, value)</code></summary>
Taking 0.02
04
% of a block.
Taking 0.02
13
% of a block.
```
rust
dest:
<T::Lookup
as
StaticLookup
>
::Source
...
...
@@ -817,7 +817,7 @@ Transfer some liquid free balance to another account, in milliUD.
<details><summary><code>transfer_ud_keep_alive(dest, value)</code></summary>
Taking 0.013
3
% of a block.
Taking 0.013
8
% of a block.
```
rust
dest:
<T::Lookup
as
StaticLookup
>
::Source
...
...
@@ -834,7 +834,7 @@ Transfer some liquid free balance to another account in milliUD and keep the acc
<details><summary><code>create_identity(owner_key)</code></summary>
Taking 0.08
23
% of a block.
Taking 0.08
78
% of a block.
```
rust
owner_key: T::AccountId
...
...
@@ -852,7 +852,7 @@ The origin must be allowed to create an identity.
<details><summary><code>confirm_identity(idty_name)</code></summary>
Taking 0.03
16
% of a block.
Taking 0.03
34
% of a block.
```
rust
idty_name: IdtyName
...
...
@@ -870,7 +870,7 @@ The identity must have been created using `create_identity` before it can be con
<details><summary><code>change_owner_key(new_key, new_key_sig)</code></summary>
Taking 0.04 % of a block.
Taking 0.04
22
% of a block.
```
rust
new_key: T::AccountId
...
...
@@ -891,7 +891,7 @@ The origin should be the old identity owner key.
<details><summary><code>revoke_identity(idty_index, revocation_key, revocation_sig)</code></summary>
Taking 0.0
386
% of a block.
Taking 0.0
408
% of a block.
```
rust
idty_index: T::IdtyIndex
...
...
@@ -914,7 +914,7 @@ Any signed origin can execute this call.
<details><summary><code>fix_sufficients(owner_key, inc)</code></summary>
Taking 0.011
3
% of a block.
Taking 0.011
7
% of a block.
```
rust
owner_key: T::AccountId
...
...
@@ -937,7 +937,7 @@ reference count associated with a specified owner key.
<details><summary><code>link_account(account_id, payload_sig)</code></summary>
Taking 0.015
3
% of a block.
Taking 0.015
6
% of a block.
```
rust
account_id: T::AccountId
...
...
@@ -961,7 +961,7 @@ identity to sign the operation.
<details><summary><code>add_cert(receiver)</code></summary>
Taking 0.03
43
% of a block.
Taking 0.03
62
% of a block.
```
rust
receiver: T::IdtyIndex
...
...
@@ -975,7 +975,7 @@ Add a new certification.
<details><summary><code>renew_cert(receiver)</code></summary>
Taking 0.02
82
% of a block.
Taking 0.02
96
% of a block.
```
rust
receiver: T::IdtyIndex
...
...
@@ -989,7 +989,7 @@ Renew an existing certification.
<details><summary><code>del_cert(issuer, receiver)</code></summary>
Taking 0.02
48
% of a block.
Taking 0.02
62
% of a block.
```
rust
issuer: T::IdtyIndex
...
...
@@ -1006,7 +1006,7 @@ Remove one certification given the issuer and the receiver.
<details><summary><code>remove_all_certs_received_by(idty_index)</code></summary>
Taking
6.5528
% of a block.
Taking
7.0144
% of a block.
```
rust
idty_index: T::IdtyIndex
...
...
@@ -1024,7 +1024,7 @@ Remove all certifications received by an identity.
<details><summary><code>request_distance_evaluation()</code></summary>
Taking 0.03
7
3 % of a block.
Taking 0.03
9
3 % of a block.
```
rust
```
...
...
@@ -1041,7 +1041,7 @@ evaluation will result in slashing for the caller.
<details><summary><code>request_distance_evaluation_for(target)</code></summary>
Taking 0.0
38
3 % of a block.
Taking 0.0
40
3 % of a block.
```
rust
target: T::IdtyIndex
...
...
@@ -1058,7 +1058,7 @@ This action is only permitted for unvalidated identities.
<details><summary><code>update_evaluation(computation_result)</code></summary>
Taking 0.03
32
% of a block.
Taking 0.03
49
% of a block.
```
rust
computation_result: ComputationResult
...
...
@@ -1075,7 +1075,7 @@ to the evaluation pool.
<details><summary><code>force_update_evaluation(evaluator, computation_result)</code></summary>
Taking 0.01
88
% of a block.
Taking 0.01
94
% of a block.
```
rust
evaluator:
<T
as
frame_system::Config
>
::AccountId
...
...
@@ -1094,7 +1094,7 @@ It is primarily used for testing purposes.
<details><summary><code>force_valid_distance_status(identity)</code></summary>
Taking 0.02
62
% of a block.
Taking 0.02
75
% of a block.
```
rust
identity:
<T
as
pallet_identity::Config
>
::IdtyIndex
...
...
@@ -1314,7 +1314,7 @@ NOTE: If this is the final approval, you will want to use `as_multi` instead.
<details><summary><code>cancel_as_multi(threshold, other_signatories, timepoint, call_hash)</code></summary>
Taking 0.012
2
% of a block.
Taking 0.012
6
% of a block.
```
rust
threshold: u16
...
...
@@ -1353,7 +1353,7 @@ transaction for this dispatch.
<details><summary><code>request(randomness_type, salt)</code></summary>
Taking 0.03
9
% of a block.
Taking 0.0
41
3 % of a block.
```
rust
randomness_type: RandomnessType
...
...
@@ -1394,7 +1394,7 @@ Parameters:
<details><summary><code>add_proxy(delegate, proxy_type, delay)</code></summary>
Taking 0.01
19
% of a block.
Taking 0.01
24
% of a block.
```
rust
delegate: AccountIdLookupOf
<T>
...
...
@@ -1418,7 +1418,7 @@ zero.
<details><summary><code>remove_proxy(delegate, proxy_type, delay)</code></summary>
Taking 0.01
19
% of a block.
Taking 0.01
24
% of a block.
```
rust
delegate: AccountIdLookupOf
<T>
...
...
@@ -1440,7 +1440,7 @@ Parameters:
<details><summary><code>remove_proxies()</code></summary>
Taking 0.01
18
% of a block.
Taking 0.01
23
% of a block.
```
rust
```
...
...
@@ -1458,7 +1458,7 @@ the unreserved fees will be inaccessible. **All access to this account will be l
<details><summary><code>create_pure(proxy_type, delay, index)</code></summary>
Taking 0.01
19
% of a block.
Taking 0.01
24
% of a block.
```
rust
proxy_type: T::ProxyType
...
...
@@ -1491,7 +1491,7 @@ Fails if there are insufficient funds to pay for deposit.
<details><summary><code>kill_pure(spawner, proxy_type, index, height, ext_index)</code></summary>
Taking 0.01
19
% of a block.
Taking 0.01
23
% of a block.
```
rust
spawner: AccountIdLookupOf
<T>
...
...
@@ -1524,7 +1524,7 @@ account whose `pure` call has corresponding parameters.
<details><summary><code>announce(real, call_hash)</code></summary>
Taking 0.0
19
4 % of a block.
Taking 0.0
20
4 % of a block.
```
rust
real: AccountIdLookupOf
<T>
...
...
@@ -1553,7 +1553,7 @@ Parameters:
<details><summary><code>remove_announcement(real, call_hash)</code></summary>
Taking 0.01
8
2 % of a block.
Taking 0.01
9
2 % of a block.
```
rust
real: AccountIdLookupOf
<T>
...
...
@@ -1577,7 +1577,7 @@ Parameters:
<details><summary><code>reject_announcement(delegate, call_hash)</code></summary>
Taking 0.01
82
% of a block.
Taking 0.01
91
% of a block.
```
rust
delegate: AccountIdLookupOf
<T>
...
...
@@ -1601,7 +1601,7 @@ Parameters:
<details><summary><code>proxy_announced(delegate, real, force_proxy_type, call)</code></summary>
Taking 0.0
196
% of a block.
Taking 0.0
205
% of a block.
```
rust
delegate: AccountIdLookupOf
<T>
...
...
@@ -1630,7 +1630,7 @@ Parameters:
<details><summary><code>batch(calls)</code></summary>
Taking 0.1
072
% of a block.
Taking 0.1
113
% of a block.
```
rust
calls: Vec
<
<
T
as
Config
>
::RuntimeCall>
...
...
@@ -1661,7 +1661,7 @@ event is deposited.
<details><summary><code>as_derivative(index, call)</code></summary>
Taking 0.00
5
% of a block.
Taking 0.00
49
% of a block.
```
rust
index: u16
...
...
@@ -1688,7 +1688,7 @@ The dispatch origin for this call must be _Signed_.
<details><summary><code>batch_all(calls)</code></summary>
Taking 0.1
15
9 % of a block.
Taking 0.1
26
9 % of a block.
```
rust
calls: Vec
<
<
T
as
Config
>
::RuntimeCall>
...
...
@@ -1714,7 +1714,7 @@ includes bypassing `frame_system::Config::BaseCallFilter`).
<details><summary><code>force_batch(calls)</code></summary>
Taking 0.1
072
% of a block.
Taking 0.1
163
% of a block.
```
rust
calls: Vec
<
<
T
as
Config
>
::RuntimeCall>
...
...
@@ -1869,7 +1869,7 @@ Emits [`Event::AssetSpendApproved`] if successful.
<details><summary><code>payout(index)</code></summary>
Taking 0.025
2
% of a block.
Taking 0.02
6
5 % of a block.
```
rust
index: SpendIndex
...
...
@@ -1901,7 +1901,7 @@ Emits [`Event::Paid`] if successful.
<details><summary><code>check_status(index)</code></summary>
Taking 0.011
4
% of a block.
Taking 0.011
8
% of a block.
```
rust
index: SpendIndex
...
...
@@ -1933,7 +1933,7 @@ Emits [`Event::SpendProcessed`] if the spend payout has succeed.
<details><summary><code>void_spend(index)</code></summary>
Taking 0.011
3
% of a block.
Taking 0.011
8
% of a block.
```
rust
index: SpendIndex
...
...
@@ -1970,7 +1970,7 @@ There are **18** root calls from **8** pallets.
<details><summary><code>set_heap_pages(pages)</code></summary>
Taking 0.01
63
% of a block.
Taking 0.01
72
% of a block.
```
rust
pages: u64
...
...
@@ -1984,7 +1984,7 @@ Set the number of pages in the WebAssembly environment's heap.
<details><summary><code>set_code(code)</code></summary>
Taking
3.992
8 % of a block.
Taking
4.354
8 % of a block.
```
rust
code: Vec
<u8>
...
...
@@ -2015,7 +2015,7 @@ version!
<details><summary><code>set_storage(items)</code></summary>
Taking 5.
2685
% of a block.
Taking 5.
7291
% of a block.
```
rust
items: Vec
<KeyValue>
...
...
@@ -2029,7 +2029,7 @@ Set some items of storage.
<details><summary><code>kill_storage(keys)</code></summary>
Taking 5.
2627
% of a block.
Taking 5.
723
% of a block.
```
rust
keys: Vec
<Key>
...
...
@@ -2043,7 +2043,7 @@ Kill some items from storage.
<details><summary><code>kill_prefix(prefix, subkeys)</code></summary>
Taking 6.
156
5 % of a block.
Taking 6.
620
5 % of a block.
```
rust
prefix: Key
...
...
@@ -2061,7 +2061,7 @@ the prefix we are removing to accurately calculate the weight of this function.
<details><summary><code>authorize_upgrade(code_hash)</code></summary>
Taking 0.01
05
% of a block.
Taking 0.01
1
% of a block.
```
rust
code_hash: T::Hash
...
...
@@ -2099,7 +2099,7 @@ This call requires Root origin.
<details><summary><code>apply_authorized_upgrade(code)</code></summary>
Taking 4.
1912
% of a block.
Taking 4.
2186
% of a block.
```
rust
code: Vec
<u8>
...
...
@@ -2142,7 +2142,7 @@ not been enacted yet.
<details><summary><code>force_transfer(source, dest, value)</code></summary>
Taking 0.02
55
% of a block.
Taking 0.02
69
% of a block.
```
rust
source: AccountIdLookupOf
<T>
...
...
@@ -2159,7 +2159,7 @@ may be specified.
<details><summary><code>force_unreserve(who, amount)</code></summary>
Taking 0.01
15
% of a block.
Taking 0.01
2
% of a block.
```
rust
who: AccountIdLookupOf
<T>
...
...
@@ -2178,7 +2178,7 @@ Can only be called by ROOT.
<details><summary><code>remove_member(member_id)</code></summary>
Taking 0.06
41
% of a block.
Taking 0.06
86
% of a block.
```
rust
member_id: T::MemberId
...
...
@@ -2222,7 +2222,7 @@ Only callable by root.
<details><summary><code>set_members(new_members, prime, old_count)</code></summary>
Taking 0.1
493
% of a block.
Taking 0.1
595
% of a block.
```
rust
new_members: Vec
<T::AccountId>
...
...
@@ -2261,7 +2261,7 @@ with other logic managing the member set.
<details><summary><code>disapprove_proposal(proposal_hash)</code></summary>
Taking 0.02
21
% of a block.
Taking 0.02
34
% of a block.
```
rust
proposal_hash: T::Hash
...
...
@@ -2286,7 +2286,7 @@ O(P) where P is the number of max proposals
<details><summary><code>prune_item_identities_names(names)</code></summary>
Taking 5.
3061
% of a block.
Taking 5.
7658
% of a block.
```
rust
names: Vec
<IdtyName>
...
...
@@ -2308,7 +2308,7 @@ in bulk.
<details><summary><code>dispatch_as(as_origin, call)</code></summary>
Taking 0.005
1
% of a block.
Taking 0.005 % of a block.
```
rust
as_origin: Box
<T::PalletsOrigin>
...
...
@@ -2339,7 +2339,7 @@ There are **4** disabled calls from **2** pallets.
<details><summary><code>remark(remark)</code></summary>
Taking 0.05
3
9 % of a block.
Taking 0.05
8
9 % of a block.
```
rust
remark: Vec
<u8>
...
...
@@ -2355,7 +2355,7 @@ Can be executed by every `origin`.
<details><summary><code>remark_with_event(remark)</code></summary>
Taking 0.21
0
7 % of a block.
Taking 0.217
6
% of a block.
```
rust
remark: Vec
<u8>
...
...
@@ -2371,7 +2371,7 @@ Make some on-chain remark and emit event.
<details><summary><code>set_keys(keys, proof)</code></summary>
Taking 0.03
65
% of a block.
Taking 0.03
88
% of a block.
```
rust
keys: T::Keys
...
...
@@ -2394,7 +2394,7 @@ The dispatch origin of this function must be signed.
<details><summary><code>purge_keys()</code></summary>
Taking 0.03
26
% of a block.
Taking 0.03
49
% of a block.
```
rust
```
...
...
This diff is collapsed.
Click to expand it.
docs/api/runtime-errors.md
+
8
−
1
View file @
08d77bf5
# Runtime errors
There are
**19
0
**
errors from
**35**
pallets.
There are
**19
1
**
errors from
**35**
pallets.
<ul>
<li>
System - 0
...
...
@@ -986,6 +986,13 @@ Cannot link to an inexisting account.
Insufficient balance to create an identity.
</details>
</li>
<li>
<details>
<summary>
<code>
OwnerKeyUsedAsValidator
</code>
- 18
</summary>
Owner key currently used as validator.
</details>
</li>
</ul>
</li>
<li>
Membership - 42
...
...
This diff is collapsed.
Click to expand it.
docs/api/runtime-errors.po
+
2
−
0
View file @
08d77bf5
...
...
@@ -254,6 +254,8 @@ msgid "Identity.AccountNotExist"
msgstr "Cannot link to an inexisting account."
msgid "Identity.InsufficientBalance"
msgstr "Insufficient balance to create an identity."
msgid "Identity.OwnerKeyUsedAsValidator"
msgstr "Owner key currently used as validator."
msgid "Membership.MembershipNotFound"
msgstr "Membership not found, can not renew."
msgid "Membership.AlreadyMember"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment