Skip to content

Is it possible to check the value with which a payable function was called with? #841

@sebastianmontero

Description

@sebastianmontero

I know that it is possible to check the arguments a mock function is called with using the "withArgs" function, but is it possible to also check the value (amount of eth sent) to a payable function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions