Skip to content

Commit

Permalink
Update docs (#237)
Browse files Browse the repository at this point in the history
Co-authored-by: Xavier Lau <xavier@inv.cafe>
  • Loading branch information
boundless-forest and AurevoirXavier authored Jan 29, 2023
1 parent 14f9beb commit 4a9ea62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tool/state-processor/src/identity/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Process steps
1. take `Identity::IdentityOf`, `Identity::Registrars`, `Identity::SuperOf` and `Identity::SuperOf`
1. take `Identity::IdentityOf`, `Identity::Registrars`, `Identity::SubsOf`
2. free super_id's reservation
3. adjust identities' deposit and judgement decimal
4. set `AccountMigration::Identities`
Expand Down
2 changes: 1 addition & 1 deletion tool/state-processor/src/identity/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ impl<S> Processor<S> {
let mut registrars = Vec::<Option<RegistrarInfo<AccountId32>>>::default();
let mut subs_of = Map::<(Balance, Vec<AccountId32>)>::default();

log::info!("take `Identity::IdentityOf`, `Identity::Registrars`, `Identity::SuperOf` and `Identity::SuperOf`");
log::info!("take `Identity::IdentityOf`, `Identity::Registrars`, `Identity::SubsOf`");
self.solo_state
.take_map(b"Identity", b"IdentityOf", &mut identities, get_hashed_key)
.take_value(b"Identity", b"Registrars", "", &mut registrars)
Expand Down

0 comments on commit 4a9ea62

Please sign in to comment.