Skip to content

Commit

Permalink
update ASCII requirement to UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
KolbyML committed Jan 16, 2025
1 parent eabe143 commit af97feb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ping-payload-extensions/extensions/type-0.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Client Info and Capabilities Payload

## Client Info
Client info are ASCII hex encoded strings.
Client info are UTF-8 hex encoded strings.

Client info strings consist of 4 parts
- client name (e.x. `trin`,`fluffy`)
Expand Down
2 changes: 1 addition & 1 deletion ping-payload-extensions/extensions/type-65535.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ If the ping receiver can't handle the ping for any reason the pong should return
Pong payload
```python

# Max ASCII hex encoded strings length
# Max UTF-8 hex encoded strings length
MAX_ERROR_BYTE_LENGTH = 300

error_payload = SSZ.serialize(Container(error_code: u16, message: ByteList[MAX_ERROR_BYTE_LENGTH]))
Expand Down

0 comments on commit af97feb

Please sign in to comment.