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
Merge requests
!180
Resolve "Adopt Blake2_128Concat instead of Blake2_128"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Resolve "Adopt Blake2_128Concat instead of Blake2_128"
123-adopt-blake2_128concat-instead-of-blake2_128-2
into
master
Overview
0
Commits
1
Pipelines
3
Changes
1
Merged
Cédric Moreau
requested to merge
123-adopt-blake2_128concat-instead-of-blake2_128-2
into
master
1 year ago
Overview
0
Commits
1
Pipelines
3
Changes
1
Closes
#123 (closed)
0
0
Merge request reports
Viewing commit
74a73b2e
Show latest version
1 file
+
3
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
74a73b2e
fix(
#123
): Blake2_128Concat
· 74a73b2e
Cédric Moreau
authored
1 year ago
pallets/identity/src/lib.rs
+
3
−
2
View file @ 74a73b2e
Edit in single-file editor
Open in Web IDE
Show full file
@@ -188,12 +188,13 @@ pub mod pallet {
#[pallet::storage]
#[pallet::getter(fn
identity_index_of)]
pub
type
IdentityIndexOf
<
T
:
Config
>
=
StorageMap
<
_
,
Blake2_128
,
T
::
AccountId
,
T
::
IdtyIndex
,
OptionQuery
>
;
StorageMap
<
_
,
Blake2_128
Concat
,
T
::
AccountId
,
T
::
IdtyIndex
,
OptionQuery
>
;
/// maps identity name to null type (simply a set)
#[pallet::storage]
#[pallet::getter(fn
identity_by_did)]
pub
type
IdentitiesNames
<
T
:
Config
>
=
StorageMap
<
_
,
Blake2_128
,
IdtyName
,
(),
OptionQuery
>
;
pub
type
IdentitiesNames
<
T
:
Config
>
=
StorageMap
<
_
,
Blake2_128Concat
,
IdtyName
,
(),
OptionQuery
>
;
/// counter of the identity index to give to the next identity
#[pallet::storage]
Loading