• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

iotaledger / iota / 18053146385
63%

Build:
DEFAULT BRANCH: develop
Ran 27 Sep 2025 04:10AM UTC
Jobs 1
Files 1430
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Sep 2025 12:37PM UTC coverage: 65.755% (-0.03%) from 65.789%
18053146385

push

github

web-flow
feat(consensus): Improve iota-private-network suite for mimicking latencies and applying fuzz disruptions (#8407)

# Description of change

In this PR, we have added support for the Starfish consensus protocol in
iota-private-network and improved scripts to automate running the
network of validators with a given consensus protocol. In addition, we
have added a Starfish dashboard to Grafana. The changes aim to enhance
the debugging process for consensus protocols and more closely mimic
realistic network deployments.

Note: PR #8208 is closed (the respective comments are addressed) since
the current script can run experiments using flags instead of having
multiple files for each experiment.

Now one can run a local network for any given number of validators
between 4 and 19. The automated script supports the following flags:
* `-n <NUM>`: number of validators (default: `4`; any number between `4`
and `19` is supported)
* `-p <protocol>`: consensus protocol (default: `mysticeti`; another
option: `starfish`)
* `-b <true|false>`: rebuild Docker images before running (default:
`true`)
* `-g <true|false>`: enable geodistributed large network latencies
(default: `false`)
* `-s <SEED>`: seed for pseudorandom disruptions (default: `42`)
* `-x <PERCENT_BLOCK>`: percent of validator pairs to block connections
(default: `0`)
* `-l <PERCENT_NETEM>`: percent of validators to apply packet loss
(default: `0`)
* `-r <PERCENT_RESTART>`: percent of validators to restart periodically
(default: `0`)
* `-t <RUN_DURATION>`: total experiment duration in seconds (default:
`3600`)
* `-m`: optional flag to output network metric statistics (packets and
bytes).

## Links to any relevant issues

Closes #8348, #8409

## How the change has been tested

- [x] I have checked that new and existing unit tests pass locally with
my changes

### Release Notes

- [x] Protocol: Scripts to automate iota-private-netowork mimicing
network latencies.
- [ ] Nodes (Validators and Full nodes):
- [ ]... (continued)

230044 of 349852 relevant lines covered (65.75%)

2394358.75 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.18
-1.47% crates/iota-cluster-test/src/test_case/native_transfer_test.rs
1
89.69
-0.34% crates/iota-core/src/connection_monitor.rs
1
99.25
-0.02% crates/iota-core/src/execution_cache/proxy_cache.rs
1
95.64
-0.32% crates/iota-core/src/signature_verifier.rs
1
86.47
-0.75% crates/iota-network-stack/src/grpc_timeout.rs
1
98.67
0.82% crates/iota-storage/src/write_path_pending_tx_log.rs
2
76.17
-1.04% crates/iota-grpc-api/src/types.rs
2
93.22
-0.15% crates/starfish/core/src/transactions_synchronizer.rs
3
65.42
-1.4% crates/iota-core/src/test_authority_clients.rs
3
79.2
-0.42% crates/starfish/core/src/network/tonic_network.rs
4
35.71
-50.0% crates/iota-transaction-checks/src/deny.rs
4
93.28
-2.08% crates/iota-types/src/deny_list_v1.rs
5
92.08
-0.59% crates/iota-core/src/transaction_manager.rs
5
95.43
1.52% crates/iota-json-rpc/src/balance_changes.rs
7
64.45
-0.32% crates/iota/src/client_commands.rs
13
81.01
-1.92% crates/iota-transaction-checks/src/lib.rs
13
88.91
-0.15% crates/typed-store/src/rocks/mod.rs
14
0.0
-48.28% crates/iota-types/src/storage/error.rs
20
84.86
-1.55% crates/iota-core/src/transaction_orchestrator.rs
34
85.39
0.03% crates/iota-core/src/consensus_handler.rs
43
79.79
0.85% crates/iota-core/src/jsonrpc_index.rs
45
57.04
-1.91% crates/iota-core/src/storage.rs
47
85.21
-0.02% crates/iota-core/src/authority/authority_per_epoch_store.rs
50
89.5
0.36% crates/iota-network/src/state_sync/mod.rs
91
82.15
-0.03% crates/iota-core/src/authority.rs
104
70.14
0.45% crates/iota-core/src/checkpoints/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 18053146385.1 27 Sep 2025 04:10AM UTC 1432
65.74
GitHub Action Run
Source Files on build 18053146385
  • Tree
  • List 1430
  • Changed 38
  • Source Changed 19
  • Coverage Changed 37
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18053146385
  • 7a6a87a7 on github
  • Prev Build on develop (#17994184723)
  • Next Build on develop (#18067472361)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc