Skip to content

Add Merkle-proof-based reputation verification #62

Description

@dDevAhmed
  • Overview: Add verifyReputationProof to the vote function to remove trust in the Backend Oracle.
  • Impact: Invariant Implement Claim Verification Settlement Logic #5 Enforcement.
  • Fix: Contract stores reputationRoot. Voters must provide (score, proof).
  • AC: vote() fails if Merkle proof for (msg.sender, reputation) is invalid against the current root.
  • Complexity: High

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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