Commit 5e44c67
docs: flag pre-Cadence 1.0 syntax in fcl.mutate example (#2807)
The transaction snippet in the fcl.mutate example uses AuthAccount,
account.borrow, and a private path — all replaced in Cadence 1.0 with
auth(...) &Account, account.storage.borrow, and storage-only paths.
This commit only adds a note calling out the discrepancy; rewriting
the snippet requires knowing the current Profile demo contract's
storage path, which is outside this README's scope.
Co-authored-by: Peter Argue <89119817+peterargue@users.noreply.github.com>1 parent 1810308 commit 5e44c67
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| |||
0 commit comments