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

iotaledger / iota / 16765282075
65%

Build:
DEFAULT BRANCH: develop
Ran 06 Aug 2025 03:50AM UTC
Jobs 1
Files 1371
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

05 Aug 2025 03:01PM UTC coverage: 65.531% (-0.02%) from 65.553%
16765282075

push

github

web-flow
fix(framework): when setting a candidate commission rate also set the next epoch commission rate, else it will be reset after the candidate joins the active set (#8103)

# Description of change

If a candidate validator updates the commission rate using the
`set_candidate_validator_commission_rate` the framework was only
updating the current commission rate but kept the "next epoch"
commission rate untouched. This meant that as soon as the candidate
validator joined the network and the epoch advanced, the system would
reset the commission rate to the value of the "next epoch".

This fix updates both fields correctly.

Note: this PR should be merged, not squashed due to it updating the
framework snapshots.

## Links to any relevant issues

Be sure to reference any related issues by adding `fixes #(issue)`.

## How the change has been tested

- [ ] 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
- [ ] I have checked that new and existing unit tests pass locally with
my changes

### Release Notes

- [x] Protocol: Properly update a validator commission rate when
`set_candidate_validator_commission_rate` is called.
- [ ] Nodes (Validators and Full nodes):
- [ ] Indexer:
- [ ] JSON-RPC:
- [ ] GraphQL:
- [ ] CLI:
- [ ] Rust SDK:
- [ ] REST API:

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

134 existing lines in 12 files now uncovered.

235374 of 359180 relevant lines covered (65.53%)

2339343.1 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.15
-0.13% crates/iota-core/src/epoch/randomness.rs
1
98.06
-0.97% crates/iota-surfer/src/surfer_task.rs
1
76.46
-0.11% crates/iota-types/src/crypto.rs
4
65.95
-1.43% crates/iota-types/src/messages_consensus.rs
6
53.91
-1.34% crates/iota-core/src/storage.rs
9
83.46
-6.77% crates/iota-surfer/src/surf_strategy.rs
13
92.74
-0.4% consensus/core/src/synchronizer.rs
13
93.62
-0.22% crates/iota-protocol-config/src/lib.rs
15
92.73
-1.7% crates/iota-core/src/consensus_adapter.rs
15
61.54
-23.08% crates/iota-core/src/mysticeti_adapter.rs
25
69.22
-1.33% crates/iota-core/src/authority/authority_store_pruner.rs
31
75.17
-4.12% consensus/core/src/authority_service.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 16765282075.1 06 Aug 2025 03:50AM UTC 1373
65.52
GitHub Action Run
Source Files on build 16765282075
  • Tree
  • List 1371
  • Changed 24
  • Source Changed 1
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16765282075
  • 1e4f9bef on github
  • Prev Build on develop (#16738220365)
  • Next Build on develop (#16792823430)
  • 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