Skip to content

Commit

Permalink
Missed this correction from wyn (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymcmackin authored Jun 3, 2024
1 parent f76c193 commit 24237ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/smartpy-fa2-fungible/adding-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ It is still advisable to save a local copy of your metadata, just as you would w
)
```

This code must come after you create the contract because it uses the `contract.get_offchain_views` function to retrieve the contract's off-chain views.
This code must come after you create the contract but before you add the contract to the scenario because it uses the `contract.get_offchain_views` function to retrieve the contract's off-chain views.
Off-chain views are stored in metadata, not in the contract code or storage.

1. Optional: Edit the metadata fields with information about your contract.
Expand Down

0 comments on commit 24237ea

Please sign in to comment.