Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

The feature reverting with message is not working yet #177

@kalloc

Description

@kalloc

Describe the bug

Sometimes, I need to make fake revert. For example, when I write tests for uniswap family contracts or another contracts based on nested calls. But I can't make fake revert with custom message using smock.
Please, help me to understand what I did wrong.

Reproduction steps

To simplify reproduction, I made a repo https://github.com/kalloc/smock-reverts-bug

Expected behavior
I expected to have an ability to fake revert with custom message

Screenshots

image

System Specs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions