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
!188
Add benchmarks to CI
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add benchmarks to CI
bgallois/duniter-v2s:add_benchmarks_ci
into
master
Overview
5
Commits
4
Pipelines
22
Changes
1
Merged
Benjamin Gallois
requested to merge
bgallois/duniter-v2s:add_benchmarks_ci
into
master
1 year ago
Overview
2
Commits
4
Pipelines
22
Changes
1
Expand
1
0
Merge request reports
Viewing commit
0f4cd6b3
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
0f4cd6b3
fix pallet-identity benchmarks
· 0f4cd6b3
bgallois
authored
1 year ago
(cherry picked from commit
c2dd6399
)
pallets/identity/src/benchmarking.rs
+
1
−
1
Options
@@ -87,7 +87,7 @@ fn create_dummy_identity<T: Config>(i: u32) -> Result<(), &'static str> {
<
Identities
<
T
>>
::
insert
(
idty_index
,
value
);
IdentitiesRemovableOn
::
<
T
>
::
append
(
removable_on
,
(
idty_index
,
IdtyStatus
::
Created
));
IdentityIndexOf
::
<
T
>
::
insert
(
owner_key
.clone
(),
idty_index
);
<
IdentitiesNames
<
T
>>
::
insert
(
idty_name
.clone
(),
()
);
<
IdentitiesNames
<
T
>>
::
insert
(
idty_name
.clone
(),
idty_index
);
Ok
(())
}
Loading