Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function that allows the encoding of custom errors #1675

Closed
wants to merge 3 commits into from

Commits on Mar 21, 2023

  1. Function that allows the encoding of custom errors

    Attempt to fix issue eth-brownie#1108 (eth-brownie#1108).
    Can be used in testing as follows:
    with brownie.reverts(<DeployedContract>.encode_custom_error(<nameOfCustomError>, [params_of_custom_error]))
    JoaoMorais96 committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    2af8ea4 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2023

  1. Update contract.py

    JoaoMorais96 committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    64895e2 View commit details
    Browse the repository at this point in the history
  2. Update contract.py

    JoaoMorais96 committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    17126bf View commit details
    Browse the repository at this point in the history