Skip to content

Commit

Permalink
Merge pull request #26 from yongchand/main
Browse files Browse the repository at this point in the history
Catch value error for VM error
  • Loading branch information
yongchand authored Jan 26, 2023
2 parents c2672e6 + aa6cf2b commit 6b6024c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klaytnetl/service/klaytn_contract_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def contract_interface_support(self, contract_address, block_number, interface):
try:
contract_interface_support = contract_165.functions.supportsInterface(interface) \
.call(block_identifier=block_number)
except (BadFunctionCallOutput, ContractLogicError) :
except (BadFunctionCallOutput, ContractLogicError, ValueError):
contract_interface_support = False
return contract_interface_support

Expand Down

0 comments on commit 6b6024c

Please sign in to comment.