Skip to content

Contracts: add authorized publisher gate to datasource/schema registries #4

Description

@driemworks

Right now, schema registration and datasource registration is completely open and untrusted, meaning we have no gate for who can publish against a schema, and no verification that a datasource actually fits a schema. For now, we can maintain this as a 'trusted' operation (since the zkp verification path would require recursive proofs and significant time/research). That is:

  • add an allowed publishers list in the schema registry
  • add a gate in the datasource registry to check if the caller is an allowed publisher, reject if not

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions