-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update: chunk size limitation #171
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
…-sdk into update/limit-size
IPLD node byte length limit was not strict since extrinsic are limited >> 64kb when a hexadecimal string is sent as data. Since it's intended to publish IPLD nodes in binary format (limited to 65535 bytes) a strict limit is needed.
The calculated chunk limit (and maxLinksPerNode ) comes from the 64kb limit minus the maximum size of the IPLD metadata.