Skip to content

Commit

Permalink
Hotfix for hard coded error name (#1294)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheng Lundquist authored Jan 28, 2024
1 parent f066942 commit 4edb29c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ethpy/ethpy/base/errors/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def decode_error_selector_for_contract(error_selector: str, contract: Contract)
]
error_name = "InsufficientLiquidity: "
error_name += insufficient_liquidity_reason[enum_selector_int]
return error_name

abi = contract.abi
if not abi:
Expand Down

0 comments on commit 4edb29c

Please sign in to comment.