-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contract changes requiring a page refresh after deploy to be usable in a transaction #740
Comments
To reproduce you have to deploy |
I think this is an issue cuz we had to change account addresses from 0x01...0x05 to 0x05...0x09. |
I think I got the issue fixed. Thanks for reporting it. |
I'm still seeing that transactions don't evaluate contracts until there is a change. |
Looks like there is a LS issue that is effecting playground and vscode. |
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 defaultHelloWorld
contractTransaction
file and try callingHelloWorld.hi()
value of type
HelloWorldhas no member
hi. 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):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: