Skip to content

Commit 88d0b26

Browse files
Specify expected UTF-8 encoding of metadata urls.
1 parent 90b3894 commit 88d0b26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/CIS/cis-2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ It is serialized as: the first 2 bytes encode the length (``n``) of the data, fo
162162

163163
A URL and optional checksum for metadata stored outside of this contract.
164164

165-
It is serialized as: 2 bytes for the length of the metadata url (``n``) and then this many bytes for the url to the metadata (``url``) (utf-8 encoded) followed by an optional checksum.
165+
It is serialized as: 2 bytes for the length of the metadata URL (``n``) and then this many bytes for the URL to the metadata (``url``) (UTF-8 encoded) followed by an optional checksum.
166166
The checksum is serialized by 1 byte to indicate whether a hash of the metadata is included, if its value is 0, then no content hash, if the value is 1 then 32 bytes for a SHA256 hash (``hash``) follows::
167167

168168
MetadataChecksum ::= (0: Byte)

0 commit comments

Comments
 (0)