Closed mmsqe closed 2 months ago
The pull request involves the removal of several key files related to the benchmarking tool for a blockchain node, including context.py
, main.py
, network.py
, params.py
, peer.py
, sync.py
, and test_sync.py
. Each of these files contained essential classes and functions for managing test execution, synchronization, network configuration, and peer interactions. The changes indicate a significant restructuring of the codebase, potentially signaling a shift in architecture or functionality.
Files | Change Summary |
---|---|
testground/benchmark/benchmark/context.py |
Removed Context class that managed testing environment and synchronization tasks. |
testground/benchmark/benchmark/main.py |
Removed entrypoint , info , and main functions, along with TEST_CASES dictionary. |
testground/benchmark/benchmark/network.py |
Removed get_data_ip and ip4_addresses functions for IP address retrieval. |
testground/benchmark/benchmark/params.py |
Removed RunParams class and associated functions for managing test parameters. |
testground/benchmark/benchmark/peer.py |
Removed bootstrap function for initializing peer nodes and managing connections. |
testground/benchmark/benchmark/sync.py |
Removed SyncService class and related functions for WebSocket communication and synchronization. |
testground/benchmark/benchmark/test_params.py |
Removed unit tests for the RunParams class and its functionality. |
testground/benchmark/benchmark/test_sync.py |
Removed unit tests for the synchronization service, including test_barrier and test_signal_and_wait . |
entrypoint
function.๐ฐ In a world of code so bright,
Changes hop, a wondrous sight!
Files removed, a fresh new start,
Restructured paths, a work of art.
Letโs celebrate with joyful cheer,
For every change brings us near! ๐
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 15.24%. Comparing base (
b330f22
) to head (1ed524b
). Report is 1 commits behind head on main.
๐ฎ๐ป๐ฎ๐ป๐ฎ๐ป !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! ๐ฎ๐ป๐ฎ๐ป๐ฎ๐ป
PR Checklist:
make
)make test
)go fmt
)golangci-lint run
)go list -json -m all | nancy sleuth
)Thank you for your code, it's appreciated! :)
Summary by CodeRabbit