Skip to content
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

Document encode_bound, decode_bound and encode_bound custom attributes #292

Closed
emostov opened this issue Sep 14, 2021 · 2 comments · Fixed by #374
Closed

Document encode_bound, decode_bound and encode_bound custom attributes #292

emostov opened this issue Sep 14, 2021 · 2 comments · Fixed by #374

Comments

@emostov
Copy link

emostov commented Sep 14, 2021

#279 Adds the mel_bound derive. AFAICT it is not mentioned in the top level docs. It would be nice if it was mentioned in the top level docs for easy discoverability. (Maybe in the Derive attributes section?)

cc @KiChjang

@KiChjang KiChjang changed the title Document mel_bound derive Document encode_bound, decode_bound and encode_bound custom attributes Sep 14, 2021
@KiChjang
Copy link
Contributor

For clarity, it's this part of the documentation: https://docs.rs/parity-scale-codec/2.3.0/parity_scale_codec/#derive-attributes

@wischli
Copy link

wischli commented Feb 16, 2022

Would be great to have some documentation. I am currently upgrading all pallets to be bound in storage size and stumbled upon this derive which seems to be necessary in some cases. Would love to understand how to use it properly. In the Substrate repo it is mostly used without input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants