Skip to content

(refactor) Transition from revocation registry deltas to revocation status lists #1309

@gmulhearn

Description

@gmulhearn

since the move to anoncreds-rs, some of the codebase uses the newer anoncreds status-list types, and other parts still use the old deltas.

As of #1308 , all holder/prover functionality is using status list types for revocation (i.e. for creating revocation states in the proof), however verifier & issuer logic is still using revocation deltas.

This should be refactored such that only status lists are used/exposed (in indy-ledgers, deltas are still used on-ledger, but we shouldn't expose that). This would involve removing the get_rev_reg_delta ledger trait methods, and refactoring the anoncreds trait methods to use status lists.

As part of the refactor, test_agency_batch_revocation should be re-enabled, which is a flakey test likely due to awkward status-list <-> delta transformations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions