hedera-services
hedera-services copied to clipboard
Token view functions revert on incorrect input
Description
View functions in mono service that are not from the ERC[20, 721] specifications should not revert if the given input contains an incorrect tokenId.
Steps to reproduce
- call any of the following HTS view functions with an incorrect tokenId IS_FROZEN IS_KYC IS_TOKEN TOKEN_TYPE DEFAULT_FREEZE_STATUS DEFAULT_KYC_STATUS TOKEN_INFO TOKEN_CUSTOM_FEES FUNGIBLE_TOKEN_INFO NON_FUNGIBLE_TOKEN_INFO TOKEN_EXPIRY_INFO TOKEN_KEY
- Contract reverts rather than return a result with a response code indicating the problem
Additional context
No response
Hedera network
previewnet
Version
v0.42.0-alpha.4
Operating system
None