Describe the bug
If you make a contract-call? to an undefined contract within a define-read-only block, the error is expecting read-only statements, detected a writing operation rather than indicating that the contract being called does not exist.
Steps To Reproduce
Create a contract with the following:
Describe the bug If you make a
contract-call?
to an undefined contract within adefine-read-only
block, the error isexpecting read-only statements, detected a writing operation
rather than indicating that the contract being called does not exist.Steps To Reproduce Create a contract with the following:
Note the error
expecting read-only statements, detected a writing operation
, rather than something likecontract does_not_exist is not defined
Expected behavior To receive a
contract does_not_exist is not defined
errorEnvironment (please complete the following information):