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
!180
Resolve "Adopt Blake2_128Concat instead of Blake2_128"
Code
Review changes
Check out branch
Download
Patches
Plain diff
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
Expand
Closes
#123 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
74a73b2e
1 commit,
1 year ago
1 file
+
3
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
pallets/identity/src/lib.rs
+
3
−
2
Options
@@ -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