Describe the bug
Changes to a smart contract don't reflect in transactions(even after a redeploy) until after the page is reloaded. So if i add a new function to my contract and deploy, that function is not accessible in a transaction until i reload the page
To Reproduce
Steps to reproduce the behavior:
- open the flow playground
- add a new function
access(all) fun hi(): String { return "hi" } to the default HelloWorld contract
- deploy the contract
- click on the
Transaction file and try calling HelloWorld.hi()
- and you'll get an error
value of type HelloWorldhas no memberhi. unknown member
Expected behavior
Expect no error to occur and the transaction should be runnable
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: MacOS
- Browser chrome
- Version 2.1.0
Additional context
Add any other context about the problem here.
Describe the bug
Changes to a smart contract don't reflect in transactions(even after a redeploy) until after the page is reloaded. So if i add a new function to my contract and deploy, that function is not accessible in a transaction until i reload the page
To Reproduce
Steps to reproduce the behavior:
access(all) fun hi(): String { return "hi" }to the defaultHelloWorldcontractTransactionfile and try callingHelloWorld.hi()value of typeHelloWorldhas no memberhi. unknown memberExpected behavior
Expect no error to occur and the transaction should be runnable
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.