From 54fe73a6a95b1b1e1ca5234f905f90dc7d8c756b Mon Sep 17 00:00:00 2001 From: Call Delegation <106365423+calldelegation@users.noreply.github.com> Date: Wed, 4 Sep 2024 16:24:48 -0400 Subject: [PATCH 1/2] working branch --- docs/book/src/asset/metadata.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/src/asset/metadata.md b/docs/book/src/asset/metadata.md index c066f68a..8a0a807b 100644 --- a/docs/book/src/asset/metadata.md +++ b/docs/book/src/asset/metadata.md @@ -51,5 +51,5 @@ The `_set_metadata()` function follows the SRC-7 standard for logging and will e To use the `StorageMetadata` type, simply get the stored metadata with the associated `key` and `AssetId` using the provided `_metadata()` convenience function. The example below shows the implementation of the [SRC-7](https://docs.fuel.network/docs/sway-standards/src-7-asset-metadata/) standard in combination with the Asset Library's `StorageMetadata` type and the `_metadata()` function with no user defined restrictions or custom functionality. ```sway -{{#include ../../../../examples/asset/basic_src7/src/main.sw:src7_metadata_convenience_function}} +{{#include ../../../../examples/asset/basic_src7/src/main.sw:basic_src7}} ``` From 7611228e88cac6d7ce6b15b7926a70ce9af3d74a Mon Sep 17 00:00:00 2001 From: bitzoic Date: Thu, 5 Sep 2024 12:33:38 +0800 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bbc60b46..d7bf0dec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,8 +21,7 @@ Description of the upcoming release here. ### Fixed -- Some fix here 1 -- Some fix here 2 +- [#297](https://github.com/FuelLabs/sway-libs/pull/297) Fixes docs anchor in basic SRC-7 example. #### Breaking