updatePrice() function and then a query should be sent. What happens instead is that I get an error:
Exception during execution. (invalid opcode). Please debug the transaction for more information.
Why am I getting an error if I just copied and pasted code in the documentation?