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

chore: set a runtime CALL_ENUM_MAX_SIZE #1707

Merged
merged 1 commit into from
May 23, 2022
Merged

Conversation

dandanlen
Copy link
Collaborator

@dandanlen dandanlen commented May 23, 2022

Based on something I noticed in Polkadot, apparently recommended by their auditors.

Context:
- paritytech/substrate#9418
- https://rust-lang.github.io/rust-clippy/master/#large_enum_variant
- https://fasterthanli.me/articles/peeking-inside-a-rust-enum

@dandanlen dandanlen merged commit e434a5f into develop May 23, 2022
@dandanlen dandanlen deleted the chore/set-max-call-size branch May 23, 2022 09:04
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 this pull request may close these issues.

2 participants