Skip to content

Commit

Permalink
Require lexicographic ordering for metadata feat
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Jan 8, 2024
1 parent c0c274a commit f747012
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tips/TIP-0038/tip-0038.md
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,7 @@ Feature</i>: smart contract request parameters are encoded in the metadata field
- Each `Key` in the `Entries` must consist only of bytes that are printable ASCII characters, that is, for each
character `char` (interpreted as a byte) in the `Key` it must hold: `33 <= char <= 126`.
- Each `Key` in the `Entries` must be unique.
- The `Entries` must be lexicographically ordered based on the `Key`.
- `Entries Count` must be at least `1`.
- The serialized size of the map, consisting of the serialized size of `Entries Count` plus the serialized size of all
`Entries`, must not exceed `8192` bytes.
Expand Down

0 comments on commit f747012

Please sign in to comment.