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
89c8f444
Unverified
Commit
89c8f444
authored
1 year ago
by
bgallois
Browse files
Options
Downloads
Patches
Plain Diff
fix xtask gen-docs
parent
815fb0d1
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/api/runtime-calls.md
+97
-82
97 additions, 82 deletions
docs/api/runtime-calls.md
docs/api/runtime-errors.md
+16
-2
16 additions, 2 deletions
docs/api/runtime-errors.md
docs/api/runtime-events.md
+14
-1
14 additions, 1 deletion
docs/api/runtime-events.md
xtask/Cargo.toml
+2
-2
2 additions, 2 deletions
xtask/Cargo.toml
with
129 additions
and
87 deletions
docs/api/runtime-calls.md
+
97
−
82
View file @
89c8f444
...
@@ -13,7 +13,7 @@ through on-chain governance mechanisms.
...
@@ -13,7 +13,7 @@ through on-chain governance mechanisms.
## User calls
## User calls
There are
**8
1
**
user calls from
**21**
pallets.
There are
**8
2
**
user calls from
**21**
pallets.
### Account - 1
### Account - 1
...
@@ -21,7 +21,7 @@ There are **81** user calls from **21** pallets.
...
@@ -21,7 +21,7 @@ There are **81** user calls from **21** pallets.
<details><summary><code>
unlink_identity()
</code></summary>
<details><summary><code>
unlink_identity()
</code></summary>
Taking 0.011
3
% of a block.
Taking 0.011
4
% of a block.
```
rust
```
rust
```
```
...
@@ -36,7 +36,7 @@ See [`Pallet::unlink_identity`].
...
@@ -36,7 +36,7 @@ See [`Pallet::unlink_identity`].
<
details
><
summary
><
code
>
schedule
(
when
,
maybe_periodic
,
priority
,
call
)
</
code
></
summary
>
<
details
><
summary
><
code
>
schedule
(
when
,
maybe_periodic
,
priority
,
call
)
</
code
></
summary
>
Taking
0.01
3
%
of
a
block
.
Taking
0.01
25
%
of
a
block
.
```
rust
```
rust
when: BlockNumberFor
<T>
when: BlockNumberFor
<T>
...
@@ -53,7 +53,7 @@ See [`Pallet::schedule`].
...
@@ -53,7 +53,7 @@ See [`Pallet::schedule`].
<details><summary><code>cancel(when, index)</code></summary>
<details><summary><code>cancel(when, index)</code></summary>
Taking 0.019
5
% of a block.
Taking 0.019
4
% of a block.
```
rust
```
rust
when: BlockNumberFor
<T>
when: BlockNumberFor
<T>
...
@@ -68,7 +68,7 @@ See [`Pallet::cancel`].
...
@@ -68,7 +68,7 @@ See [`Pallet::cancel`].
<details><summary><code>schedule_named(id, when, maybe_periodic, priority, call)</code></summary>
<details><summary><code>schedule_named(id, when, maybe_periodic, priority, call)</code></summary>
Taking 0.020
3
% of a block.
Taking 0.020
4
% of a block.
```
rust
```
rust
id: TaskName
id: TaskName
...
@@ -154,7 +154,7 @@ See [`Pallet::report_equivocation`].
...
@@ -154,7 +154,7 @@ See [`Pallet::report_equivocation`].
<details><summary><code>transfer_allow_death(dest, value)</code></summary>
<details><summary><code>transfer_allow_death(dest, value)</code></summary>
Taking 0.021
6
% of a block.
Taking 0.021
1
% of a block.
```
rust
```
rust
dest: AccountIdLookupOf
<T>
dest: AccountIdLookupOf
<T>
...
@@ -169,7 +169,7 @@ See [`Pallet::transfer_allow_death`].
...
@@ -169,7 +169,7 @@ See [`Pallet::transfer_allow_death`].
<details><summary><code>transfer_keep_alive(dest, value)</code></summary>
<details><summary><code>transfer_keep_alive(dest, value)</code></summary>
Taking 0.0
232
% of a block.
Taking 0.0
128
% of a block.
```
rust
```
rust
dest: AccountIdLookupOf
<T>
dest: AccountIdLookupOf
<T>
...
@@ -184,7 +184,7 @@ See [`Pallet::transfer_keep_alive`].
...
@@ -184,7 +184,7 @@ See [`Pallet::transfer_keep_alive`].
<details><summary><code>transfer_all(dest, keep_alive)</code></summary>
<details><summary><code>transfer_all(dest, keep_alive)</code></summary>
Taking 0.01
84
% of a block.
Taking 0.01
3
% of a block.
```
rust
```
rust
dest: AccountIdLookupOf
<T>
dest: AccountIdLookupOf
<T>
...
@@ -210,13 +210,28 @@ new_free: T::Balance
...
@@ -210,13 +210,28 @@ new_free: T::Balance
See [`Pallet::force_set_balance`].
See [`Pallet::force_set_balance`].
#### force_adjust_total_issuance - 9
<details><summary><code>force_adjust_total_issuance(direction, delta)</code></summary>
Taking 0.0038 % of a block.
```
rust
direction: AdjustmentDirection
delta: T::Balance
```
</details>
See [`Pallet::force_adjust_total_issuance`].
### OneshotAccount - 7
### OneshotAccount - 7
#### create_oneshot_account - 0
#### create_oneshot_account - 0
<details><summary><code>create_oneshot_account(dest, value)</code></summary>
<details><summary><code>create_oneshot_account(dest, value)</code></summary>
Taking 0.012
6
% of a block.
Taking 0.012 % of a block.
```
rust
```
rust
dest:
<T::Lookup
as
StaticLookup
>
::Source
dest:
<T::Lookup
as
StaticLookup
>
::Source
...
@@ -231,7 +246,7 @@ See [`Pallet::create_oneshot_account`].
...
@@ -231,7 +246,7 @@ See [`Pallet::create_oneshot_account`].
<details><summary><code>consume_oneshot_account(block_height, dest)</code></summary>
<details><summary><code>consume_oneshot_account(block_height, dest)</code></summary>
Taking 0.021
4
% of a block.
Taking 0.021
3
% of a block.
```
rust
```
rust
block_height: BlockNumberFor
<T>
block_height: BlockNumberFor
<T>
...
@@ -246,7 +261,7 @@ See [`Pallet::consume_oneshot_account`].
...
@@ -246,7 +261,7 @@ See [`Pallet::consume_oneshot_account`].
<details><summary><code>consume_oneshot_account_with_remaining(block_height, dest, remaining_to, balance)</code></summary>
<details><summary><code>consume_oneshot_account_with_remaining(block_height, dest, remaining_to, balance)</code></summary>
Taking 0.029
5
% of a block.
Taking 0.029
4
% of a block.
```
rust
```
rust
block_height: BlockNumberFor
<T>
block_height: BlockNumberFor
<T>
...
@@ -265,7 +280,7 @@ See [`Pallet::consume_oneshot_account_with_remaining`].
...
@@ -265,7 +280,7 @@ See [`Pallet::consume_oneshot_account_with_remaining`].
<details><summary><code>invite_smith(receiver)</code></summary>
<details><summary><code>invite_smith(receiver)</code></summary>
Taking 0.026
5
% of a block.
Taking 0.026
7
% of a block.
```
rust
```
rust
receiver: T::IdtyIndex
receiver: T::IdtyIndex
...
@@ -279,7 +294,7 @@ See [`Pallet::invite_smith`].
...
@@ -279,7 +294,7 @@ See [`Pallet::invite_smith`].
<details><summary><code>accept_invitation()</code></summary>
<details><summary><code>accept_invitation()</code></summary>
Taking 0.013
3
% of a block.
Taking 0.013
2
% of a block.
```
rust
```
rust
```
```
...
@@ -292,7 +307,7 @@ See [`Pallet::accept_invitation`].
...
@@ -292,7 +307,7 @@ See [`Pallet::accept_invitation`].
<details><summary><code>certify_smith(receiver)</code></summary>
<details><summary><code>certify_smith(receiver)</code></summary>
Taking 0.0
234
% of a block.
Taking 0.0
317
% of a block.
```
rust
```
rust
receiver: T::IdtyIndex
receiver: T::IdtyIndex
...
@@ -308,7 +323,7 @@ See [`Pallet::certify_smith`].
...
@@ -308,7 +323,7 @@ See [`Pallet::certify_smith`].
<details><summary><code>go_offline()</code></summary>
<details><summary><code>go_offline()</code></summary>
Taking 0.018
8
% of a block.
Taking 0.018
7
% of a block.
```
rust
```
rust
```
```
...
@@ -321,7 +336,7 @@ See [`Pallet::go_offline`].
...
@@ -321,7 +336,7 @@ See [`Pallet::go_offline`].
<details><summary><code>go_online()</code></summary>
<details><summary><code>go_online()</code></summary>
Taking 0.02
25
% of a block.
Taking 0.02
16
% of a block.
```
rust
```
rust
```
```
...
@@ -334,7 +349,7 @@ See [`Pallet::go_online`].
...
@@ -334,7 +349,7 @@ See [`Pallet::go_online`].
<details><summary><code>set_session_keys(keys)</code></summary>
<details><summary><code>set_session_keys(keys)</code></summary>
Taking 0.02
96
% of a block.
Taking 0.02
84
% of a block.
```
rust
```
rust
keys: T::Keys
keys: T::Keys
...
@@ -348,7 +363,7 @@ See [`Pallet::set_session_keys`].
...
@@ -348,7 +363,7 @@ See [`Pallet::set_session_keys`].
<details><summary><code>remove_member_from_blacklist(member_id)</code></summary>
<details><summary><code>remove_member_from_blacklist(member_id)</code></summary>
Taking 0.01
25
% of a block.
Taking 0.01
16
% of a block.
```
rust
```
rust
member_id: T::MemberId
member_id: T::MemberId
...
@@ -398,7 +413,7 @@ See [`Pallet::dispatch_as_root_unchecked_weight`].
...
@@ -398,7 +413,7 @@ See [`Pallet::dispatch_as_root_unchecked_weight`].
<details><summary><code>note_preimage(bytes)</code></summary>
<details><summary><code>note_preimage(bytes)</code></summary>
Taking 0.
5106
% of a block.
Taking 0.
2881
% of a block.
```
rust
```
rust
bytes: Vec
<u8>
bytes: Vec
<u8>
...
@@ -412,7 +427,7 @@ See [`Pallet::note_preimage`].
...
@@ -412,7 +427,7 @@ See [`Pallet::note_preimage`].
<details><summary><code>unnote_preimage(hash)</code></summary>
<details><summary><code>unnote_preimage(hash)</code></summary>
Taking 0.02
1
1 % of a block.
Taking 0.02
0
1 % of a block.
```
rust
```
rust
hash: T::Hash
hash: T::Hash
...
@@ -440,7 +455,7 @@ See [`Pallet::request_preimage`].
...
@@ -440,7 +455,7 @@ See [`Pallet::request_preimage`].
<details><summary><code>unrequest_preimage(hash)</code></summary>
<details><summary><code>unrequest_preimage(hash)</code></summary>
Taking 0.0
195
% of a block.
Taking 0.0
201
% of a block.
```
rust
```
rust
hash: T::Hash
hash: T::Hash
...
@@ -454,7 +469,7 @@ See [`Pallet::unrequest_preimage`].
...
@@ -454,7 +469,7 @@ See [`Pallet::unrequest_preimage`].
<details><summary><code>ensure_updated(hashes)</code></summary>
<details><summary><code>ensure_updated(hashes)</code></summary>
Taking 2
1.0381
% of a block.
Taking 2
2.9245
% of a block.
```
rust
```
rust
hashes: Vec
<T::Hash>
hashes: Vec
<T::Hash>
...
@@ -470,7 +485,7 @@ See [`Pallet::ensure_updated`].
...
@@ -470,7 +485,7 @@ See [`Pallet::ensure_updated`].
<details><summary><code>execute(proposal, length_bound)</code></summary>
<details><summary><code>execute(proposal, length_bound)</code></summary>
Taking 0.00
6
% of a block.
Taking 0.00
55
% of a block.
```
rust
```
rust
proposal: Box
<
<
T
as
Config
<
I
>
>::Proposal>
proposal: Box
<
<
T
as
Config
<
I
>
>::Proposal>
...
@@ -501,7 +516,7 @@ See [`Pallet::propose`].
...
@@ -501,7 +516,7 @@ See [`Pallet::propose`].
<details><summary><code>vote(proposal, index, approve)</code></summary>
<details><summary><code>vote(proposal, index, approve)</code></summary>
Taking 0.01
44
% of a block.
Taking 0.01
35
% of a block.
```
rust
```
rust
proposal: T::Hash
proposal: T::Hash
...
@@ -536,7 +551,7 @@ See [`Pallet::close`].
...
@@ -536,7 +551,7 @@ See [`Pallet::close`].
<details><summary><code>claim_uds()</code></summary>
<details><summary><code>claim_uds()</code></summary>
Taking 0.02
2
4 % of a block.
Taking 0.024
2
% of a block.
```
rust
```
rust
```
```
...
@@ -549,7 +564,7 @@ See [`Pallet::claim_uds`].
...
@@ -549,7 +564,7 @@ See [`Pallet::claim_uds`].
<details><summary><code>transfer_ud(dest, value)</code></summary>
<details><summary><code>transfer_ud(dest, value)</code></summary>
Taking 0.02
7
% of a block.
Taking 0.02
26
% of a block.
```
rust
```
rust
dest:
<T::Lookup
as
StaticLookup
>
::Source
dest:
<T::Lookup
as
StaticLookup
>
::Source
...
@@ -564,7 +579,7 @@ See [`Pallet::transfer_ud`].
...
@@ -564,7 +579,7 @@ See [`Pallet::transfer_ud`].
<details><summary><code>transfer_ud_keep_alive(dest, value)</code></summary>
<details><summary><code>transfer_ud_keep_alive(dest, value)</code></summary>
Taking 0.01
93
% of a block.
Taking 0.01
41
% of a block.
```
rust
```
rust
dest:
<T::Lookup
as
StaticLookup
>
::Source
dest:
<T::Lookup
as
StaticLookup
>
::Source
...
@@ -581,7 +596,7 @@ See [`Pallet::transfer_ud_keep_alive`].
...
@@ -581,7 +596,7 @@ See [`Pallet::transfer_ud_keep_alive`].
<details><summary><code>create_identity(owner_key)</code></summary>
<details><summary><code>create_identity(owner_key)</code></summary>
Taking 0.
0969
% of a block.
Taking 0.
1
% of a block.
```
rust
```
rust
owner_key: T::AccountId
owner_key: T::AccountId
...
@@ -595,7 +610,7 @@ See [`Pallet::create_identity`].
...
@@ -595,7 +610,7 @@ See [`Pallet::create_identity`].
<details><summary><code>confirm_identity(idty_name)</code></summary>
<details><summary><code>confirm_identity(idty_name)</code></summary>
Taking 0.03
65
% of a block.
Taking 0.03
7
% of a block.
```
rust
```
rust
idty_name: IdtyName
idty_name: IdtyName
...
@@ -609,7 +624,7 @@ See [`Pallet::confirm_identity`].
...
@@ -609,7 +624,7 @@ See [`Pallet::confirm_identity`].
<details><summary><code>change_owner_key(new_key, new_key_sig)</code></summary>
<details><summary><code>change_owner_key(new_key, new_key_sig)</code></summary>
Taking 0.0
507
% of a block.
Taking 0.0
472
% of a block.
```
rust
```
rust
new_key: T::AccountId
new_key: T::AccountId
...
@@ -624,7 +639,7 @@ See [`Pallet::change_owner_key`].
...
@@ -624,7 +639,7 @@ See [`Pallet::change_owner_key`].
<details><summary><code>revoke_identity(idty_index, revocation_key, revocation_sig)</code></summary>
<details><summary><code>revoke_identity(idty_index, revocation_key, revocation_sig)</code></summary>
Taking 0.04
87
% of a block.
Taking 0.04
52
% of a block.
```
rust
```
rust
idty_index: T::IdtyIndex
idty_index: T::IdtyIndex
...
@@ -640,7 +655,7 @@ See [`Pallet::revoke_identity`].
...
@@ -640,7 +655,7 @@ See [`Pallet::revoke_identity`].
<details><summary><code>fix_sufficients(owner_key, inc)</code></summary>
<details><summary><code>fix_sufficients(owner_key, inc)</code></summary>
Taking 0.011
3
% of a block.
Taking 0.011
6
% of a block.
```
rust
```
rust
owner_key: T::AccountId
owner_key: T::AccountId
...
@@ -655,7 +670,7 @@ See [`Pallet::fix_sufficients`].
...
@@ -655,7 +670,7 @@ See [`Pallet::fix_sufficients`].
<details><summary><code>link_account(account_id, payload_sig)</code></summary>
<details><summary><code>link_account(account_id, payload_sig)</code></summary>
Taking 0.01
82
% of a block.
Taking 0.01
65
% of a block.
```
rust
```
rust
account_id: T::AccountId
account_id: T::AccountId
...
@@ -672,7 +687,7 @@ See [`Pallet::link_account`].
...
@@ -672,7 +687,7 @@ See [`Pallet::link_account`].
<details><summary><code>add_cert(receiver)</code></summary>
<details><summary><code>add_cert(receiver)</code></summary>
Taking 0.0
398
% of a block.
Taking 0.0
41
% of a block.
```
rust
```
rust
receiver: T::IdtyIndex
receiver: T::IdtyIndex
...
@@ -686,7 +701,7 @@ See [`Pallet::add_cert`].
...
@@ -686,7 +701,7 @@ See [`Pallet::add_cert`].
<details><summary><code>renew_cert(receiver)</code></summary>
<details><summary><code>renew_cert(receiver)</code></summary>
Taking 0.03
24
% of a block.
Taking 0.03
33
% of a block.
```
rust
```
rust
receiver: T::IdtyIndex
receiver: T::IdtyIndex
...
@@ -700,7 +715,7 @@ See [`Pallet::renew_cert`].
...
@@ -700,7 +715,7 @@ See [`Pallet::renew_cert`].
<details><summary><code>del_cert(issuer, receiver)</code></summary>
<details><summary><code>del_cert(issuer, receiver)</code></summary>
Taking 0.027
6
% of a block.
Taking 0.02
8
7 % of a block.
```
rust
```
rust
issuer: T::IdtyIndex
issuer: T::IdtyIndex
...
@@ -715,7 +730,7 @@ See [`Pallet::del_cert`].
...
@@ -715,7 +730,7 @@ See [`Pallet::del_cert`].
<details><summary><code>remove_all_certs_received_by(idty_index)</code></summary>
<details><summary><code>remove_all_certs_received_by(idty_index)</code></summary>
Taking
7.8043
% of a block.
Taking
8.1029
% of a block.
```
rust
```
rust
idty_index: T::IdtyIndex
idty_index: T::IdtyIndex
...
@@ -731,7 +746,7 @@ See [`Pallet::remove_all_certs_received_by`].
...
@@ -731,7 +746,7 @@ See [`Pallet::remove_all_certs_received_by`].
<details><summary><code>request_distance_evaluation()</code></summary>
<details><summary><code>request_distance_evaluation()</code></summary>
Taking 0.035
4
% of a block.
Taking 0.03
6
5 % of a block.
```
rust
```
rust
```
```
...
@@ -744,7 +759,7 @@ See [`Pallet::request_distance_evaluation`].
...
@@ -744,7 +759,7 @@ See [`Pallet::request_distance_evaluation`].
<details><summary><code>request_distance_evaluation_for(target)</code></summary>
<details><summary><code>request_distance_evaluation_for(target)</code></summary>
Taking 0.03
67
% of a block.
Taking 0.03
8
% of a block.
```
rust
```
rust
target: T::IdtyIndex
target: T::IdtyIndex
...
@@ -758,7 +773,7 @@ See [`Pallet::request_distance_evaluation_for`].
...
@@ -758,7 +773,7 @@ See [`Pallet::request_distance_evaluation_for`].
<details><summary><code>update_evaluation(computation_result)</code></summary>
<details><summary><code>update_evaluation(computation_result)</code></summary>
Taking 0.03
51
% of a block.
Taking 0.03
43
% of a block.
```
rust
```
rust
computation_result: ComputationResult
computation_result: ComputationResult
...
@@ -772,7 +787,7 @@ See [`Pallet::update_evaluation`].
...
@@ -772,7 +787,7 @@ See [`Pallet::update_evaluation`].
<details><summary><code>force_update_evaluation(evaluator, computation_result)</code></summary>
<details><summary><code>force_update_evaluation(evaluator, computation_result)</code></summary>
Taking 0.01
8
% of a block.
Taking 0.01
6
% of a block.
```
rust
```
rust
evaluator:
<T
as
frame_system::Config
>
::AccountId
evaluator:
<T
as
frame_system::Config
>
::AccountId
...
@@ -787,7 +802,7 @@ See [`Pallet::force_update_evaluation`].
...
@@ -787,7 +802,7 @@ See [`Pallet::force_update_evaluation`].
<details><summary><code>force_valid_distance_status(identity)</code></summary>
<details><summary><code>force_valid_distance_status(identity)</code></summary>
Taking 0.030
1
% of a block.
Taking 0.030
5
% of a block.
```
rust
```
rust
identity:
<T
as
pallet_identity::Config
>
::IdtyIndex
identity:
<T
as
pallet_identity::Config
>
::IdtyIndex
...
@@ -852,7 +867,7 @@ See [`Pallet::cancel_swap`].
...
@@ -852,7 +867,7 @@ See [`Pallet::cancel_swap`].
<details><summary><code>as_multi_threshold_1(other_signatories, call)</code></summary>
<details><summary><code>as_multi_threshold_1(other_signatories, call)</code></summary>
Taking 0.004
5
% of a block.
Taking 0.004 % of a block.
```
rust
```
rust
other_signatories: Vec
<T::AccountId>
other_signatories: Vec
<T::AccountId>
...
@@ -903,7 +918,7 @@ See [`Pallet::approve_as_multi`].
...
@@ -903,7 +918,7 @@ See [`Pallet::approve_as_multi`].
<details><summary><code>cancel_as_multi(threshold, other_signatories, timepoint, call_hash)</code></summary>
<details><summary><code>cancel_as_multi(threshold, other_signatories, timepoint, call_hash)</code></summary>
Taking 0.01
3
5 % of a block.
Taking 0.01
2
5 % of a block.
```
rust
```
rust
threshold: u16
threshold: u16
...
@@ -922,7 +937,7 @@ See [`Pallet::cancel_as_multi`].
...
@@ -922,7 +937,7 @@ See [`Pallet::cancel_as_multi`].
<details><summary><code>request(randomness_type, salt)</code></summary>
<details><summary><code>request(randomness_type, salt)</code></summary>
Taking 0.0
393
% of a block.
Taking 0.0
462
% of a block.
```
rust
```
rust
randomness_type: RandomnessType
randomness_type: RandomnessType
...
@@ -939,7 +954,7 @@ See [`Pallet::request`].
...
@@ -939,7 +954,7 @@ See [`Pallet::request`].
<details><summary><code>proxy(real, force_proxy_type, call)</code></summary>
<details><summary><code>proxy(real, force_proxy_type, call)</code></summary>
Taking 0.00
63
% of a block.
Taking 0.00
55
% of a block.
```
rust
```
rust
real: AccountIdLookupOf
<T>
real: AccountIdLookupOf
<T>
...
@@ -955,7 +970,7 @@ See [`Pallet::proxy`].
...
@@ -955,7 +970,7 @@ See [`Pallet::proxy`].
<details><summary><code>add_proxy(delegate, proxy_type, delay)</code></summary>
<details><summary><code>add_proxy(delegate, proxy_type, delay)</code></summary>
Taking 0.012
9
% of a block.
Taking 0.012
2
% of a block.
```
rust
```
rust
delegate: AccountIdLookupOf
<T>
delegate: AccountIdLookupOf
<T>
...
@@ -971,7 +986,7 @@ See [`Pallet::add_proxy`].
...
@@ -971,7 +986,7 @@ See [`Pallet::add_proxy`].
<details><summary><code>remove_proxy(delegate, proxy_type, delay)</code></summary>
<details><summary><code>remove_proxy(delegate, proxy_type, delay)</code></summary>
Taking 0.01
33
% of a block.
Taking 0.01
22
% of a block.
```
rust
```
rust
delegate: AccountIdLookupOf
<T>
delegate: AccountIdLookupOf
<T>
...
@@ -987,7 +1002,7 @@ See [`Pallet::remove_proxy`].
...
@@ -987,7 +1002,7 @@ See [`Pallet::remove_proxy`].
<details><summary><code>remove_proxies()</code></summary>
<details><summary><code>remove_proxies()</code></summary>
Taking 0.012
9
% of a block.
Taking 0.012
1
% of a block.
```
rust
```
rust
```
```
...
@@ -1000,7 +1015,7 @@ See [`Pallet::remove_proxies`].
...
@@ -1000,7 +1015,7 @@ See [`Pallet::remove_proxies`].
<details><summary><code>create_pure(proxy_type, delay, index)</code></summary>
<details><summary><code>create_pure(proxy_type, delay, index)</code></summary>
Taking 0.01
41
% of a block.
Taking 0.01
22
% of a block.
```
rust
```
rust
proxy_type: T::ProxyType
proxy_type: T::ProxyType
...
@@ -1016,7 +1031,7 @@ See [`Pallet::create_pure`].
...
@@ -1016,7 +1031,7 @@ See [`Pallet::create_pure`].
<details><summary><code>kill_pure(spawner, proxy_type, index, height, ext_index)</code></summary>
<details><summary><code>kill_pure(spawner, proxy_type, index, height, ext_index)</code></summary>
Taking 0.012
5
% of a block.
Taking 0.012
2
% of a block.
```
rust
```
rust
spawner: AccountIdLookupOf
<T>
spawner: AccountIdLookupOf
<T>
...
@@ -1034,7 +1049,7 @@ See [`Pallet::kill_pure`].
...
@@ -1034,7 +1049,7 @@ See [`Pallet::kill_pure`].
<details><summary><code>announce(real, call_hash)</code></summary>
<details><summary><code>announce(real, call_hash)</code></summary>
Taking 0.021
8
% of a block.
Taking 0.021
7
% of a block.
```
rust
```
rust
real: AccountIdLookupOf
<T>
real: AccountIdLookupOf
<T>
...
@@ -1049,7 +1064,7 @@ See [`Pallet::announce`].
...
@@ -1049,7 +1064,7 @@ See [`Pallet::announce`].
<details><summary><code>remove_announcement(real, call_hash)</code></summary>
<details><summary><code>remove_announcement(real, call_hash)</code></summary>
Taking 0.0
198
% of a block.
Taking 0.0
2
% of a block.
```
rust
```
rust
real: AccountIdLookupOf
<T>
real: AccountIdLookupOf
<T>
...
@@ -1079,7 +1094,7 @@ See [`Pallet::reject_announcement`].
...
@@ -1079,7 +1094,7 @@ See [`Pallet::reject_announcement`].
<details><summary><code>proxy_announced(delegate, real, force_proxy_type, call)</code></summary>
<details><summary><code>proxy_announced(delegate, real, force_proxy_type, call)</code></summary>
Taking 0.02
35
% of a block.
Taking 0.02
18
% of a block.
```
rust
```
rust
delegate: AccountIdLookupOf
<T>
delegate: AccountIdLookupOf
<T>
...
@@ -1098,7 +1113,7 @@ See [`Pallet::proxy_announced`].
...
@@ -1098,7 +1113,7 @@ See [`Pallet::proxy_announced`].
<details><summary><code>batch(calls)</code></summary>
<details><summary><code>batch(calls)</code></summary>
Taking 0.
272
8 % of a block.
Taking 0.
105
8 % of a block.
```
rust
```
rust
calls: Vec
<
<
T
as
Config
>
::RuntimeCall>
calls: Vec
<
<
T
as
Config
>
::RuntimeCall>
...
@@ -1112,7 +1127,7 @@ See [`Pallet::batch`].
...
@@ -1112,7 +1127,7 @@ See [`Pallet::batch`].
<details><summary><code>as_derivative(index, call)</code></summary>
<details><summary><code>as_derivative(index, call)</code></summary>
Taking 0.00
4
% of a block.
Taking 0.00
37
% of a block.
```
rust
```
rust
index: u16
index: u16
...
@@ -1127,7 +1142,7 @@ See [`Pallet::as_derivative`].
...
@@ -1127,7 +1142,7 @@ See [`Pallet::as_derivative`].
<details><summary><code>batch_all(calls)</code></summary>
<details><summary><code>batch_all(calls)</code></summary>
Taking 0.
2935
% of a block.
Taking 0.
1127
% of a block.
```
rust
```
rust
calls: Vec
<
<
T
as
Config
>
::RuntimeCall>
calls: Vec
<
<
T
as
Config
>
::RuntimeCall>
...
@@ -1141,7 +1156,7 @@ See [`Pallet::batch_all`].
...
@@ -1141,7 +1156,7 @@ See [`Pallet::batch_all`].
<details><summary><code>force_batch(calls)</code></summary>
<details><summary><code>force_batch(calls)</code></summary>
Taking 0.
3
10
4
% of a block.
Taking 0.10
53
% of a block.
```
rust
```
rust
calls: Vec
<
<
T
as
Config
>
::RuntimeCall>
calls: Vec
<
<
T
as
Config
>
::RuntimeCall>
...
@@ -1172,7 +1187,7 @@ See [`Pallet::with_weight`].
...
@@ -1172,7 +1187,7 @@ See [`Pallet::with_weight`].
<details><summary><code>propose_spend(value, beneficiary)</code></summary>
<details><summary><code>propose_spend(value, beneficiary)</code></summary>
Taking 0.018
3
% of a block.
Taking 0.018
5
% of a block.
```
rust
```
rust
value: BalanceOf
<T
,
I
>
value: BalanceOf
<T
,
I
>
...
@@ -1202,7 +1217,7 @@ See [`Pallet::spend_local`].
...
@@ -1202,7 +1217,7 @@ See [`Pallet::spend_local`].
<details><summary><code>remove_approval(proposal_id)</code></summary>
<details><summary><code>remove_approval(proposal_id)</code></summary>
Taking 0.011
1
% of a block.
Taking 0.011
5
% of a block.
```
rust
```
rust
proposal_id: ProposalIndex
proposal_id: ProposalIndex
...
@@ -1216,7 +1231,7 @@ See [`Pallet::remove_approval`].
...
@@ -1216,7 +1231,7 @@ See [`Pallet::remove_approval`].
<details><summary><code>spend(asset_kind, amount, beneficiary, valid_from)</code></summary>
<details><summary><code>spend(asset_kind, amount, beneficiary, valid_from)</code></summary>
Taking 0.003
5
% of a block.
Taking 0.003
6
% of a block.
```
rust
```
rust
asset_kind: Box
<T::AssetKind>
asset_kind: Box
<T::AssetKind>
...
@@ -1233,7 +1248,7 @@ See [`Pallet::spend`].
...
@@ -1233,7 +1248,7 @@ See [`Pallet::spend`].
<details><summary><code>payout(index)</code></summary>
<details><summary><code>payout(index)</code></summary>
Taking 0.0
3
26 % of a block.
Taking 0.02
8
6 % of a block.
```
rust
```
rust
index: SpendIndex
index: SpendIndex
...
@@ -1247,7 +1262,7 @@ See [`Pallet::payout`].
...
@@ -1247,7 +1262,7 @@ See [`Pallet::payout`].
<details><summary><code>check_status(index)</code></summary>
<details><summary><code>check_status(index)</code></summary>
Taking 0.011 % of a block.
Taking 0.011
7
% of a block.
```
rust
```
rust
index: SpendIndex
index: SpendIndex
...
@@ -1261,7 +1276,7 @@ See [`Pallet::check_status`].
...
@@ -1261,7 +1276,7 @@ See [`Pallet::check_status`].
<details><summary><code>void_spend(index)</code></summary>
<details><summary><code>void_spend(index)</code></summary>
Taking 0.011 % of a block.
Taking 0.011
7
% of a block.
```
rust
```
rust
index: SpendIndex
index: SpendIndex
...
@@ -1283,7 +1298,7 @@ There are **18** root calls from **8** pallets.
...
@@ -1283,7 +1298,7 @@ There are **18** root calls from **8** pallets.
<details><summary><code>set_heap_pages(pages)</code></summary>
<details><summary><code>set_heap_pages(pages)</code></summary>
Taking 0.01
69
% of a block.
Taking 0.01
78
% of a block.
```
rust
```
rust
pages: u64
pages: u64
...
@@ -1297,7 +1312,7 @@ See [`Pallet::set_heap_pages`].
...
@@ -1297,7 +1312,7 @@ See [`Pallet::set_heap_pages`].
<details><summary><code>set_code(code)</code></summary>
<details><summary><code>set_code(code)</code></summary>
Taking 3.9
604
% of a block.
Taking 3.9
187
% of a block.
```
rust
```
rust
code: Vec
<u8>
code: Vec
<u8>
...
@@ -1325,7 +1340,7 @@ See [`Pallet::set_code_without_checks`].
...
@@ -1325,7 +1340,7 @@ See [`Pallet::set_code_without_checks`].
<details><summary><code>set_storage(items)</code></summary>
<details><summary><code>set_storage(items)</code></summary>
Taking
5.9
16
9
% of a block.
Taking
6.41
16 % of a block.
```
rust
```
rust
items: Vec
<KeyValue>
items: Vec
<KeyValue>
...
@@ -1339,7 +1354,7 @@ See [`Pallet::set_storage`].
...
@@ -1339,7 +1354,7 @@ See [`Pallet::set_storage`].
<details><summary><code>kill_storage(keys)</code></summary>
<details><summary><code>kill_storage(keys)</code></summary>
Taking
5.8899
% of a block.
Taking
6.403
% of a block.
```
rust
```
rust
keys: Vec
<Key>
keys: Vec
<Key>
...
@@ -1353,7 +1368,7 @@ See [`Pallet::kill_storage`].
...
@@ -1353,7 +1368,7 @@ See [`Pallet::kill_storage`].
<details><summary><code>kill_prefix(prefix, subkeys)</code></summary>
<details><summary><code>kill_prefix(prefix, subkeys)</code></summary>
Taking 7.
0785
% of a block.
Taking 7.
7227
% of a block.
```
rust
```
rust
prefix: Key
prefix: Key
...
@@ -1368,7 +1383,7 @@ See [`Pallet::kill_prefix`].
...
@@ -1368,7 +1383,7 @@ See [`Pallet::kill_prefix`].
<details><summary><code>authorize_upgrade(code_hash)</code></summary>
<details><summary><code>authorize_upgrade(code_hash)</code></summary>
Taking 0.0
098
% of a block.
Taking 0.0
105
% of a block.
```
rust
```
rust
code_hash: T::Hash
code_hash: T::Hash
...
@@ -1396,7 +1411,7 @@ See [`Pallet::authorize_upgrade_without_checks`].
...
@@ -1396,7 +1411,7 @@ See [`Pallet::authorize_upgrade_without_checks`].
<details><summary><code>apply_authorized_upgrade(code)</code></summary>
<details><summary><code>apply_authorized_upgrade(code)</code></summary>
Taking 4.1
178
% of a block.
Taking 4.1
37
% of a block.
```
rust
```
rust
code: Vec
<u8>
code: Vec
<u8>
...
@@ -1428,7 +1443,7 @@ See [`Pallet::plan_config_change`].
...
@@ -1428,7 +1443,7 @@ See [`Pallet::plan_config_change`].
<details><summary><code>force_transfer(source, dest, value)</code></summary>
<details><summary><code>force_transfer(source, dest, value)</code></summary>
Taking 0.0
347
% of a block.
Taking 0.0
289
% of a block.
```
rust
```
rust
source: AccountIdLookupOf
<T>
source: AccountIdLookupOf
<T>
...
@@ -1444,7 +1459,7 @@ See [`Pallet::force_transfer`].
...
@@ -1444,7 +1459,7 @@ See [`Pallet::force_transfer`].
<details><summary><code>force_unreserve(who, amount)</code></summary>
<details><summary><code>force_unreserve(who, amount)</code></summary>
Taking 0.01
28
% of a block.
Taking 0.01
19
% of a block.
```
rust
```
rust
who: AccountIdLookupOf
<T>
who: AccountIdLookupOf
<T>
...
@@ -1461,7 +1476,7 @@ See [`Pallet::force_unreserve`].
...
@@ -1461,7 +1476,7 @@ See [`Pallet::force_unreserve`].
<details><summary><code>remove_member(member_id)</code></summary>
<details><summary><code>remove_member(member_id)</code></summary>
Taking 0.07
3
% of a block.
Taking 0.07
68
% of a block.
```
rust
```
rust
member_id: T::MemberId
member_id: T::MemberId
...
@@ -1494,7 +1509,7 @@ See [`Pallet::note_stalled`].
...
@@ -1494,7 +1509,7 @@ See [`Pallet::note_stalled`].
<details><summary><code>set_members(new_members, prime, old_count)</code></summary>
<details><summary><code>set_members(new_members, prime, old_count)</code></summary>
Taking 0.1
75
% of a block.
Taking 0.1
828
% of a block.
```
rust
```
rust
new_members: Vec
<T::AccountId>
new_members: Vec
<T::AccountId>
...
@@ -1510,7 +1525,7 @@ See [`Pallet::set_members`].
...
@@ -1510,7 +1525,7 @@ See [`Pallet::set_members`].
<details><summary><code>disapprove_proposal(proposal_hash)</code></summary>
<details><summary><code>disapprove_proposal(proposal_hash)</code></summary>
Taking 0.02
36
% of a block.
Taking 0.02
47
% of a block.
```
rust
```
rust
proposal_hash: T::Hash
proposal_hash: T::Hash
...
@@ -1526,7 +1541,7 @@ See [`Pallet::disapprove_proposal`].
...
@@ -1526,7 +1541,7 @@ See [`Pallet::disapprove_proposal`].
<details><summary><code>prune_item_identities_names(names)</code></summary>
<details><summary><code>prune_item_identities_names(names)</code></summary>
Taking
5.9553
% of a block.
Taking
6.4472
% of a block.
```
rust
```
rust
names: Vec
<IdtyName>
names: Vec
<IdtyName>
...
@@ -1542,7 +1557,7 @@ See [`Pallet::prune_item_identities_names`].
...
@@ -1542,7 +1557,7 @@ See [`Pallet::prune_item_identities_names`].
<details><summary><code>dispatch_as(as_origin, call)</code></summary>
<details><summary><code>dispatch_as(as_origin, call)</code></summary>
Taking 0.00
5
% of a block.
Taking 0.00
38
% of a block.
```
rust
```
rust
as_origin: Box
<T::PalletsOrigin>
as_origin: Box
<T::PalletsOrigin>
...
@@ -1568,7 +1583,7 @@ There are **4** disabled calls from **2** pallets.
...
@@ -1568,7 +1583,7 @@ There are **4** disabled calls from **2** pallets.
<details><summary><code>remark(remark)</code></summary>
<details><summary><code>remark(remark)</code></summary>
Taking 0.0
94
6 % of a block.
Taking 0.0
53
6 % of a block.
```
rust
```
rust
remark: Vec
<u8>
remark: Vec
<u8>
...
@@ -1582,7 +1597,7 @@ See [`Pallet::remark`].
...
@@ -1582,7 +1597,7 @@ See [`Pallet::remark`].
<details><summary><code>remark_with_event(remark)</code></summary>
<details><summary><code>remark_with_event(remark)</code></summary>
Taking 0.
3505
% of a block.
Taking 0.
2032
% of a block.
```
rust
```
rust
remark: Vec
<u8>
remark: Vec
<u8>
...
@@ -1598,7 +1613,7 @@ See [`Pallet::remark_with_event`].
...
@@ -1598,7 +1613,7 @@ See [`Pallet::remark_with_event`].
<details><summary><code>set_keys(keys, proof)</code></summary>
<details><summary><code>set_keys(keys, proof)</code></summary>
Taking 0.04
06
% of a block.
Taking 0.04
31
% of a block.
```
rust
```
rust
keys: T::Keys
keys: T::Keys
...
@@ -1613,7 +1628,7 @@ See [`Pallet::set_keys`].
...
@@ -1613,7 +1628,7 @@ See [`Pallet::set_keys`].
<details><summary><code>purge_keys()</code></summary>
<details><summary><code>purge_keys()</code></summary>
Taking 0.035
1
% of a block.
Taking 0.03
7
5 % of a block.
```
rust
```
rust
```
```
...
...
This diff is collapsed.
Click to expand it.
docs/api/runtime-errors.md
+
16
−
2
View file @
89c8f444
# Runtime errors
# Runtime errors
There are
**18
6
**
errors from
**35**
pallets.
There are
**18
8
**
errors from
**35**
pallets.
<ul>
<ul>
<li>
System - 0
<li>
System - 0
...
@@ -212,7 +212,7 @@ Number of named reserves exceed `MaxReserves`.
...
@@ -212,7 +212,7 @@ Number of named reserves exceed `MaxReserves`.
<details>
<details>
<summary>
<summary>
<code>
TooManyHolds
</code>
- 8
</summary>
<code>
TooManyHolds
</code>
- 8
</summary>
Number of holds exceed
`
MaxHolds
`
.
Number of holds exceed
`
VariantCountOf<T::RuntimeHoldReason>
`
.
</details>
</details>
</li>
</li>
<li>
<li>
...
@@ -222,6 +222,20 @@ Number of holds exceed `MaxHolds`.
...
@@ -222,6 +222,20 @@ Number of holds exceed `MaxHolds`.
Number of freezes exceed
`MaxFreezes`
.
Number of freezes exceed
`MaxFreezes`
.
</details>
</details>
</li>
</li>
<li>
<details>
<summary>
<code>
IssuanceDeactivated
</code>
- 10
</summary>
The issuance cannot be modified since it is already deactivated.
</details>
</li>
<li>
<details>
<summary>
<code>
DeltaZero
</code>
- 11
</summary>
The delta cannot be zero.
</details>
</li>
</ul>
</ul>
</li>
</li>
<li>
TransactionPayment - 32
<li>
TransactionPayment - 32
...
...
This diff is collapsed.
Click to expand it.
docs/api/runtime-events.md
+
14
−
1
View file @
89c8f444
# Runtime events
# Runtime events
There are
**13
4
**
events from
**35**
pallets.
There are
**13
5
**
events from
**35**
pallets.
<ul>
<ul>
<li>
System - 0
<li>
System - 0
...
@@ -493,6 +493,19 @@ who: T::AccountId
...
@@ -493,6 +493,19 @@ who: T::AccountId
amount
:
T
::
Balance
amount
:
T
::
Balance
```
```
</details>
</li>
<li>
<details>
<summary>
<code>
TotalIssuanceForced(old, new)
</code>
- 21
</summary>
The
`TotalIssuance`
was forcefully changed.
```
rust
old
:
T
::
Balance
new
:
T
::
Balance
```
</details>
</details>
</li>
</li>
</ul>
</ul>
...
...
This diff is collapsed.
Click to expand it.
xtask/Cargo.toml
+
2
−
2
View file @
89c8f444
...
@@ -13,12 +13,12 @@ path = "src/main.rs"
...
@@ -13,12 +13,12 @@ path = "src/main.rs"
name
=
"xtask"
name
=
"xtask"
[dependencies]
[dependencies]
anyhow
=
{
workspace
=
true
}
anyhow
=
{
workspace
=
true
,
features
=
[
"std"
]
}
clap
=
{
workspace
=
true
,
features
=
[
"derive"
]
}
clap
=
{
workspace
=
true
,
features
=
[
"derive"
]
}
codec
=
{
workspace
=
true
,
features
=
[
"derive"
,
"full"
,
"bit-vec"
]
}
codec
=
{
workspace
=
true
,
features
=
[
"derive"
,
"full"
,
"bit-vec"
]
}
frame-metadata
=
{
workspace
=
true
}
frame-metadata
=
{
workspace
=
true
}
graphql_client
=
{
workspace
=
true
}
graphql_client
=
{
workspace
=
true
}
hex
=
{
workspace
=
true
}
hex
=
{
workspace
=
true
,
features
=
[
"alloc"
]
}
memmap2
=
{
workspace
=
true
}
memmap2
=
{
workspace
=
true
}
placeholder
=
{
workspace
=
true
}
placeholder
=
{
workspace
=
true
}
reqwest
=
{
workspace
=
true
,
features
=
[
"json"
]
}
reqwest
=
{
workspace
=
true
,
features
=
[
"json"
]
}
...
...
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