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

iotaledger / iota / 24755525754
67%

Build:
DEFAULT BRANCH: develop
Ran 22 Apr 2026 04:11AM UTC
Jobs 1
Files 1567
Run time 2min
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

21 Apr 2026 11:41AM UTC coverage: 64.388% (+0.008%) from 64.38%
24755525754

push

github

web-flow
feat(iota-core, consensus): Misbehavior report rate limit (#10189)

# Description of change

- Adds information about the last submitted report (sequence number and
summary) to `Scorer`.
- Rate-limit report submission: reports are only sent when all three
conditions are met:
1. Metrics have changed since the last report (according to report
summary)
    2. At least 1000 checkpoints have passed since the last report
3. The current checkpoint is at most 100 behind the highest verified
checkpoint (avoids sending reports during resync)
- Forces a report to be sent when the epoch is coming to an end:
1. A report is additionally sent when `checkpoint_timestamp >=
next_reconfiguration_timestamp_ms - 2000`. This condition should be
sufficient so that most authorities can have their reports included
before the epoch closes.

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [ ] Patch-specific tests (correctness, functionality coverage)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] I have checked that new and existing unit tests pass locally with
my changes

---------

Co-authored-by: Piotr Macek <4007944+piotrm50@users.noreply.github.com>

57 of 61 new or added lines in 3 files covered. (93.44%)

200 existing lines in 38 files now uncovered.

229607 of 356601 relevant lines covered (64.39%)

2827497.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
75.39
0.39% crates/iota-types/src/messages_consensus.rs
1
89.03
0.09% crates/iota-core/src/authority/authority_per_epoch_store.rs

Coverage Regressions

Lines Coverage ∆ File
17
60.14
-1.22% crates/iota-json-rpc-types/src/iota_transaction.rs
14
93.58
0.56% crates/iota-protocol-config/src/lib.rs
12
75.85
0.38% crates/test-cluster/src/lib.rs
10
53.48
-0.15% crates/iota-json-rpc-types/src/iota_object.rs
10
75.46
-3.66% crates/iota-sdk/src/wallet_context.rs
10
88.97
-1.93% crates/iota-test-transaction-builder/src/lib.rs
10
37.68
-14.49% crates/iota-types/src/messages_grpc.rs
9
66.67
-18.75% crates/iota-network-stack/src/anemo_ext.rs
8
81.96
1.03% crates/iota-grpc-client/src/api/ledger/checkpoints.rs
7
54.62
-5.38% crates/iota-stardust-types/src/block/output/basic.rs
6
82.66
-1.01% crates/iota-core/src/traffic_controller/mod.rs
6
66.45
-0.65% crates/iota-types/src/storage/shared_in_memory_store.rs
6
25.58
-13.95% external-crates/move/crates/move-command-line-common/src/testing.rs
5
40.19
-4.67% crates/iota-json-rpc-types/src/object_changes.rs
4
69.53
-0.32% crates/iota-core/src/authority/authority_store.rs
4
73.47
-2.04% crates/iota-core/src/test_utils.rs
4
85.29
-11.76% crates/iota-grpc-client/src/api/ledger/transactions.rs
4
84.29
2.56% crates/iota-grpc-types/src/proto/generated/iota.grpc.v1.ledger_service.accessors.rs
4
67.1
-2.58% crates/iota-grpc-types/src/proto/generated/iota.grpc.v1.transaction_execution_service.accessors.rs
4
21.13
-5.63% crates/iota-grpc-types/src/proto/iota/grpc/v1/transaction_execution_service.rs
4
60.84
-2.41% crates/iota-stardust-types/src/block/output/nft.rs
4
82.65
-0.78% crates/starfish/core/src/network/tonic_network.rs
3
81.93
-0.74% crates/iota-config/src/genesis.rs
3
70.93
1.16% crates/iota-config/src/transaction_deny_config.rs
3
76.9
-0.23% crates/iota-core/src/checkpoints/mod.rs
3
88.75
-3.75% crates/iota-genesis-builder/src/stardust/types/address_swap_split_map.rs
3
46.9
-2.65% crates/iota-genesis-builder/src/stardust/types/snapshot.rs
3
82.14
-2.68% crates/iota-genesis-builder/src/validator_info.rs
3
79.37
-1.05% crates/iota-sdk/src/lib.rs
3
70.42
-0.6% crates/iota-swarm/src/memory/swarm.rs
3
0.0
-10.0% crates/simulacrum/src/transaction_executor.rs
2
89.35
0.0% crates/iota-core/src/connection_monitor.rs
2
92.83
-0.84% crates/iota-http/src/lib.rs
2
89.03
-0.27% crates/iota-network/src/discovery/mod.rs
2
75.4
0.0% crates/iota-network/src/randomness/mod.rs
1
77.58
0.0% crates/iota-types/src/crypto.rs
1
96.76
-0.1% crates/starfish/core/src/cordial_knowledge.rs
1
87.84
-0.45% crates/starfish/core/src/leader_timeout.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 24755525754.1 22 Apr 2026 04:11AM UTC 1567
64.39
GitHub Action Run
Source Files on build 24755525754
  • Tree
  • List 1567
  • Changed 72
  • Source Changed 5
  • Coverage Changed 72
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24755525754
  • e318f45f on github
  • Prev Build on develop (#24699403505)
  • Next Build on develop (#24811801316)
  • 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