You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
actor field in Session is no longer used in the main logic of the session with the introduction of Revive. Reason for that is all internal logic of the drink library requires the RuntimeOrigin type. Hence, the actor field is only used in the get_actor method. However, as the method is used by the developers to debug the current actor, it would be best to return AccountId instead of RuntimeOrigin.
The text was updated successfully, but these errors were encountered:
chungquantin
changed the title
refactor: deprecate actor field in the session
refactor: update type of actor field in the session
Jan 24, 2025
actor
field inSession
is no longer used in the main logic of the session with the introduction of Revive. Reason for that is all internal logic of the drink library requires theRuntimeOrigin
type. Hence, theactor
field is only used in theget_actor
method. However, as the method is used by the developers to debug the current actor, it would be best to returnAccountId
instead ofRuntimeOrigin
.The text was updated successfully, but these errors were encountered: