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

iotaledger / iota / 38834179396
72%

Build:
DEFAULT BRANCH: develop
Ran 16 Oct 2026 02:08AM UTC
Jobs 1
Files 1115
Run time 1min
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

15 Oct 2026 01:42PM UTC coverage: 70.688% (-0.04%) from 70.732%
38834179396

push

github

web-flow
fix(iota-types,iota-core): include the signature in the authority-capabilities cache key (#13199)

# Description of change

- The signature verifier caches successful checks of signed authority
capability notifications, keyed on the capabilities data and the epoch
only.
- A notification with the same data but a different signature therefore
hit the cache and was accepted without its own signature being checked.
- The cache key now also covers the signature, matching how the
certificate cache already keys on the full signed certificate.
- The cache is in memory only, so no migration is needed.

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [x] Patch-specific tests (correctness, functionality coverage)
- [x] 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

Added `test_authority_capabilities_cache_hit_still_checks_signature`:
after a verifier accepts a notification, a copy with the same data and a
signature from another key must still be rejected. It fails without the
fix and passes with it.

2 of 2 new or added lines in 1 file covered. (100.0%)

1428 existing lines in 45 files now uncovered.

187975 of 265922 relevant lines covered (70.69%)

442438.7 hits per line

Coverage Regressions

Lines Coverage ∆ File
149
87.06
-0.24% crates/iota-core/src/authority.rs
140
92.06
-0.03% crates/iota-core/src/authority/authority_per_epoch_store.rs
118
91.08
0.09% crates/iota-protocol-config/src/lib.rs
112
81.81
-0.1% crates/iota-core/src/checkpoints/mod.rs
77
89.58
-0.23% crates/iota-config/src/node.rs
77
81.94
-0.03% crates/iota-swarm/src/memory/swarm.rs
76
89.1
-0.01% crates/iota-node/src/lib.rs
74
80.31
-0.75% crates/test-cluster/src/lib.rs
68
0.0
0.0% crates/iota-tool/src/lib.rs
66
91.72
0.78% crates/iota-network/src/state_sync/mod.rs
55
55.47
1.1% crates/iota-types/src/storage/shared_in_memory_store.rs
49
12.87
-0.71% crates/iota-types/src/storage/write_store.rs
47
95.16
0.83% crates/iota-core/src/epoch/randomness.rs
47
78.88
-0.03% crates/iota-core/src/storage.rs
43
84.76
-0.28% crates/iota-swarm-config/src/node_config_builder.rs
39
80.96
-0.27% crates/iota-swarm-config/src/network_config_builder.rs
35
94.25
-1.23% crates/iota-traffic-controller/src/lib.rs
31
87.93
-1.58% crates/iota-test-transaction-builder/src/lib.rs
28
93.27
0.0% crates/iota-core/src/authority/consensus_quarantine.rs
15
54.04
-1.53% crates/iota-json-rpc-types/src/iota_object.rs
7
96.46
-0.26% crates/iota-common/src/sync/notify_read.rs
7
94.49
-0.88% crates/iota-genesis-builder/src/lib.rs
7
87.91
-7.69% iota-execution/latest/iota-move-natives/src/transaction_context.rs
6
74.68
-2.58% crates/iota-types/src/iota_system_state/mod.rs
5
83.91
-5.75% crates/iota-traffic-controller/src/sim.rs
5
89.32
0.59% crates/iota-transaction-builder/src/utils.rs
5
90.11
-1.9% crates/starfish/core/src/leader_timeout.rs
4
75.81
-1.86% crates/iota-core/src/test_utils.rs
4
84.43
-0.36% crates/iota-json-rpc/src/read_api.rs
4
52.72
-1.36% crates/iota-sdk/src/apis/read.rs
4
82.0
-4.0% crates/iota-vm-sdk/src/executor/types.rs
3
88.35
-2.91% crates/iota-grpc-server/src/server.rs
3
20.59
-2.21% crates/iota-json-rpc-types/src/iota_checkpoint.rs
3
81.47
0.0% crates/iota-sdk/src/wallet_context.rs
2
89.35
-0.69% crates/iota-core/src/connection_monitor.rs
2
93.42
-0.82% crates/iota-core/src/execution_scheduler/execution_scheduler_impl.rs
2
74.03
-0.29% crates/iota-network/src/randomness/mod.rs
2
97.7
-0.12% crates/starfish/core/src/shard_reconstructor.rs
1
71.23
-0.17% crates/iota-core/src/authority_server/validator.rs
1
96.32
0.53% crates/iota-core/src/transaction_driver/mod.rs
1
90.17
-0.13% crates/iota-grpc-server/src/types.rs
1
89.07
0.0% crates/iota-network/src/discovery/mod.rs
1
99.07
-0.05% crates/iota-types/src/traffic_control.rs
1
84.58
-0.23% crates/starfish/core/src/core_thread.rs
1
96.87
-0.03% crates/starfish/core/src/dag_state.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 38834179396.1 16 Oct 2026 02:08AM UTC 1115
70.69
GitHub Action Run
Source Files on build 38834179396
  • Tree
  • List 1115
  • Changed 65
  • Source Changed 27
  • Coverage Changed 65
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38834179396
  • 373f5577 on github
  • Prev Build on develop (#38664818948)
  • Next Build on develop (#38990139664)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc