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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
a25eba2e
Commit
a25eba2e
authored
1 year ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
refac(
#173
): update metadata.scale + docs
parent
df405498
No related branches found
No related tags found
1 merge request
!228
Resolve "Améliorations pour smith-members"
Pipeline
#35542
passed
1 year ago
Stage: labels
Stage: quality
Stage: build
Stage: tests
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/api/runtime-calls.md
+3
-3
3 additions, 3 deletions
docs/api/runtime-calls.md
docs/api/runtime-events.md
+19
-6
19 additions, 6 deletions
docs/api/runtime-events.md
resources/metadata.scale
+0
-0
0 additions, 0 deletions
resources/metadata.scale
with
22 additions
and
9 deletions
docs/api/runtime-calls.md
+
3
−
3
View file @
a25eba2e
...
@@ -359,7 +359,7 @@ receiver: T::IdtyIndex
...
@@ -359,7 +359,7 @@ receiver: T::IdtyIndex
</details>
</details>
Invite a WoT member to try becoming a Smith
#### accept_invitation - 1
#### accept_invitation - 1
...
@@ -372,7 +372,7 @@ Taking 0.0085 % of a block.
...
@@ -372,7 +372,7 @@ Taking 0.0085 % of a block.
</details>
</details>
Accept an invitation (must have been invited first)
#### certify_smith - 2
#### certify_smith - 2
...
@@ -386,7 +386,7 @@ receiver: T::IdtyIndex
...
@@ -386,7 +386,7 @@ receiver: T::IdtyIndex
</details>
</details>
Certify an invited smith which can lead the certified to become a Smith
### AuthorityMembers - 11
### AuthorityMembers - 11
...
...
This diff is collapsed.
Click to expand it.
docs/api/runtime-events.md
+
19
−
6
View file @
a25eba2e
# Runtime events
# Runtime events
There are
**12
8
**
events from
**35**
pallets.
There are
**12
9
**
events from
**35**
pallets.
<ul>
<ul>
<li>
System - 0
<li>
System - 0
...
@@ -674,12 +674,25 @@ idty_index: T::IdtyIndex
...
@@ -674,12 +674,25 @@ idty_index: T::IdtyIndex
<li>
<li>
<details>
<details>
<summary>
<summary>
<code>
CertificationReceived(idty_index
, issue
d_by
)
</code>
- 2
</summary>
<code>
SmithCertAdded(receiver
, issue
r
)
</code>
- 2
</summary>
Certification received
Certification received
```
rust
```
rust
idty_index
:
T
::
IdtyIndex
receiver
:
T
::
IdtyIndex
issued_by
:
T
::
IdtyIndex
issuer
:
T
::
IdtyIndex
```
</details>
</li>
<li>
<details>
<summary>
<code>
SmithCertRemoved(receiver, issuer)
</code>
- 3
</summary>
Certification lost
```
rust
receiver
:
T
::
IdtyIndex
issuer
:
T
::
IdtyIndex
```
```
</details>
</details>
...
@@ -687,7 +700,7 @@ issued_by: T::IdtyIndex
...
@@ -687,7 +700,7 @@ issued_by: T::IdtyIndex
<li>
<li>
<details>
<details>
<summary>
<summary>
<code>
PromotedToSmith
(idty_index)
</code>
-
3
</summary>
<code>
SmithMembershipAdded
(idty_index)
</code>
-
4
</summary>
A smith gathered enough certifications to become an authority (can call
`go_online()`
).
A smith gathered enough certifications to become an authority (can call
`go_online()`
).
```
rust
```
rust
...
@@ -699,7 +712,7 @@ idty_index: T::IdtyIndex
...
@@ -699,7 +712,7 @@ idty_index: T::IdtyIndex
<li>
<li>
<details>
<details>
<summary>
<summary>
<code>
Smith
Exclud
ed(idty_index)
</code>
-
4
</summary>
<code>
Smith
MembershipRemov
ed(idty_index)
</code>
-
5
</summary>
A smith has been removed from the smiths set.
A smith has been removed from the smiths set.
```
rust
```
rust
...
...
This diff is collapsed.
Click to expand it.
resources/metadata.scale
+
0
−
0
View file @
a25eba2e
No preview for this file type
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