onflow / flow-playground

Flow Playground front-end app 🤹‍♂️
https://play.flow.com
Apache License 2.0
116 stars 26 forks source link

Account storage is not updated in playground #730

Open CjS77 opened 1 year ago

CjS77 commented 1 year ago

Describe the bug In Flow playground, changes to storage are not reflected in the accounts.

To Reproduce

  1. Use tutorial 2
  2. Deploy contract 1. It succeeds (Log: Deployed Contract To: 0x01)
  3. . Account 0x01 shows:
    eployed Contracts: 
    [
    {
    "contract": "HelloWorld",
    "height": 9
    }
    ] 
    Account Storage: 
    (Empty)
  4. Now run the "Create Hello" transaction. It also succeeds ({"level":"debug","message":"Cadence log: \"Saved Hello Resource to account.\""}).
  5. "Load hello" works too, so the asset was created properly.

However, the 0x01 account still displays as:

Deployed Contracts: 
[
  {
    "contract": "HelloWorld",
    "height": 9
  }
] 
Account Storage: 
(Empty)

Expected behavior The account storage should not be empty and reflect state as described in the tutorial text.

Desktop (please complete the following information):

bthaile commented 1 year ago

playground is under going changes to use flowkit in the backend. Account storage has not bee implemented at this time. It's on the todo list