Skip to content

Add Test: oracle has_result returns false before submit and true after #288

@yahia008

Description

@yahia008

Priority: Low
Estimated Time: 15 minutes

Description:
No test explicitly verifies the has_result function returns false before a result is submitted and true after. The existing test_submit_and_get_result only calls has_result after submission.

Tasks:

  • Assert has_result(0) returns false on a fresh contract
  • Submit a result for match 0
  • Assert has_result(0) returns true

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingTest coverage issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions