COST_ANSWER query for getInfo on invalid account id returns 0 #42
Labels
Bug
An error that causes the feature to behave differently than what was expected based on design.
P1
High priority issue, which must be completed in the milestone otherwise the release is at risk.
Release Note
Issues which need a release note created.
Summary of the defect
When the target account does not exist, a
CryptoGetInfo
query with response typeCOST_ANSWER
has statusOK
(and cost0
) instead ofINVALID_ACCOUNT_ID
.Suggested resolution
Make
CryptoGetInfo
response statuses consistent with the contract, file, and topicGet*Info
queries.The text was updated successfully, but these errors were encountered: