Skip to content

Is address when serialized to BCS always the same length? #525

Answered by gregnazario
banool asked this question in Questions
Discussion options

You must be logged in to vote

Addresses are always fixed length 32-bytes according to the BCS spec. There is no Uleb leading it to determine the length.

It's essentially a u256 but interpreted as an address

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gregnazario
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants