diff --git a/src/keri/app/cli/commands/migrate.py b/src/keri/app/cli/commands/migrate.py index 0f4035f78..2116ee267 100644 --- a/src/keri/app/cli/commands/migrate.py +++ b/src/keri/app/cli/commands/migrate.py @@ -125,6 +125,15 @@ def migrate(tymth, tock=0.0, **opts): migrateKeys(hby.db) + # clear escrows + print("clearing escrows") + hby.db.gpwe.trim() + hby.db.gdee.trim() + hby.db.dpwe.trim() + hby.db.gpse.trim() + hby.db.epse.trim() + hby.db.dune.trim() + except ConfigurationError: print(f"identifier prefix for {name} does not exist, incept must be run first", ) return -1 diff --git a/src/keri/db/basing.py b/src/keri/db/basing.py index d4263fc91..127df822b 100644 --- a/src/keri/db/basing.py +++ b/src/keri/db/basing.py @@ -883,7 +883,7 @@ def reopen(self, **kwa): self.ends = koming.Komer(db=self, subkey='ends.', schema=EndpointRecord, ) - # service endpont locations keyed by eid.scheme (endpoint identifier) + # service endpoint locations keyed by eid.scheme (endpoint identifier) # data extracted from reply loc self.locs = koming.Komer(db=self, subkey='locs.', @@ -1015,12 +1015,14 @@ def reopen(self, **kwa): # Global settings for the Habery environment self.hbys = subing.Suber(db=self, subkey='hbys.') + # Signed contact data, keys by prefix self.cons = subing.Suber(db=self, subkey="cons.") # Transferable signatures on contact data self.ccigs = subing.CesrSuber(db=self, subkey='ccigs.', klas=coring.Cigar) + # Chunked image data for contact information for remote identifiers self.imgs = self.env.open_db(key=b'imgs.')