Skip to content

Find a bug in the contract #78

@0xf965

Description

@0xf965

The contracts/bene_contract/contract_v2.es contract is the most delicate part of the application. Finding a bug in it will be considered as completing this task (difficulty: Hard) and will also grant 200 Bene. If you additionally propose a valid solution for the bug found, you will receive 800 extra Bene.

A bug in a smart contract is a failure in the logic or implementation that causes the contract to behave differently from what its KyA specifies — or, in some cases, due to an inaccuracy in the KyA itself. These issues can lead to loss of funds, unauthorized access, or blocked functionality, and they are especially critical because smart contracts are immutable once deployed.

It is possible that, after a thorough review, no bug is found.

To demonstrate a bug you have identified, you must:

  • Create a PR that adds a new failing test (a reproducible test) along with a clear comment explaining the problem and its impact.
  • Create a separate PR proposing the solution (including changes to the contract and/or tests that verify the fix).

This task is not exclusive: multiple teams can work on it simultaneously.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions