Skip to content

Commit

Permalink
Scenario test with anoncreds wallet upgrade and restart (#3410)
Browse files Browse the repository at this point in the history
* Scenario test with anoncreds wallet upgrade and restart

Signed-off-by: Ian Costanzo <[email protected]>

* Added some meat to the anoncreds upgrade test

Signed-off-by: Ian Costanzo <[email protected]>

* Fix anoncreds upgrade function

Signed-off-by: Ian Costanzo <[email protected]>

---------

Signed-off-by: Ian Costanzo <[email protected]>
Co-authored-by: Stephen Curran <[email protected]>
  • Loading branch information
ianco and swcurran authored Dec 20, 2024
1 parent 11951ef commit efe14c7
Show file tree
Hide file tree
Showing 6 changed files with 1,011 additions and 426 deletions.
1 change: 1 addition & 0 deletions acapy_agent/wallet/anoncreds_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ async def get_rev_reg_def_upgrade_objs(
key=lambda x: json.loads(x.value)["created_at"],
)
found_active = False
is_active = False
for askar_issuer_rev_reg_def in askar_issuer_rev_reg_def_records:
# active rev reg def is the oldest non-full and active rev reg def
if (
Expand Down
Loading

0 comments on commit efe14c7

Please sign in to comment.