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
Merge requests
!219
automatically claim membership
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
automatically claim membership
hugo-dev
into
master
Overview
14
Commits
10
Pipelines
47
Changes
3
Merged
Hugo Trentesaux
requested to merge
hugo-dev
into
master
1 year ago
Overview
11
Commits
10
Pipelines
47
Changes
3
Expand
closes
#159 (closed)
closes
#164 (closed)
closes
#165 (closed)
0
0
Merge request reports
Viewing commit
7366cd13
Show latest version
3 files
+
135
−
115
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
7366cd13
fix weight info
· 7366cd13
Hugo Trentesaux
authored
1 year ago
pallets/distance/src/lib.rs
+
2
−
2
Options
@@ -259,7 +259,7 @@ pub mod pallet {
@@ -259,7 +259,7 @@ pub mod pallet {
/// Request target identity to be evaluated
/// Request target identity to be evaluated
/// only possible for unvalidated identity
/// only possible for unvalidated identity
#[pallet::call_index(
4
)]
#[pallet::call_index(
4
)]
#[pallet::weight(
<
T
as
pallet::Config
>
::WeightInfo::request_distance_evaluation())]
#[pallet::weight(
<
T
as
pallet::Config
>
::WeightInfo::request_distance_evaluation
_for
())]
pub
fn
request_distance_evaluation_for
(
pub
fn
request_distance_evaluation_for
(
origin
:
OriginFor
<
T
>
,
origin
:
OriginFor
<
T
>
,
target
:
T
::
IdtyIndex
,
target
:
T
::
IdtyIndex
,
@@ -317,7 +317,7 @@ pub mod pallet {
@@ -317,7 +317,7 @@ pub mod pallet {
/// when the evaluation completes.
/// when the evaluation completes.
/// * `status.1` is the status of the evaluation.
/// * `status.1` is the status of the evaluation.
#[pallet::call_index(
3
)]
#[pallet::call_index(
3
)]
#[pallet::weight(
<
T
as
pallet::Config
>
::WeightInfo::force_
set
_distance_status())]
#[pallet::weight(
<
T
as
pallet::Config
>
::WeightInfo::force_
valid
_distance_status())]
pub
fn
force_valid_distance_status
(
pub
fn
force_valid_distance_status
(
origin
:
OriginFor
<
T
>
,
origin
:
OriginFor
<
T
>
,
identity
:
<
T
as
pallet_identity
::
Config
>
::
IdtyIndex
,
identity
:
<
T
as
pallet_identity
::
Config
>
::
IdtyIndex
,
Loading