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

Feature/end to end discovery test #8098

Merged
merged 8 commits into from
Jan 24, 2025
Merged

Conversation

asdacap
Copy link
Contributor

@asdacap asdacap commented Jan 24, 2025

  • Create 5 node, assign 1 of them as boot nodes for other.
  • Start discovery, then check if they can find all other nodes.
  • Dicv5 does not work. Something with lantern session authentication handling keep failing on multiple concurrent requests.

Types of changes

What types of changes does your code introduce?

  • New feature (a non-breaking change that adds functionality)

Testing

Requires testing

  • Yes
  • No

If yes, did you write tests?

  • Yes
  • No

Notes on testing

  • Seems to work.

@asdacap asdacap requested a review from rubo as a code owner January 24, 2025 03:28

namespace Nethermind.Core.Test.Modules;

public class InsecureProtectedPrivateKey(PrivateKey privateKey) : IProtectedPrivateKey
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NotProtetedPriveteKey :D

@@ -257,8 +257,6 @@ private void InitDiscovery()
_api.LogManager, _api.Timestamper, _api.CryptoRandom,
_api.NodeStatsManager, _api.IpResolver
);

_api.DiscoveryApp.Initialize(_api.NodeKey.PublicKey);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is moved somewhere esle?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to CompositeDiscoveryApp's constructor.

@asdacap asdacap merged commit 4cf0c47 into master Jan 24, 2025
79 checks passed
@asdacap asdacap deleted the feature/end-to-end-discovery-test branch January 24, 2025 10:40
brbrr pushed a commit that referenced this pull request Jan 27, 2025
@brbrr brbrr added this to the 1.31.0 milestone Jan 31, 2025
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.

3 participants