diff --git a/aries_cloudagent/anoncreds/default/legacy_indy/registry.py b/aries_cloudagent/anoncreds/default/legacy_indy/registry.py index f092d61f43..fd9df94a0b 100644 --- a/aries_cloudagent/anoncreds/default/legacy_indy/registry.py +++ b/aries_cloudagent/anoncreds/default/legacy_indy/registry.py @@ -12,6 +12,7 @@ from ....anoncreds.default.legacy_indy.author import get_endorser_info from ....cache.base import BaseCache from ....config.injection_context import InjectionContext +from ....core.event_bus import EventBus from ....core.profile import Profile from ....ledger.base import BaseLedger from ....ledger.error import ( @@ -967,10 +968,12 @@ async def update_revocation_list( ) if write_ledger: - await self.notify( + event_bus = profile.inject(EventBus) + await event_bus.notify( + profile, RevListFinishedEvent.with_payload( curr_list.rev_reg_def_id, newly_revoked_indices - ) + ), ) return RevListResult( job_id=None, diff --git a/demo/features/revocation-api.feature b/demo/features/revocation-api.feature index 9fcaa2d099..0049c42da3 100644 --- a/demo/features/revocation-api.feature +++ b/demo/features/revocation-api.feature @@ -39,7 +39,7 @@ Feature: ACA-Py Revocation API Then "Bob" can verify the credential from "" was revoked Examples: | issuer | Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Proof_request | - #| Acme | --revocation --public-did | | driverslicense_v2 | Data_DL_MaxValues | DL_age_over_19_v2 | + | Acme | --revocation --public-did | | driverslicense_v2 | Data_DL_MaxValues | DL_age_over_19_v2 | | Acme | --revocation --public-did --wallet-type askar-anoncreds | --wallet-type askar-anoncreds | driverslicense_v2 | Data_DL_MaxValues | DL_age_over_19_v2 | @Revoc-api.x @GHA-Anoncreds-break