Skip to content
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

InfractionCollector contract #266

Open
cygnusv opened this issue May 15, 2024 · 0 comments
Open

InfractionCollector contract #266

cygnusv opened this issue May 15, 2024 · 0 comments
Assignees

Comments

@cygnusv
Copy link
Member

cygnusv commented May 15, 2024

  • New contract called InfractionCollector (Feel free to rename it, btw!)
  • For the moment, ownable and upgradeable.
  • InfractionCollector lives in Polygon, alongside Coordinator and TACoChildApplication
  • Replace reference to Adjudicator in TACoChildApplication with InfractionCollector
  • InfractionCollector will have a reference to Coordinator and will have a permissionless method reportDKGInfraction, with parameters a ritual ID and an array of staking provider addresses:
    • The method will check for unambiguous faults in the given DKG ritual that are attributable to the specific providers.
    • For example, DKG that timed out due to failure to post transactions during the transcript phase.
    • Other cases like aggregation mismatches or failures to post aggregations will require more complex verification, so let's start with this, but let's continue to think other faults that can be unambiguously attributed to specific providers.
    • For all notified infractions, the method will call TACoChildApplication.penalize(stakingProviderAddress). See:
      function penalize(address _stakingProvider) external override {
    • Reported infractions will be marked down in InfractionCollector so they can't be reported twice.
theref added a commit to theref/nucypher-contracts that referenced this issue May 15, 2024
theref added a commit to theref/nucypher-contracts that referenced this issue Aug 8, 2024
theref added a commit to theref/nucypher-contracts that referenced this issue Aug 20, 2024
theref added a commit to theref/nucypher-contracts that referenced this issue Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants