-
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
Add Network Config Test to Check Against Upstream Values #12864
Comments
Hi, I'd like to pick this up, and I think that prysm uses /tools/specs-checker and bazel command to run the check. And I'm a little confused about what network config we want to check. Which spec is the network config referred to? Should I modify and add the load & check func based on the specs-checker or should I add new tools? |
Ok, I got it. And I found the |
Hi@terencechain . I looked into the code and think that this problem may caused by Ethereum upgrades and change specs, but we are still in the old version and use var Like GossipMaxSize and GossipMaxSizeBellatri to distinguish. I don't know how to handle this situation. Hope u can give some advice. |
cc @nisdas for the networking spec quesitons |
@terencechain Hi, Is there any new here? I have gone through part of the prysm code and want to participate in the development, but I found that issues are difficult to start, mainly because most of them are related to network synchronization. So could you give some suggestions and guidance? How to participate in the development of new features? (which I think it will help people better understand the code) Or whether there are part-time or intern like other communities. Thx for your time. |
@0xCMars The reason it is different is because the mainnet specs are not distinguishing between pre/post bellatrix gossip message and chunk sizes, while we are. This was removed in ethereum/consensus-specs@5576d0e on the specification's end, so for our case we will also have to remove distingushing it and just use one variable name everywhere with the higher value. |
@0xCMars it just means the switch statement is too long, it's probably ok until we try to break it out or something. |
@james-prysm Yes, I have tried to fix it in my last PR commit. Thanks for your help, and I want to ask that my PR was waiting for the GitHub workflow to get some expected result, but it just stuck there, and no result was returned. |
currently, we load beacon chain config from the spec repo to check they comply
We don't load the network config for compliance check, and we should add that
The text was updated successfully, but these errors were encountered: