Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 3.1.0.0.5 to master #5797

Merged
merged 468 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
468 commits
Select commit Hold shift + click to select a range
e4af663
chore: Apply Clippy lint `to_string_in_format_args`
jbencin Jan 17, 2025
8314f0e
chore: Apply Clippy lint `useless_format`
jbencin Jan 17, 2025
e2a07bb
chore: Apply Clippy lint `format_in_format_args`
jbencin Jan 17, 2025
fa0d9ac
chore: address PR feedback
jcnelson Jan 17, 2025
26cedd7
Merge branch 'fix/burn-view' of https://github.com/stacks-network/sta…
jcnelson Jan 17, 2025
275f1e2
chore: address more PR feedback
jcnelson Jan 17, 2025
a4566b8
Merge pull request #5630 from stacks-network/fix/clippy-ci-stacks-lib…
jferrant Jan 17, 2025
3ac6aae
chore: Remove unnecessary `to_string()`
jbencin Jan 17, 2025
dd80215
Merge branch 'develop' into fix/burn-view
jcnelson Jan 17, 2025
2834095
chore: Apply a couple fixes I missed in previous commits
jbencin Jan 17, 2025
dc50cfb
Merge branch 'develop' into fix/burn-view
jcnelson Jan 17, 2025
e1c09f7
Merge pull request #5645 from stacks-network/fix/clippy-ci-stacks-lib…
jferrant Jan 17, 2025
856542d
chore: Remove a couple more `to_string()` calls
jbencin Jan 17, 2025
2261a86
Merge branch 'develop' into fix/clippy-ci-needless-borrowed-ref
jferrant Jan 17, 2025
e57155d
chore: One more format string fix missed by Clippy
jbencin Jan 17, 2025
51b239a
Merge branch 'develop' into fix/burn-view
jcnelson Jan 17, 2025
994bc83
test: further improvements to integration test
obycode Jan 17, 2025
612dc5d
Merge branch 'develop' into test/allow_reorg_within_first_proposal_bu…
obycode Jan 17, 2025
fa80e0a
test: fix conflict in test after merge
obycode Jan 17, 2025
a189c6a
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jan 17, 2025
56c69e2
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jan 17, 2025
f568275
fix flakiness in forked-tenure-is-ignored
kantai Jan 17, 2025
c06b23e
fix: Flaky integration test `simple_neon_integration`
jbencin Jan 17, 2025
ab384e1
ci: don't run tests on `push`
obycode Jan 17, 2025
97961fe
ci: remove old `docs-pr` action
obycode Jan 17, 2025
47c8c9e
Merge pull request #5700 from stacks-network/fix/clippy-ci-useless-co…
obycode Jan 17, 2025
d7b5e14
Merge pull request #5726 from jbencin/fix/flaky-test-simple-neon-inte…
jbencin Jan 18, 2025
0e796a5
Merge pull request #5725 from stacks-network/test/unflake-forked-tenu…
kantai Jan 18, 2025
016d4e9
Merge branch 'develop' into fix/burn-view
kantai Jan 18, 2025
9584bf7
Merge pull request #5724 from stacks-network/master
obycode Jan 18, 2025
c7b84d4
Merge branch 'develop' into test/flaky-miner-forking
kantai Jan 18, 2025
3107f61
Merge remote-tracking branch 'origin/develop' into fix/burn-view
kantai Jan 18, 2025
2c007c2
revert my own suggestion
kantai Jan 18, 2025
ddc1eca
Merge remote-tracking branch 'origin/develop' into fix/burn-view
kantai Jan 18, 2025
9970130
chore: address more PR feedback; revert can_continue_tenure() check i…
jcnelson Jan 18, 2025
e248b68
Merge branch 'fix/burn-view' of https://github.com/stacks-network/sta…
jcnelson Jan 18, 2025
94016bd
fix: remove unused variable
jcnelson Jan 18, 2025
be9e05f
Merge branch 'develop' into test/allow_reorg_within_first_proposal_bu…
obycode Jan 18, 2025
13aaa3f
docs: add changelog entry
obycode Jan 18, 2025
80d9385
Merge pull request #5727 from stacks-network/ci/no-push-tests
obycode Jan 18, 2025
fc92d18
Merge pull request #5702 from stacks-network/fix/clippy-ci-unnecessar…
obycode Jan 18, 2025
45e3409
Merge branch 'develop' into fix/clippy-ci-stacks-lib-needless-borrow
jferrant Jan 18, 2025
039c155
Merge pull request #5693 from stacks-network/fix/clippy-ci-needless-b…
jferrant Jan 19, 2025
ed29147
Merge branch 'develop' into fix/clippy-ci-unnecessary-lazy-evaluations
jferrant Jan 19, 2025
22c5151
Merge pull request #5695 from stacks-network/fix/clippy-ci-unnecessar…
jferrant Jan 19, 2025
13de1f9
Merge pull request #5698 from stacks-network/fix/clippy-ci-unnecessar…
jferrant Jan 19, 2025
9535321
Merge branch 'develop' into fix/clippy-ci-unnecessary-literal-unwrap
jferrant Jan 19, 2025
5ebb3b1
Merge branch 'develop' into fix/clippy-ci-unnecessary-literal-unwrap
jferrant Jan 19, 2025
00fc875
Chore: PR feedback
jbencin Jan 19, 2025
e2415d3
Merge pull request #5696 from stacks-network/fix/clippy-ci-unnecessar…
jferrant Jan 20, 2025
60917a1
Merge branch 'develop' into fix/burn-view
jcnelson Jan 20, 2025
5f873b3
fix: Undo change
jbencin Jan 20, 2025
55b6643
Merge `develop` into `chore/clippy-redundant-clone` and fix conflicts
jbencin Jan 20, 2025
e9c3856
Merge branch 'develop' into feat/signer-metrics-validation-time
hstove Jan 20, 2025
619c2fe
Merge pull request #5664 from stacks-network/feat/signer-metrics-vali…
hstove Jan 20, 2025
cae9099
Merge branch 'develop' into fix/burn-view
kantai Jan 21, 2025
392690f
Merge remote-tracking branch 'origin/develop' into feat/dry-run-signer
kantai Jan 21, 2025
652f9e3
add changelog entry
kantai Jan 21, 2025
b7ebbfc
chore: add changelog entry
kantai Jan 21, 2025
2b9dd3f
address PR feedback
kantai Jan 21, 2025
0deeebb
Merge branch 'develop' into chore/remove-unused-imports-stacks-common
jferrant Jan 21, 2025
c2a0b51
Merge branch 'develop' into fix/clippy-ci-unnecessary-fold
jferrant Jan 21, 2025
c1c5385
Merge branch 'develop' into fix/flaky-responses-check
jferrant Jan 21, 2025
e821ee3
address PR feedback
kantai Jan 21, 2025
c53b10f
Merge pull request #5716 from stacks-network/fix/boot-to-epoch-3
jferrant Jan 21, 2025
a8f23bd
Merge branch 'develop' into fix/flaky-responses-check
jferrant Jan 21, 2025
d8fb8ef
Merge branch 'develop' into fix/burn-view
jcnelson Jan 21, 2025
65ffdec
Merge branch 'develop' into fix/clippy-ci-unnecessary-fold
jferrant Jan 21, 2025
9f3033a
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jan 21, 2025
407d744
Merge branch 'fix/clippy-ci-stacks-lib-needless-borrow' of https://gi…
jferrant Jan 21, 2025
947c302
Merge pull request #5719 from stacks-network/fix/flaky-responses-check
jferrant Jan 21, 2025
04f6fc4
Merge pull request #5515 from stacks-network/fix/burn-view
kantai Jan 21, 2025
c439560
Merge branch 'develop' into fix/clippy-ci-stacks-lib-needless-borrow
jferrant Jan 21, 2025
489aa27
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jan 21, 2025
6e9a42d
Merge pull request #5694 from stacks-network/fix/clippy-ci-unnecessar…
jferrant Jan 21, 2025
cf38139
Merge branch 'develop' into test/allow_reorg_within_first_proposal_bu…
obycode Jan 21, 2025
b8a51e3
Fix test
jferrant Jan 22, 2025
6426d8a
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jan 22, 2025
ea771ca
added heuristic for block rejections timeout
rdeioris Jan 22, 2025
daffba1
Merge branch 'develop' into feat/block_rejections_heuristic
rdeioris Jan 22, 2025
6ab756b
added rejections_timeout test exposure via BLOCK_REJECTIONS_CURRENT_T…
rdeioris Jan 22, 2025
02841df
Merge `develop` into `chore/clippy-format-strings` and fix conflicts
jbencin Jan 22, 2025
53e670f
Merge pull request #5691 from stacks-network/test/allow_reorg_within_…
obycode Jan 22, 2025
bfd4793
improved test logic
rdeioris Jan 22, 2025
bc037b5
fix: moving and adding to unreleased changelog
hstove Jan 22, 2025
487ec0e
Merge branch `develop` into `chore/clippy-collection-is-never-read` a…
jbencin Jan 22, 2025
5984030
Merge pull request #5732 from stacks-network/fix/missing-changelog-3.…
kantai Jan 22, 2025
99ff95d
Merge branch 'develop' into test/flaky-miner-forking
kantai Jan 22, 2025
3cebb35
fixed integration test
rdeioris Jan 22, 2025
4585774
use LazyLock + TestFlag
rdeioris Jan 22, 2025
333f943
Merge branch 'develop' into fix/event_observer_skip_retry_tests
rdeioris Jan 22, 2025
e0d3f3c
Merge pull request #5697 from jbencin/chore/clippy-needless-collect
jbencin Jan 22, 2025
6cdcd9b
Merge branch 'develop' into chore/clippy-vec-and-iter-lints
jferrant Jan 22, 2025
db14fba
Merge branch 'develop' into feat/block_rejections_heuristic
rdeioris Jan 22, 2025
a077937
Merge pull request #5723 from jbencin/chore/clippy-format-strings
jbencin Jan 22, 2025
c3e163e
fixed comment for BLOCK_REJECTIONS_CURRENT_TIMEOUT
rdeioris Jan 22, 2025
6b751c4
fixed test comment
rdeioris Jan 22, 2025
bbeb7d6
test: fix flakiness in global_acceptance_depends_on_block_announcement
kantai Jan 22, 2025
bb8df99
fmt
rdeioris Jan 22, 2025
280483b
added more comments
rdeioris Jan 22, 2025
d96fa87
Merge branch 'develop' into fix/clippy-ci-stacks-lib-needless-borrow
jferrant Jan 22, 2025
7b56e1a
Merge branch 'develop' into chore/remove-unused-imports-clarity
jbencin Jan 22, 2025
90b22d0
Merge pull request #5699 from jbencin/chore/clippy-set-contains-or-in…
jbencin Jan 22, 2025
b851d0f
Create clippy-stacks alias to run in CI and to run locally
jferrant Jan 22, 2025
f6e5f66
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jan 22, 2025
9cacb22
Merge pull request #5660 from jbencin/chore/remove-unused-imports-cla…
jbencin Jan 22, 2025
728e4d2
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jan 22, 2025
0c1059c
Do not suggest adding clippy to git hooks
jferrant Jan 22, 2025
94164e9
Run clippy without clippy check
jferrant Jan 22, 2025
589bee1
Fix existing clippy warnings
jferrant Jan 22, 2025
bc56d9e
Merge pull request #5733 from stacks-network/test/flaky-global-accept…
kantai Jan 22, 2025
e1bd4dd
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jan 22, 2025
d892a89
chore: improved loops
obycode Jan 22, 2025
cd77f5c
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jan 22, 2025
af9f7ea
Fix last of needless refs in loops
jferrant Jan 22, 2025
9f1c431
chore: Apply PR comments from Brice
jbencin Jan 23, 2025
189d6ab
Merge pull request #5734 from stacks-network/chore/add-clippy-stacks
kantai Jan 23, 2025
05b3f92
fixed formatting
rdeioris Jan 23, 2025
b691268
chore: don't log the contract source on deploy error
obycode Jan 23, 2025
872a1cf
Merge branch `develop` into `chore/clippy-vec-and-iter-lints` and fix…
jbencin Jan 23, 2025
9978402
chore: Additional simplifications to `Vec` construction in clarity_cl…
jbencin Jan 23, 2025
dc5bbe3
chore: Remove unnecessary `format!()` calls
jbencin Jan 23, 2025
47a0d91
chore: refactor StacksAddress and PrincipalData to make them easier t…
jcnelson Jan 23, 2025
6b95f87
Merge branch `develop` into `chore/clippy-redundant-clone` and fix co…
jbencin Jan 23, 2025
cd8f5ff
chore: bump changelog version
jcnelson Jan 23, 2025
15026de
chore: bump signer changelog
jcnelson Jan 23, 2025
2f2cb53
chore: Apply Clippy lint `redundant_pattern_matching`
jbencin Jan 23, 2025
43d4ee9
Merge pull request #5739 from stacks-network/chore/address-refactor
wileyj Jan 23, 2025
da64cec
chore: Apply Clippy lint `single_match`
jbencin Jan 23, 2025
34e34ef
chore: Apply Clippy lint `redundant_pattern_matching` again
jbencin Jan 23, 2025
918a79b
Merge pull request #5736 from stacks-network/chore/dont-log-contract
obycode Jan 23, 2025
c147821
Merge pull request #5656 from jbencin/chore/clippy-vec-and-iter-lints
jbencin Jan 23, 2025
1f1bf2c
Merge pull request #5722 from stacks-network/test/flaky-miner-forking
kantai Jan 23, 2025
a0e2ae1
Merge branch `develop` into `chore/clippy-redundant-clone` and fix co…
jbencin Jan 23, 2025
a2ef22e
Merge pull request #5713 from jbencin/chore/clippy-redundant-clone
jbencin Jan 23, 2025
7f77a5b
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jan 23, 2025
f95abc5
Apply clippy::unnecessary_to_owned and clippy::unwrap_or_default
jferrant Jan 23, 2025
399e284
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jan 23, 2025
a46254d
Merge pull request #5651 from stacks-network/fix/clippy-ci-stacks-lib…
jferrant Jan 24, 2025
fe244d9
added serial_test to dependancies, use test serialization for event_d…
rdeioris Jan 24, 2025
0aae8cb
fixed formatting
rdeioris Jan 24, 2025
9971d1a
added wanr! when timeout
rdeioris Jan 24, 2025
d1ea60a
Merge branch `develop` into `chore/clippy-single-match-and-redundant-…
jbencin Jan 24, 2025
7e2d60e
chore: Address PR comments from Aaron
jbencin Jan 24, 2025
64733db
moved serial_test to dev_dependencies
rdeioris Jan 24, 2025
769c94d
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Jan 24, 2025
4a6bc74
CRC: cleanup
jferrant Jan 24, 2025
ccbf1af
CRC: replace StacksPrivateKey::new with StacksPrivateKey::random and …
jferrant Jan 24, 2025
0c5c2c5
chore: Apply Clippy lint `match_like_matches_macro`
jbencin Jan 24, 2025
82313d3
chore: Apply PR comment from Aaron
jbencin Jan 24, 2025
c84ae7c
Merge branch `develop` into `chore/remove-unused-imports-stacks-commo…
jbencin Jan 24, 2025
1f94451
Merge branch `develop` into `chore/clippy-collection-is-never-read` a…
jbencin Jan 24, 2025
c9cbd23
fix: Undo `_e` => `e` variable rename
jbencin Jan 25, 2025
1415732
fix: `cargo clippy-stacks` errors
jbencin Jan 25, 2025
e9c1ab8
chore: Minor refactoring
jbencin Jan 27, 2025
7699bc3
chore: Apply Clippy lint `manual_inspect`
jbencin Jan 27, 2025
a5a6ce6
Merge pull request #5746 from jbencin/fix/clippy-stacks-errors
jbencin Jan 27, 2025
e6b8ca9
fix: #5750 better win detection on restart
kantai Jan 27, 2025
b2c34d9
Merge branch 'develop' into chore/clippy-unnecesary-to-owned-unwrap-o…
obycode Jan 27, 2025
dd635f0
Merge pull request #5669 from stacks-network/fix/event_observer_skip_…
obycode Jan 27, 2025
5e11f2d
Merge pull request #5744 from jbencin/chore/clippy-match-like-matches…
obycode Jan 27, 2025
6785cf2
ci: add test to workflow
kantai Jan 27, 2025
3f60bd0
deps: fix crate vulnerabilities
rex4539 Jan 21, 2025
cef96ad
deps: fix more crate vulnerabilities
rex4539 Jan 21, 2025
1e8adfb
chore: add mutants::skip to process_sortition
kantai Jan 28, 2025
2186f2d
Merge remote-tracking branch 'origin/develop' into feat/better-win-de…
kantai Jan 28, 2025
36d49b0
Merge pull request #5741 from stacks-network/chore/clippy-unnecesary-…
jbencin Jan 28, 2025
62b22fd
Merge branch `develop` into chore/clippy-single-match-and-redundant-p…
jbencin Jan 28, 2025
3e22212
Merge branch 'develop' into vuln
obycode Jan 28, 2025
d57bff5
Merge branch `develop` into `chore/clippy-collection-is-never-read` a…
jbencin Jan 28, 2025
f54eed2
Merge remote-tracking branch 'origin/develop' into feat/dry-run-signer
kantai Jan 28, 2025
5456caa
fix introduced typo in changelog
kantai Jan 28, 2025
45ae015
initial prototype for configurable block_rejction timeout steps
rdeioris Jan 28, 2025
da16af9
feat: allow other transactions with tenure extends
obycode Jan 28, 2025
2272b8f
docs: add changelog entry
obycode Jan 28, 2025
02d595c
test: fix `tests::nakamoto_integrations::continue_tenure_extend`
obycode Jan 28, 2025
1e5b654
test: fix `tests::signer::v0::continue_after_fast_block_no_sortition`
obycode Jan 28, 2025
3071d36
improved config system
rdeioris Jan 29, 2025
9b0f233
fix: always send pending block validation after receiving a block val…
hstove Jan 29, 2025
f2ab500
fmt-stacks
rdeioris Jan 29, 2025
5c0805a
fixed default rejections timeout
rdeioris Jan 29, 2025
f22a990
improved comment for rejections timeout
rdeioris Jan 29, 2025
4f4b584
fixed typo
rdeioris Jan 29, 2025
463839f
ensure 0 key is specified for rejections timeout
rdeioris Jan 29, 2025
0e7461c
message typo
rdeioris Jan 29, 2025
c0a9c38
Merge pull request #5748 from jbencin/chore/clippy-manual-inspect
jbencin Jan 29, 2025
99ef43c
Merge pull request #5633 from jbencin/chore/remove-unused-imports-sta…
jferrant Jan 29, 2025
9139fb2
Merge pull request #5654 from jbencin/chore/clippy-collection-is-neve…
jbencin Jan 29, 2025
2233e5e
Merge pull request #5760 from stacks-network/feat/mine-txs-with-tenur…
obycode Jan 29, 2025
d64b017
Merge branch `develop` into `chore/clippy-single-match-and-redundant-…
jbencin Jan 29, 2025
1f97bcf
Merge pull request #5766 from stacks-network/fix/always-send-pending-…
hstove Jan 29, 2025
8bf3cd2
Merge remote-tracking branch 'origin/develop' into feat/better-win-de…
hstove Jan 29, 2025
5066d9b
Merge remote-tracking branch 'origin/develop' into feat/dry-run-signer
hstove Jan 29, 2025
3b1a3e8
test: fix some test flake in partial_tenure_forking
kantai Jan 29, 2025
a1e5dee
test: fix merge artifact
kantai Jan 29, 2025
420f861
use Counters instead of global test vars
rdeioris Jan 30, 2025
57f80fb
restored original wait_for_block_status
rdeioris Jan 30, 2025
d5abfdc
removed empty line
rdeioris Jan 30, 2025
ed48786
Merge branch 'develop' into feat/block_rejections_heuristic
rdeioris Jan 30, 2025
5269714
updated CHANGELOG
rdeioris Jan 30, 2025
5a70c43
updated CHANGELOG
rdeioris Jan 30, 2025
c424212
Secp256k1PrivateKey::random() instrad of new()
rdeioris Jan 30, 2025
2ba3483
Merge pull request #5680 from stacks-network/feat/dry-run-signer
kantai Jan 30, 2025
d713290
removed useless test attributes
rdeioris Jan 30, 2025
3e54697
Merge branch 'develop' into feat/better-win-detection
kantai Jan 30, 2025
adaabe6
use u32 for block_rejection_timeout_steps keys
rdeioris Jan 30, 2025
7cfbfdd
refactored block_rejection_timeout_steps percentage setup
rdeioris Jan 30, 2025
d4171d7
do not reset rejections_timer on block_status updates
rdeioris Jan 30, 2025
d380366
chore: Update `syn` version
jbencin Jan 30, 2025
fbc3b7d
moved block_rejection_timeout_steps computation directly in SignerCoo…
rdeioris Jan 30, 2025
034a166
Merge pull request #5730 from rex4539/vuln
jbencin Jan 30, 2025
59c7e7c
Merge pull request #5752 from stacks-network/feat/better-win-detection
hstove Jan 30, 2025
0b16c0a
Merge branch 'develop' into test/partial-tenure-flake
kantai Jan 30, 2025
7e8f2a3
Merge pull request #5769 from stacks-network/test/partial-tenure-flake
kantai Jan 30, 2025
33642c3
Merge branch 'develop' into feat/block_rejections_heuristic
rdeioris Jan 31, 2025
790c1e1
merged with develop, reintroduces old logic for condition variables, …
rdeioris Jan 31, 2025
54aed16
rollback BlockStatus Default and PartialEq
rdeioris Jan 31, 2025
fd09625
test: fix flake in multiple_miners_empty_sortition
kantai Jan 31, 2025
3ea5c85
test: refactor nakamoto tests to use better wait-for-commit logic
kantai Jan 31, 2025
cade537
fix: Disable flaky test `flash_blocks_on_epoch_3`
jbencin Jan 31, 2025
eb883ee
improved error messages on timeout
rdeioris Jan 31, 2025
bbc6ab8
fix revealed flake in restarting_miner and test_shadow_recovery
kantai Jan 31, 2025
8803ff1
feat: do not issue a time-based tenure extend earlier than needed
obycode Jan 29, 2025
21af655
test: add `tenure_extend_cost_threshold` integration test
obycode Jan 31, 2025
fe429f4
report rejection step in miner log, ensure signe_test shutdown in int…
rdeioris Jan 31, 2025
60634c2
fix flake in check_block_times
kantai Jan 31, 2025
16da2f3
Merge branch 'develop' into feat/extend-when-needed
obycode Jan 31, 2025
6a238a7
added set_miner_current_rejections_timeout and set_miner_current_reje…
rdeioris Jan 31, 2025
6510184
chore: formatting
obycode Jan 31, 2025
870187b
chore: move `dry_run` info to signer changelog
obycode Jan 31, 2025
fb2a707
test: fix reward-cycle flake in multiple_miners_empty_sortition
kantai Jan 31, 2025
eb8e944
test: fix flake in test_tenure_extend_from_flashblocks, bump default …
kantai Jan 31, 2025
6fccd18
chore: add comments requested in code review
obycode Jan 31, 2025
6041be6
fix: Disable flaky test `flash_blocks_on_epoch_3` for real this time
jbencin Jan 31, 2025
6228b9b
Merge pull request #5787 from stacks-network/feat/extend-when-needed
obycode Jan 31, 2025
26f18d1
Merge pull request #5785 from jbencin/fix/flaky-test-flash-blocks-on-…
kantai Jan 31, 2025
38b62c7
Merge branch 'develop' into test/refactor-block-waits
kantai Jan 31, 2025
9829615
Merge branch 'develop' into test/refactor-block-waits
kantai Jan 31, 2025
fb6f2b7
Merge pull request #5784 from stacks-network/test/refactor-block-waits
kantai Jan 31, 2025
8d2bb0d
refactored block_validation_check_rejection_timeout_heuristic test
rdeioris Feb 1, 2025
151c844
use From based cast for u32->u64
rdeioris Feb 1, 2025
b813afa
merged with develop
rdeioris Feb 1, 2025
f66c894
removed useless line
rdeioris Feb 1, 2025
d2ed454
Merge pull request #5740 from jbencin/chore/clippy-single-match-and-r…
jbencin Feb 1, 2025
0c86012
Merge branch 'develop' into feat/block_rejections_heuristic
rdeioris Feb 3, 2025
400c806
use u32 for rejections counter
rdeioris Feb 3, 2025
64bbb91
Merge pull request #5731 from stacks-network/feat/block_rejections_he…
kantai Feb 3, 2025
6765063
update changelog for 3.1.0.0.5
wileyj Feb 3, 2025
e9e7af5
Update CHANGELOG.md
wileyj Feb 3, 2025
513dbc5
Merge pull request #5791 from stacks-network/chore/3.1.0.0.5_changelog
wileyj Feb 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[alias]
stacks-node = "run --package stacks-node --"
fmt-stacks = "fmt -- --config group_imports=StdExternalCrate,imports_granularity=Module"
clippy-stacks = "clippy -p libstackerdb -p stacks-signer -p pox-locking -p clarity -p libsigner -p stacks-common --no-deps --tests --all-features -- -D warnings"

# Uncomment to improve performance slightly, at the cost of portability
# * Note that native binaries may not run on CPUs that are different from the build machine
Expand Down
19 changes: 17 additions & 2 deletions .github/workflows/bitcoin-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
# - tests::neon_integrations::size_overflow_unconfirmed_microblocks_integration_test
# - tests::neon_integrations::size_overflow_unconfirmed_stream_microblocks_integration_test
# - tests::neon_integrations::runtime_overflow_unconfirmed_microblocks_integration_test
# - tests::epoch_25::microblocks_disabled
# Disable this flaky test. Microblocks are no longer supported anyways.
# - tests::neon_integrations::microblock_large_tx_integration_test_FLAKY
- tests::neon_integrations::miner_submit_twice
Expand All @@ -80,10 +81,10 @@ jobs:
- tests::neon_integrations::bitcoin_reorg_flap
- tests::neon_integrations::bitcoin_reorg_flap_with_follower
- tests::neon_integrations::start_stop_bitcoind
- tests::epoch_25::microblocks_disabled
- tests::should_succeed_handling_malformed_and_valid_txs
- tests::nakamoto_integrations::simple_neon_integration
- tests::nakamoto_integrations::flash_blocks_on_epoch_3
# Disable this flaky test. We don't need continue testing Epoch 2 -> 3 transition
# - tests::nakamoto_integrations::flash_blocks_on_epoch_3_FLAKY
- tests::nakamoto_integrations::mine_multiple_per_tenure_integration
- tests::nakamoto_integrations::block_proposal_api_endpoint
- tests::nakamoto_integrations::miner_writes_proposed_block_to_stackerdb
Expand Down Expand Up @@ -124,21 +125,32 @@ jobs:
- tests::signer::v0::signing_in_0th_tenure_of_reward_cycle
- tests::signer::v0::continue_after_tenure_extend
- tests::signer::v0::tenure_extend_after_idle_signers
- tests::signer::v0::tenure_extend_with_other_transactions
- tests::signer::v0::tenure_extend_after_idle_miner
- tests::signer::v0::tenure_extend_after_failed_miner
- tests::signer::v0::tenure_extend_succeeds_after_rejected_attempt
- tests::signer::v0::stx_transfers_dont_effect_idle_timeout
- tests::signer::v0::idle_tenure_extend_active_mining
- tests::signer::v0::multiple_miners_with_custom_chain_id
- tests::signer::v0::block_commit_delay
- tests::signer::v0::continue_after_fast_block_no_sortition
- tests::signer::v0::block_validation_response_timeout
- tests::signer::v0::block_validation_check_rejection_timeout_heuristic
- tests::signer::v0::block_validation_pending_table
- tests::signer::v0::new_tenure_while_validating_previous_scenario
- tests::signer::v0::tenure_extend_after_bad_commit
- tests::signer::v0::block_proposal_max_age_rejections
- tests::signer::v0::global_acceptance_depends_on_block_announcement
- tests::signer::v0::no_reorg_due_to_successive_block_validation_ok
- tests::signer::v0::incoming_signers_ignore_block_proposals
- tests::signer::v0::outgoing_signers_ignore_block_proposals
- tests::signer::v0::injected_signatures_are_ignored_across_boundaries
- tests::signer::v0::fast_sortition
- tests::signer::v0::single_miner_empty_sortition
- tests::signer::v0::multiple_miners_empty_sortition
- tests::signer::v0::block_proposal_timeout
- tests::signer::v0::rejected_blocks_count_towards_miner_validity
- tests::signer::v0::allow_reorg_within_first_proposal_burn_block_timing_secs
- tests::nakamoto_integrations::burn_ops_integration_test
- tests::nakamoto_integrations::check_block_heights
- tests::nakamoto_integrations::clarity_burn_state
Expand All @@ -158,6 +170,9 @@ jobs:
- tests::nakamoto_integrations::sip029_coinbase_change
- tests::nakamoto_integrations::clarity_cost_spend_down
- tests::nakamoto_integrations::v3_blockbyheight_api_endpoint
- tests::nakamoto_integrations::mine_invalid_principal_from_consensus_buff
- tests::nakamoto_integrations::test_tenure_extend_from_flashblocks
- tests::nakamoto_integrations::restarting_miner
# TODO: enable these once v1 signer is supported by a new nakamoto epoch
# - tests::signer::v1::dkg
# - tests::signer::v1::sign_request_rejected
Expand Down
82 changes: 16 additions & 66 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,19 +112,10 @@ jobs:
## - commit to either (development, master) branch
create-cache:
if: |
needs.check-release.outputs.is_release == 'true' || (
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' ||
github.event_name == 'merge_group' ||
(
contains('
refs/heads/master
refs/heads/develop
refs/heads/next
', github.event.pull_request.head.ref) &&
github.event_name == 'push'
)
)
needs.check-release.outputs.is_release == 'true' ||
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' ||
github.event_name == 'merge_group'
name: Create Test Cache
needs:
- rustfmt
Expand All @@ -144,19 +135,9 @@ jobs:
## - commit to either (development, next, master) branch
stacks-core-tests:
if: |
needs.check-release.outputs.is_release == 'true' || (
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' ||
github.event_name == 'merge_group' ||
(
contains('
refs/heads/master
refs/heads/develop
refs/heads/next
', github.event.pull_request.head.ref) &&
github.event_name == 'push'
)
)
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' ||
github.event_name == 'merge_group'
name: Stacks Core Tests
needs:
- rustfmt
Expand All @@ -177,19 +158,9 @@ jobs:
## - commit to either (development, next, master) branch
stacks-core-build-tests:
if: |
needs.check-release.outputs.is_release == 'true' || (
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' ||
github.event_name == 'merge_group' ||
(
contains('
refs/heads/master
refs/heads/develop
refs/heads/next
', github.event.pull_request.head.ref) &&
github.event_name == 'push'
)
)
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' ||
github.event_name == 'merge_group'
name: Stacks Core Build Tests
needs:
- rustfmt
Expand All @@ -198,42 +169,21 @@ jobs:

bitcoin-tests:
if: |
needs.check-release.outputs.is_release == 'true' || (
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' ||
github.event_name == 'merge_group' ||
(
contains('
refs/heads/master
refs/heads/develop
refs/heads/next
', github.event.pull_request.head.ref) &&
github.event_name == 'push'
)
)
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' ||
github.event_name == 'merge_group'
name: Bitcoin Tests
needs:
- rustfmt
- create-cache
- check-release
uses: ./.github/workflows/bitcoin-tests.yml


p2p-tests:
if: |
needs.check-release.outputs.is_release == 'true' || (
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' ||
github.event_name == 'merge_group' ||
(
contains('
refs/heads/master
refs/heads/develop
refs/heads/next
', github.event.pull_request.head.ref) &&
github.event_name == 'push'
)
)
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' ||
github.event_name == 'merge_group'
name: P2P Tests
needs:
- rustfmt
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,4 @@ jobs:
components: clippy
- name: Clippy
id: clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: -p libstackerdb -p stacks-signer -p pox-locking -p clarity -p libsigner -p stacks-common --no-deps --tests --all-features -- -D warnings
run: cargo clippy-stacks
114 changes: 0 additions & 114 deletions .github/workflows/docs-pr.yml

This file was deleted.

39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,45 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to the versioning scheme outlined in the [README.md](README.md).

## [Unreleased]

### Added

### Changed

### Fixed

## [3.1.0.0.5]

### Added

- Add miner configuration option `tenure_extend_cost_threshold` to specify the percentage of the tenure budget that must be spent before a time-based tenure extend is attempted

### Changed

- Miner will include other transactions in blocks with tenure extend transactions (#5760)
- Add `block_rejection_timeout_steps` to miner configuration for defining rejections-based timeouts while waiting for signers response (#5705)
- Miner will not issue a tenure extend until at least half of the block budget has been spent (#5757)

### Fixed

- Miners who restart their nodes immediately before a winning tenure now correctly detect that
they won the tenure after their nodes restart ([#5750](https://github.com/stacks-network/stacks-core/issues/5750)).

## [3.1.0.0.4]

### Added

- The stacks-node miner now performs accurate tenure-extensions in certain bitcoin block production
cases: when a bitcoin block is produced before the previous bitcoin block's Stacks tenure started.
Previously, the miner had difficulty restarting their missed tenure and extending into the new
bitcoin block, leading to 1-2 bitcoin blocks of missed Stacks block production.
- The event dispatcher now includes `consensus_hash` in the `/new_block` and `/new_burn_block` payloads. ([#5677](https://github.com/stacks-network/stacks-core/pull/5677))

## Changed

- When a miner reorgs the previous tenure due to a poorly timed block, it can now continue to build blocks on this new chain tip (#5691)

## [3.1.0.0.3]

### Added
Expand Down
12 changes: 12 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,18 @@ You can automatically reformat your commit via:
cargo fmt-stacks
```

## Clippy Warnings

PRs will be checked against `clippy` and will _fail_ if any clippy warnings are generated.
Unfortunately, not all existing clippy warnings have been addressed throughout stacks-core, so arguments must be passed via the command line.
Therefore, we handle `clippy` configurations using a Cargo alias: `cargo clippy-stacks`

You can check what warnings need to be addressed locally via:

```bash
cargo clippy-stacks
```

## Comments

Comments are very important for the readability and correctness of the codebase. The purpose of comments is:
Expand Down
Loading
Loading