File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -119,9 +119,8 @@ def raise_contract_logic_error_on_revert(response: RPCResponse) -> RPCResponse:
119
119
# Geth Revert with error message and code 3 case:
120
120
if error .get ("code" ) == 3 :
121
121
raise ContractLogicError (message , data = data )
122
- # Geth Revert without error message case:
123
- elif "execution reverted" in message :
124
- raise ContractLogicError ("execution reverted" , data = data )
122
+ elif "revert" in message .lower ():
123
+ raise ContractLogicError (message , data = data )
125
124
126
125
return response
127
126
Original file line number Diff line number Diff line change 1
1
from setuptools import setup , find_packages
2
2
3
- VERSION = '0.1.9 '
3
+ VERSION = '0.1.10 '
4
4
DESCRIPTION = 'IceCreamSwap Web3.py wrapper'
5
5
LONG_DESCRIPTION = 'IceCreamSwap Web3.py wrapper with automatic retries, multicall and other advanced functionality'
6
6
You can’t perform that action at this time.
0 commit comments