Skip to content

Annotation for specifying reverts #104

Open
@suhabe

Description

@suhabe

How can I write solc-verify annotations for the following function to specify that the function reverts when a>=10?

contract test {
    function add(uint256 a) public pure returns (uint256) {
        require(a < 10);
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions