|
Ran
|
Jobs
1
|
Files
940
|
Run time
3min
|
Badge
README BADGES
|
push
github
[LABS-428] Set "selected_network" to simulator in tests (#21452) <!-- CURSOR_SUMMARY --> > [!NOTE] > **Low Risk** > Changes are confined to test harness defaults, initial config for simulator0, and wallet sync heuristics that mainly affect simulator/test scenarios. > > **Overview** > Standardizes **automated tests and simulator fixtures** on **`simulator0`** instead of **`testnet0`**, including new **`simulator0`** network constants in **`initial-config.yaml`** and wiring **`selected_network`** through **`BlockTools`**, **`setup_services`**, and related harness code. > > **Wallet sync behavior** is tightened for simulator networks: **`WalletStateManager.synced()`** no longer treats simulator as always synced at genesis—it still requires height catch-up and an empty peak queue, but **skips wall-clock block recency** (simulator timestamps). **`get_sync_status()`** can report **SLIGHTLY_BEHIND** when the peak queue has pending work even on simulator. > > Tests are updated to match: expected **`network_name`** / farming status / fee RPC **`full_node_synced`**, removal of **`synced()`-conditional mempool request counts**, explicit **`testnet0`** where non-simulator behavior is required, and small fixes (e.g. clearing **`expected_mempool_responses`** for unsolicited-message tests, **`NewTransaction`** fee tweak in DoS test). > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit d5f174d14. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
19939 of 24934 branches covered (79.97%)
Branch coverage included in aggregate %.
23 of 23 new or added lines in 7 files covered. (100.0%)
171 existing lines in 33 files now uncovered.117535 of 127412 relevant lines covered (92.25%)
1.84 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 37950704551.1 | 1880 |
90.24
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|