feat: Add P2P network connectivity tests for EVM testnets#20
Open
kingofthebongo2008 wants to merge 3 commits intomainfrom
Open
feat: Add P2P network connectivity tests for EVM testnets#20kingofthebongo2008 wants to merge 3 commits intomainfrom
kingofthebongo2008 wants to merge 3 commits intomainfrom
Conversation
Implements Phase 1 network connectivity validation for P2P message passing across 3 EVM test networks (Sepolia, Polygon Amoy, Base Sepolia). Changes: - Add TCP/UDP connectivity tests for 6 bootnode endpoints - Add network diagnostics utility for troubleshooting - Create automated test scripts for Windows/Linux/macOS - Add comprehensive P2P testing documentation - Configure CMake integration with ENABLE_INTEGRATION_TESTS option Test Coverage: - Ethereum Sepolia (3 bootnodes): 138.197.51.181, 146.190.1.103, 170.64.250.88 - Polygon Amoy (2 bootnodes): 35.197.249.21, 34.89.39.114 - Base Sepolia (1 bootnode): op-sepolia-bootnode-1.optimism.io Features: - GitHub Actions compatible with graceful UDP degradation - TCP-only fallback for restrictive firewalls - Cross-platform support (Windows/Linux/macOS) - Fast execution (<60s) suitable for CI pipelines Test results: 11/13 tests passed locally (83% success rate) - 5/6 TCP connections successful - 5/6 UDP sends successful - Base Sepolia DNS resolution issue identified 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements Phase 1 network connectivity validation for P2P message passing across 3 EVM test networks (Sepolia, Polygon Amoy, Base Sepolia).
This PR adds infrastructure to test TCP/UDP connectivity to public bootnode endpoints, validating that network communication is possible before implementing full RLPx protocol handshakes.
Changes
ENABLE_INTEGRATION_TESTSoptionTest Coverage
Ethereum Sepolia (3 bootnodes):
Polygon Amoy (2 bootnodes):
Base Sepolia (1 bootnode):
Features
Test Results (Local)
Overall: 11/13 tests passed (83% success rate)
Building and Running
Next Steps (Phase 2)
Test Plan
[x] Phase 1: Network connectivity validation (this PR)
[ ] Phase 2: RLPx protocol handshake
[ ] Phase 3: Message passing validation
[ ] Phase 4: GitHub Actions CI integration
🤖 Generated with Claude Code