Skip to content

Commit ad8d228

Browse files
identity: Don't let subs be re-registered (#6667)
* Fixes and tests * Don't set subs be re-registered. Also allow subs to de-register themselves and collect the deposit. Also allow individual registering and removal of subs. * Make it build * Update frame/identity/src/lib.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Tests * Add benchmarks * Add some reasonable weights * Docs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
1 parent 9b9ddef commit ad8d228

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fuzzer/src/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub type Indices = pallet_indices::Module<Test>;
3232
pub type Session = pallet_session::Module<Test>;
3333

3434
impl_outer_origin! {
35-
pub enum Origin for Test where system = frame_system {}
35+
pub enum Origin for Test where system = frame_system {}
3636
}
3737

3838
impl_outer_dispatch! {

src/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ impl Get<u32> for MaxIterations {
153153
}
154154

155155
impl_outer_origin! {
156-
pub enum Origin for Test where system = frame_system {}
156+
pub enum Origin for Test where system = frame_system {}
157157
}
158158

159159
impl_outer_dispatch! {

0 commit comments

Comments
 (0)