-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Increase Message Limits #14712
base: develop
Are you sure you want to change the base?
Increase Message Limits #14712
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be treating compressed and uncompressed in the same way, is this intended?
@@ -18,7 +18,6 @@ var _ NetworkEncoding = (*SszNetworkEncoder)(nil) | |||
// MaxGossipSize allowed for gossip messages. | |||
var MaxGossipSize = params.BeaconConfig().GossipMaxSize // 10 Mib. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these should be 15 now
@@ -18,7 +18,6 @@ var _ NetworkEncoding = (*SszNetworkEncoder)(nil) | |||
// MaxGossipSize allowed for gossip messages. | |||
var MaxGossipSize = params.BeaconConfig().GossipMaxSize // 10 Mib. | |||
var MaxChunkSize = params.BeaconConfig().MaxChunkSize // 10 Mib. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same with this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you write a PR description?
// TODO(#14714): remove hard coded sizes once spec is updated | ||
mnf.MaxChunkSize = 15728640 | ||
mnf.GossipMaxSize = 15728640 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These feel like a temporary spec violation. I'm not sure we should merge & release this until ethereum/consensus-specs#4041 merges.
What type of PR is this?
What does this PR do? Why is it needed?
Which issues(s) does this PR fix?
Fixes #
Other notes for review
Acknowledgements