flow-playground
flow-playground copied to clipboard
Transaction template validity checking does not refresh on redeploy
Describe the bug When I redeploy with a new public method, the transaction template page does not recognize the new method unless I refresh the playground webpage.
To Reproduce
- Load the default Hello World in the Playground.
- Deploy it. (might not be necessary)
- Go to the transaction template (necessary) then return to the 0x01 Account.
- Rename the
hello
method togoodbye
. - Redeploy.
- Go to the transaction template and change the method from
hello
togoodbye
. - An error is shown, indicating that there is no
goodbye
member. (BUG) - Refresh the page.
- No error is shown. The transaction can be executed.
Notes:
- This bug ONLY occurs when the transaction template has been visited before editing the contract. I hit this bug because I'm making iterative changes.
- There's an easy workaround: refresh the page.
Expected behavior On step #7, no errors are shown. The transaction can be executed.
Desktop (please complete the following information):
- OS: Linux (Arch)
- Browser: Google Chrome
- Version: 96.0.4664.45