refactor(db): Migrate wigs database to CesrIoSetSuber#1180
Merged
SmithSamuelM merged 14 commits intoWebOfTrust:mainfrom Feb 23, 2026
Merged
refactor(db): Migrate wigs database to CesrIoSetSuber#1180SmithSamuelM merged 14 commits intoWebOfTrust:mainfrom
SmithSamuelM merged 14 commits intoWebOfTrust:mainfrom
Conversation
Collaborator
|
Not sure why your pull request is worried about a workflow pull request |
Collaborator
|
Please resolve conflicts |
Collaborator
SmithSamuelM
left a comment
There was a problem hiding this comment.
the new CeserSuber returns instances of siger not qb64 signature, therefore the convention for the return variable is to use the variable wiger for (witness siger) and not wits. So everywhere that the old code is returns to wits it should be wigers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For issue #1163
Summary
Refactored
wigsdatabase from raw LMDB storage toCesrIoSetSuber, enabling type-safe storage ofSigerobjects instead of raw bytes.Changes
Schema Update
Removed Helper Methods
Deleted deprecated
Basermethods that are replaced byCesrIoSetSuberAPI:getWigs()→wigs.get()getWigsIter()→wigs.getIter()putWigs()→wigs.pin()addWig()→wigs.add()cntWigs()→wigs.cnt()delWigs()→wigs.rem()Updated Call Sites
Migrated ~40+ usages across the codebase:
Files modified:
src/keri/db/basing.py- Database schema and helper methodssrc/keri/core/eventing.py- Event processing and witness signature handlingsrc/keri/app/agenting.py,delegating.py,grouping.py,indirecting.py- Application layersrc/keri/app/cli/- CLI commandssrc/keri/vdr/credentialing.py- Credential verificationtests/- Test updates for new APITesting
test_basing.pyto create validSigerobjects using signing keys