Skip to content

refactor: update type of actor field in the session #141

Description

@chungquantin

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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