Skip to content

[wip] epoch 4 release branch#7210

Open
hstove-stacks wants to merge 34 commits into
stacks-network:pox-wf-integrationfrom
hstove-stacks:feat/epoch-4-rc
Open

[wip] epoch 4 release branch#7210
hstove-stacks wants to merge 34 commits into
stacks-network:pox-wf-integrationfrom
hstove-stacks:feat/epoch-4-rc

Conversation

@hstove-stacks
Copy link
Copy Markdown
Contributor

This branch is built on top of #7197 and #7199 . The key difference is that I've updated RELEASE_LATEST_EPOCH in order to run this as a "proper" testnet in stacks-regtest-env.

hstove-stacks and others added 30 commits May 11, 2026 12:04
Moved from tracking `rewards-paid` to `rewards-per-token-paid`. This is required to account for scenarios where a signer's staked amount changes without claiming rewards. This is the case, for example, with early L1 unlocks.
* update the epoch_4_0 end-to-end test framework such that the signer-set stakes through pox-5
* remove test-only signer set overrides (no longer needed)
* add logic for iterating the signer set in pox-5, fetching signer keys, and signer weights
* add proptests for signer set calculations
The trait definition for `<signer-manager>` has changed since this code was written, so this commit updates the example contract deployed in signer tests.
Previously, the maps were called `staker-set-..`, but this reflected a previous design. Now, the linked list only contains signer principals. This commit updates those maps, functions, and argument names to reflect the fact that the linked list contains the _signer_ set.
@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 25904007932

Coverage decreased (-38.5%) to 47.459%

Details

  • Coverage decreased (-38.5%) from the base build.
  • Patch coverage: 17 uncovered changes across 1 file (36 of 53 lines covered, 67.92%).
  • 88645 coverage regressions across 346 files.

Uncovered Changes

File Changed Covered %
stackslib/src/chainstate/nakamoto/signer_set.rs 53 36 67.92%

Coverage Regressions

88645 previously-covered lines in 346 files lost coverage.

Top 10 Files by Coverage Loss Lines Losing Coverage Coverage
stackslib/src/chainstate/stacks/db/transactions.rs 8105 7.51%
stackslib/src/chainstate/stacks/db/blocks.rs 4481 35.64%
stackslib/src/chainstate/stacks/transaction.rs 4313 9.87%
stackslib/src/chainstate/burn/db/sortdb.rs 4192 42.9%
stackslib/src/chainstate/stacks/boot/mod.rs 3564 13.75%
stackslib/src/net/chat.rs 3178 26.96%
stackslib/src/chainstate/burn/operations/leader_block_commit.rs 2579 18.81%
stackslib/src/net/db.rs 1960 28.99%
stacks-signer/src/signerdb.rs 1578 35.13%
stackslib/src/chainstate/stacks/index/test/node.rs 1317 0.0%

Coverage Stats

Coverage Status
Relevant Lines: 219422
Covered Lines: 104136
Line Coverage: 47.46%
Coverage Strength: 12897381.15 hits per line

💛 - Coveralls

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 20, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants