Skip to content

Hookup allow logic contract call from stub #3206

@KPrasch

Description

@KPrasch

PR #3194 introduces a stub awaiting the merge of nucypher/nucypher-contracts#92 that must be completed once merged.

   def is_encryption_authorized(
        self, ritual_id: int, evidence: bytes, digest: bytes
    ) -> bool:
        # TODO: actually call contract.
        # get ritual -> get access controller -> call isAuthorized(ritualId, evidence, digest)
        return True

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