-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Delegates events on creation/deletion/update #2310
Conversation
I have continued the use of signals to manage the sending of these events to the queue because as we currently have multiple endpoints for delegate management the solution is simpler and clearer. At the moment, the delegates management is not high and there should not be performance issues with the use of signals. |
delegate: str | ||
delegator: str | ||
label: str | ||
expiryDate: Optional[int] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add the unit, for clarity. Like expiryDateSeconds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done e90cc85
safe_transaction_service/history/services/notification_service.py
Outdated
Show resolved
Hide resolved
safe_transaction_service/history/services/notification_service.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Uxío <[email protected]>
Co-authored-by: Uxío <[email protected]>
Closes Add Delegates events on creation/deletion/update #2299
Added the new event types: NEW_DELEGATE, UPDATED_DELEGATE and DELETED_DELEGATE