Fuction setTreatCost` changes the price of a selected NFT and certainly changes the state of the contract. In general, if you change a storage variable or move Ether in and out of the contract, you should emit an event.
The information about changing price will not be logged.
Add event , f.e event priceChanged(uint256 newPrice, string treatName)
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.