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 2.5.0.0.4 to master #4915

Closed
wants to merge 672 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
672 commits
Select commit Hold shift + click to select a range
bbade15
refactor: some constants moved
jcnelson Apr 29, 2024
05f812d
feat: add tool to stacks-inspect to analyze Bitcoin MEV
jcnelson Apr 29, 2024
8c09cbd
Merge branch 'develop' into feat/bitcoin-mev
jcnelson Apr 29, 2024
41e57ef
Merge pull request #4723 from stacks-network/chore/master-to-develop
obycode Apr 29, 2024
cbd2037
fix: add signer-key to synthetic `stack-aggregation-increase` event
hstove Apr 29, 2024
482c195
refactor(pox-4-tests): Move PoX-4 stateful property-based tests
moodmosaic Apr 29, 2024
be71ee8
chore: Address PR comments from Jude
jbencin Apr 29, 2024
837f4a4
Merge branch 'develop' into fix/agg-increase-event
hstove Apr 29, 2024
a5bda55
feat: signer monitoring server
hstove Apr 25, 2024
544fcf6
crc: 404 for unknown monitoring request, only increment dkg after sub…
hstove Apr 29, 2024
9154bb7
feat: histogram for signer -> node RPC latency
hstove Apr 29, 2024
7318f5f
fix: typo spelling "gauge"
hstove Apr 29, 2024
24a0e97
feat: add heartbeat check to signer monitor
hstove Apr 29, 2024
08e04d9
Merge pull request #4728 from stacks-network/fix/agg-increase-event
hstove Apr 30, 2024
3b6df3e
fix: format
jcnelson Apr 30, 2024
3194d52
fix: format
jcnelson Apr 30, 2024
cb0c907
feat: add a `dryrun` option that's off by default, but permits testin…
jcnelson Apr 30, 2024
4f44917
fix: count the last block-commit in frequency
jcnelson Apr 30, 2024
7d6b6ea
fix: only check if the miner is active if the search window is greate…
jcnelson Apr 30, 2024
8b90a54
fix: fix various bugs in the MEV reporter
jcnelson Apr 30, 2024
143a75c
Merge branch 'develop' into feat/bitcoin-mev
jcnelson Apr 30, 2024
88e8212
chore: cargo fmt
jcnelson Apr 30, 2024
1b1615c
fix: api sync
jcnelson Apr 30, 2024
2b89463
Merge branch 'feat/bitcoin-mev' of https://github.com/stacks-network/…
jcnelson Apr 30, 2024
9909a3c
fix: dryrun
jcnelson Apr 30, 2024
cfdc8f1
Merge pull request #6 from jbencin/multisig-order-independence
fess-v Apr 30, 2024
dd9f859
Merge branch 'develop' into feat/pox-4-stateful-solo-scenarios
friedger Apr 30, 2024
ae5b716
fix: config_to_string test with metrics endpoint
hstove Apr 30, 2024
f910e6d
fix: Unit tests pass
jbencin Apr 29, 2024
10d954c
Merge pull request #4725 from stacks-network/feat/pox-4-stateful-solo…
moodmosaic Apr 30, 2024
1db6a97
Merge branch 'develop' into feat/bitcoin-mev
jcnelson Apr 30, 2024
b25eef8
refactor: Pass `Option`s to `verify_block_epoch_validation()`
jbencin Apr 30, 2024
452a400
Merge pull request #7 from jbencin/multisig-order-independence
fess-v Apr 30, 2024
5a91bdc
feat: `block-height` -> `stacks-block-height`
obycode Apr 30, 2024
7fb0fed
chore: fix failing unit tests
jcnelson May 1, 2024
e35c15c
fix: check bounds before indexing
jcnelson May 1, 2024
b410197
fix: handle a race condition between the signer and the /v2/pox endpoint
obycode May 1, 2024
af235d0
fix: only attempt to refresh the signer during the next prepare phase
obycode May 1, 2024
f82279d
chore: add changelog message for #4697
obycode May 1, 2024
40b1603
fix: build transient error correctly
obycode May 1, 2024
3e52aa0
fix: correct `is_in_next_prepare_phase`
obycode May 1, 2024
73a2735
fix: address PR feedback, and make it so that the test framework gene…
jcnelson May 1, 2024
9f79afc
fix: test the ATC lookup table generation, and cargo-fmt
jcnelson May 1, 2024
2082113
chore: add more info to error message
obycode May 1, 2024
430d987
fix: only retry the /v2/pox endpoint if it returns an older cycle
obycode May 1, 2024
7a49afa
fix: rustdocs added for test functions
fess-v May 1, 2024
3dd4ccb
Merge branch 'develop' of https://github.com/stacks-network/stacks-bl…
fess-v May 1, 2024
32111d2
feat: add Clarity3 consensus serialize/deserialize
obycode May 2, 2024
4245554
hot swappable mock_mining
ASuciuX May 2, 2024
b1e09dd
fix: fixed config_to_log_string test
hstove May 2, 2024
ea9c8c8
Update testnet/stacks-node/src/burnchains/bitcoin_regtest_controller.rs
ASuciuX May 2, 2024
2c6cdda
fix: disable windowing when we transition to epoch 3.0 for the durati…
jcnelson May 3, 2024
09454b7
fix: generate the expected block commit input so that mining works in…
jcnelson May 3, 2024
754cd60
chore: index block-commits by apparent sender, so we can get the last…
jcnelson May 3, 2024
d45faf9
fix: typos
jcnelson May 3, 2024
134afd3
feat: add tenure height to block_headers table
obycode May 3, 2024
ac2bd50
Merge pull request #4739 from stacks-network/chore/changelog
kantai May 3, 2024
9bce638
fix: revert changes in contrib/core-contract-tests/
obycode May 3, 2024
77efe75
Merge branch 'develop' into feat/bitcoin-mev
jcnelson May 3, 2024
679aeac
Merge branch 'develop' into draft/multisig-order-independence
jcnelson May 3, 2024
a9c14f9
Merge pull request #4698 from stacks-network/test/pox-4-unit
obycode May 3, 2024
54ae125
Merge pull request #4738 from stacks-network/fix/signer-cycle-transition
obycode May 3, 2024
1886013
Merge pull request #4743 from ASuciuX/feat/mock-mining-hot-swap
obycode May 3, 2024
c52e9bf
chore: use the burnchain indexer to find the right block header
jcnelson May 3, 2024
9bd74ca
Merge branch 'develop' into feat/bitcoin-mev
jcnelson May 3, 2024
61b37c0
fix: optionally disable resolving bootstrap nodes, so the caller can …
jcnelson May 3, 2024
02ec34a
feat: better way to store/retrieve tenure height
obycode May 3, 2024
56f754e
chore: expose set_initial_peer
jcnelson May 3, 2024
7318bab
fix: don't start from reward cycle 0 when doing an inv sync; start fr…
jcnelson May 3, 2024
30ff6d8
chore: add a mode of generating burnchain blocks in TestPeer that ens…
jcnelson May 3, 2024
1f6e129
chore: API sync
jcnelson May 3, 2024
d6f5ce6
chore: get all unit tests to pass
jcnelson May 3, 2024
23e704a
fix: fix tests after recent changes
obycode May 4, 2024
27ef917
test: add tests for block height keywords
obycode May 4, 2024
c339fe0
docs: add changelog entry
obycode May 4, 2024
9f523d6
fix: update tests to handle Clarity 3
obycode May 4, 2024
a51579a
Merge branch 'develop' into feat/stacks-block-height
obycode May 4, 2024
3eeabe9
docs: fix changelog entry
obycode May 4, 2024
4b1895a
fix: update `CHAINSTATE_VERSION`
obycode May 4, 2024
a251637
feat: add `tenure_height` to `nakamoto_block_headers` table
obycode May 4, 2024
6953194
fix: update tests for Clarity 3
obycode May 4, 2024
f8ca7f0
chore: update `supports_epoch`
obycode May 4, 2024
2a63b46
fix: `test_load_store_update_nakamoto_blocks` update
obycode May 4, 2024
4a0a966
fix: autotest restored, epoch gating logic removed from `try_mine_tx_…
fess-v May 5, 2024
3c7be76
Merge remote-tracking branch 'origin/draft/multisig-order-independenc…
fess-v May 5, 2024
61ac533
Merge branch 'develop' into draft/multisig-order-independence
fess-v May 5, 2024
7763df2
fix: set clarity version when building boot contracts' docs
obycode May 6, 2024
de17b4b
Merge pull request #4749 from stacks-network/fix/4735
jcnelson May 6, 2024
1f180d7
feat: add no-op metrics timer when feature disabled
hstove May 6, 2024
8ce2446
Merge branch 'develop' into feat/signer-metrics
hstove May 6, 2024
07c6ac8
chore: add unit test
jcnelson May 6, 2024
f98bcbf
Merge branch 'develop' into fix/4734
jcnelson May 6, 2024
a04c1fa
chore: add unit test
jcnelson May 6, 2024
0161135
Merge branch 'develop' into fix/4721
jcnelson May 6, 2024
632ff51
Merge branch 'develop' into feat/signer-metrics
hstove May 6, 2024
ef36e5c
chore: fix #4752 by requiring /v2/fees/transfer to return the median …
jcnelson May 6, 2024
0a7af3a
Merge branch 'develop' into feat/bitcoin-mev
jcnelson May 6, 2024
fa66891
chore: address PR feedback and add more test coverage
jcnelson May 6, 2024
5338de4
Merge branch 'next' into feat/codeowners
wileyj May 6, 2024
95163e2
fix: more PR feedback -- better, more-complete AtcRational tests and …
jcnelson May 7, 2024
e72ca43
Merge branch 'feat/bitcoin-mev' of https://github.com/stacks-network/…
jcnelson May 7, 2024
dbc91b5
fix: this endpoint returns the fee _rate_, not the absolute fee
jcnelson May 7, 2024
d8ee58e
feat: simplify tenure-height implementation
obycode May 7, 2024
741726e
fix: setup tenure height in test environments
obycode May 7, 2024
2dc5bc3
fix: update tests
obycode May 7, 2024
5908391
fix: avoid divide-by-zero with estimated length min
jcnelson May 7, 2024
738c4c8
Merge pull request #4719 from stacks-network/feat/signer-metrics
hstove May 7, 2024
e59f9f5
Merge branch 'develop' into fix/4721
jcnelson May 7, 2024
6ab2fd2
Merge pull request #4750 from stacks-network/fix/4734
jcnelson May 7, 2024
a29b162
chore: fix comment typo
jcnelson May 7, 2024
48a9d88
Merge branch 'develop' into feat/bitcoin-mev
jcnelson May 7, 2024
6e62458
chore: remove length=
jcnelson May 7, 2024
28ee6dc
Merge pull request #4733 from stacks-network/feat/bitcoin-mev
jcnelson May 7, 2024
329c27c
Merge pull request #4748 from stacks-network/fix/4721
jcnelson May 8, 2024
51ef7d4
chore: add test to see if a connection to a neighbor is pending
jcnelson May 8, 2024
9da1120
chore: don't track dead or broken neighbors (don't disconnect from th…
jcnelson May 8, 2024
d5e0a7f
fix: don't attempt to connect to a neighbor if we're already trying t…
jcnelson May 8, 2024
e81d6e9
chore: verify that we don't try to connect more often than we connect
jcnelson May 8, 2024
fd90705
test: add integration test verifying block height values
obycode May 8, 2024
7a63f89
chore: address simple review comments
obycode May 8, 2024
02e3d89
feat: add analysis error for use of `block-height` in Clarity 3
obycode May 8, 2024
1d7464f
test: check handling of block height keywords across versions
obycode May 8, 2024
d4f40d1
4746 - avoid extra ci runs
wileyj May 8, 2024
01bb956
remove paths-ignore
wileyj May 8, 2024
aef35a1
refactor: move `lookup_by_name_at_version` into the macro
obycode May 8, 2024
aa83223
docs: add rustdocs to `get_(min|max)_version`
obycode May 8, 2024
dd75f78
test: add new integration test to bitcoin-tests.yml
obycode May 8, 2024
008f73b
refactor: move `tenure-height` increment
obycode May 8, 2024
6d5b668
signer-messages
ASuciuX May 8, 2024
464a335
fix: determine that a neighbor is connecting by either its event ID o…
jcnelson May 8, 2024
e036ef0
fix: pub, not pub(crate), to remove warning about visibility
jcnelson May 8, 2024
117c41c
fix: finish resolving issues with previous changes
obycode May 8, 2024
1bff5b7
test: add tests for block height keyword behavior across versions
obycode May 8, 2024
745e074
test: default tenure height for testing
obycode May 9, 2024
00ae1b1
fix: `test_block_heights_across_versions`
obycode May 9, 2024
7a01d75
Merge branch 'develop' into feat/stacks-block-height
obycode May 9, 2024
032c486
chore: check to see if the *network* is connecting to a given neighbo…
jcnelson May 9, 2024
ed4afb6
fix: resolve issues with tenure-height initialization
obycode May 9, 2024
d0de1af
remove extra character from vi typo
wileyj May 9, 2024
74f6303
Minor cleanup, teams have been adjusted upstream
wileyj May 9, 2024
4cee411
fix: when in IBD mode, verify that we're connecting to bootstrap peer…
jcnelson May 9, 2024
eb78eb0
fix: when in IBD, be aggressive about neighbor walks (since inv sync …
jcnelson May 9, 2024
bba307b
fix: when in IBD, don't bother with antientropy or inv re-sync -- the…
jcnelson May 9, 2024
2ae1c2d
fix: typo
jcnelson May 9, 2024
1f989fb
fix: if we're not mining, then set the poll time to be 5s (otherwise …
jcnelson May 9, 2024
1725915
Merge branch 'develop' into fix/4732
jcnelson May 9, 2024
05bf8a8
Merge branch 'develop' into fix/4752
jcnelson May 9, 2024
302af76
refactor: make tenure height key a constant
obycode May 9, 2024
e8e3a2e
Merge pull request #4765 from stacks-network/fix/reduce_ci_runs-develop
wileyj May 9, 2024
1d542ee
Merge branch 'develop' into feat/codeowners
wileyj May 9, 2024
8a2f4f1
Remove dead CLI commands including Sign, DKG, and generate Files comm…
jferrant May 9, 2024
57b3458
Implement this error for MonitoringError and fix clippy warnings
jferrant May 9, 2024
a2e4a1d
cargo fmt
jferrant May 9, 2024
844d5b3
Undo var rename
jferrant May 9, 2024
e79719d
Merge pull request #4773 from stacks-network/chore/fix-clippy-issues
kantai May 10, 2024
4afa9ef
Merge pull request #4772 from stacks-network/chore/remove-dead-cli-co…
jferrant May 10, 2024
0f6b829
Merge branch 'develop' into fix/4732
jcnelson May 10, 2024
75a28ed
WIP: move signer event processing into a trait and create v0 and v1 s…
jferrant May 10, 2024
6e2b54b
Merge branch 'develop' into draft/multisig-order-independence
jcnelson May 10, 2024
75341d9
Merge pull request #4754 from stacks-network/fix/4752
jcnelson May 10, 2024
d7865cf
Merge branch 'develop' into draft/multisig-order-independence
fess-v May 11, 2024
4228566
Disable broken and flakey signer tests in CI
jferrant May 13, 2024
a5f4151
feat: Pass `PeerNetwork` from Neon node to Nakamoto node in order to …
jbencin May 8, 2024
c65fa5c
fix: Skip `PeerNetwork::bind()` if re-using object
jbencin May 9, 2024
16cca4a
Merge pull request #4767 from jbencin/feat/nakamoto-keep-peer-network
jbencin May 13, 2024
b77ba24
WIP: move messages.rs to individual v0 and v1 subdirs
jferrant May 13, 2024
d8475f1
WIP: make libsigner event processing and signer trait generic
jferrant May 13, 2024
764de0b
Add spawned signer struct to v1 mod.rs
jferrant May 13, 2024
88517e4
chore: address PR feedback by adding more regression tests
jcnelson May 13, 2024
a71abf7
Merge branch 'develop' into fix/4732
jcnelson May 13, 2024
382cdfd
Change ecdsa::Signature to MessageSignature
jferrant May 13, 2024
84684ff
feat: update used actions versions
BowTiedDevOps May 14, 2024
4a7fed2
refactor: add stacks-common/src/types/sqlite.rs
hugocaillard May 14, 2024
d271d14
refactor: move rusqlite related code to clarity_src/vm/database/sqlit…
hugocaillard May 14, 2024
11fb999
feat: add a canonical feature in stacks-common and in clarity
hugocaillard May 14, 2024
a2ba82e
fix: stacks-common dependency features
hugocaillard May 14, 2024
ec8771f
fix: add the canonical cargo feature to clarity/testing
hugocaillard May 14, 2024
2cfcb77
fix: remove unused rustqlite imports
hugocaillard May 14, 2024
9021c41
feat: download artifacts with different names with a pattern
BowTiedDevOps May 14, 2024
8d6a3a5
Skip some mutants
jferrant May 14, 2024
b80d71e
Replace custom NakamotoBlockHeaders throughout signer with empty()
jferrant May 14, 2024
2eec4e1
refactor: cargo fmt-stacks
hugocaillard May 14, 2024
7d40753
Remove unused serialization of HashSet in messages.rs
jferrant May 14, 2024
cb5802f
refactor: revert trailing spaces changes
hugocaillard May 14, 2024
eefaeb7
refactor: revert trailing spaces changes
hugocaillard May 14, 2024
5d0dc11
CRC: move traits to lib.rs
jferrant May 14, 2024
6c5f042
Merge branch 'chore/signer-traits' of https://github.com/stacks-netwo…
jferrant May 14, 2024
c9219e5
Do not enable empty MinerMessage event
jferrant May 14, 2024
87fdd50
Merge pull request #4778 from stacks-network/chore/signer-traits
jferrant May 14, 2024
e6021f5
chore: fix compile issues in stacks-node
jcnelson May 14, 2024
0c3631b
CRC: remove use of hardcoded u8s in codec functions
jferrant May 14, 2024
1decf3b
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant May 14, 2024
7af348d
CRC: create a trait to enforce multiple traits for signer event types
jferrant May 14, 2024
65859b7
CRC: fix documentation on define_u8_enum types in messages.rs
jferrant May 14, 2024
2b4b1c1
feat: handle `tenure-height` with `at-block` before epoch 3.0
obycode May 14, 2024
69fa6ef
CRC: fix whitespace
jferrant May 14, 2024
b65fa72
Merge branch 'develop' into fix/4732
jcnelson May 14, 2024
45cf912
Merge pull request #4787 from stacks-network/chore/block-signature-me…
jferrant May 14, 2024
9f7c023
feat: setup rustfmt toolchain in composite actions
BowTiedDevOps May 14, 2024
253304a
Merge branch 'develop' into fix/4732
jcnelson May 15, 2024
3abdc2a
feat: add a next_initiative_delay config
hugocaillard Mar 28, 2024
890f07c
test: check more variable reuse scenarios
obycode May 15, 2024
369d00f
fix: move tenure setting after epoch transition
obycode May 15, 2024
54bbc4c
Merge branch 'develop' into feat/codeowners
jcnelson May 15, 2024
f7d8f7e
Merge pull request #4544 from stacks-network/feat/codeowners
wileyj May 15, 2024
406083a
Merge branch 'develop' into develop
wileyj May 15, 2024
368541f
Merge pull request #4759 from stacks-network/fix/4732
jcnelson May 15, 2024
cd1022f
Merge pull request #4792 from BowTiedDevOps/develop
wileyj May 15, 2024
c94d9e3
test: pass Clarity 2 contract to Clarity 3 contract
obycode May 15, 2024
4fb8bdd
test: validate block height at epoch 3.0 transition
obycode May 15, 2024
9fab39f
update to general signer message for users
ASuciuX May 15, 2024
07adabe
remove extra dependency
ASuciuX May 15, 2024
c712caf
Merge branch 'develop' into feat/signer-message-updates
ASuciuX May 15, 2024
ebe1703
Merge branch 'develop' into feat/sqlite-feature-flag
jcnelson May 15, 2024
4b40a4c
remove extra misleading output signer registration
ASuciuX May 15, 2024
1bbf014
Merge pull request #4797 from ASuciuX/feat/signer-message-updates
ASuciuX May 15, 2024
83d338d
Merge pull request #4745 from stacks-network/feat/stacks-block-height
obycode May 15, 2024
6fcb7d9
docs: add rustdoc to next_initiative_delay
hugocaillard May 16, 2024
35f2401
refactor: add copyright
hugocaillard May 16, 2024
ae18e3c
Merge pull request #4795 from stacks-network/feat/next-initiative-del…
kantai May 16, 2024
2e67fa9
Update stackslib/src/chainstate/stacks/transaction.rs
fess-v May 16, 2024
6766e65
Merge branch 'develop' into draft/multisig-order-independence
jbencin May 16, 2024
9addd7e
fix: validate_transaction_static_epoch function added
fess-v May 16, 2024
578a24f
Merge pull request #3710 from fess-v/draft/multisig-order-independence
obycode May 16, 2024
951c479
refactor: gate bitvec sql methods
hugocaillard May 17, 2024
cf01028
Merge pull request #4791 from stacks-network/feat/sqlite-feature-flag
obycode May 17, 2024
e756c6e
Adding 2.5.0.0.4 to the changelog
wileyj May 20, 2024
0924437
Update build command
wileyj May 20, 2024
5c718ff
Update changelog with what's changing in this version
wileyj May 21, 2024
a88ee2b
Merge pull request #4806 from stacks-network/chore/2.5.0.0.4-changelog
wileyj May 23, 2024
631138f
fix: the number of stacker signer slots is 13 for Nakamoto
jcnelson Jun 3, 2024
c13e521
fix: disable relevant unit tests that assume 14 stacker signer slots
jcnelson Jun 3, 2024
5d9f472
fix: fix stacks-inspect so that the block ranges correspond to height…
jcnelson Jun 3, 2024
246aac0
Merge pull request #4845 from stacks-network/fix/signer-slot-count
wileyj Jun 4, 2024
3906688
Revert "Fix/signer slot count"
wileyj Jun 4, 2024
c848473
Merge pull request #4853 from stacks-network/revert-4845-fix/signer-s…
wileyj Jun 4, 2024
0f8b661
chore: disable stackerdb encrypted state to make dkg and adjacent CI …
jcnelson Jun 4, 2024
0ece14b
Merge branch 'release/2.5.0.0.4' into fix/signer-slot-count
jcnelson Jun 4, 2024
cfffe55
Merge pull request #4868 from stacks-network/fix/signer-slot-count
jcnelson Jun 4, 2024
2d7f8ed
fix: always, always, always filter out stacks blocks on non-canonical…
jcnelson Jun 14, 2024
0d850da
Merge pull request #4893 from stacks-network/fix/miner-ignores-noncan…
kantai Jun 18, 2024
6e64d0d
fix: signer slots count in staging
kantai Jun 18, 2024
e4770f6
test: update tests
kantai Jun 18, 2024
5309358
Merge pull request #4891 from stacks-network/fix/signer-slots-count
kantai Jun 18, 2024
a758941
Add PR's to the changelog for 2.5.0.0.4
wileyj Jun 25, 2024
3ae098e
perf: improvements in clarity analysis
kantai Jun 14, 2024
4669b75
Merge pull request #4908 from stacks-network/perf/clarity-improvements
wileyj Jun 25, 2024
0fbd7ac
Merge branch 'release/2.5.0.0.4' into chore/2.5.0.0.4-changelog
wileyj Jun 25, 2024
b667b65
Address PR comments
wileyj Jun 25, 2024
c47af1b
Merge pull request #4909 from stacks-network/chore/2.5.0.0.4-changelog
wileyj Jun 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/bitcoin-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,17 @@ jobs:
- tests::nakamoto_integrations::correct_burn_outs
- tests::nakamoto_integrations::vote_for_aggregate_key_burn_op
- tests::nakamoto_integrations::follower_bootup
- tests::nakamoto_integrations::forked_tenure_is_ignored
- tests::signer::stackerdb_dkg
- tests::signer::stackerdb_sign
- tests::signer::stackerdb_sign_request_rejected
- tests::signer::stackerdb_block_proposal
- tests::signer::stackerdb_filter_bad_transactions
- tests::signer::stackerdb_mine_2_nakamoto_reward_cycles
- tests::signer::stackerdb_sign_after_signer_reboot
# TODO: enable these once v1 signer is fixed
# - tests::signer::stackerdb_mine_2_nakamoto_reward_cycles
# - tests::signer::stackerdb_sign_after_signer_reboot
- tests::nakamoto_integrations::stack_stx_burn_op_integration_test
- tests::signer::stackerdb_delayed_dkg
- tests::nakamoto_integrations::check_block_heights
# Do not run this one until we figure out why it fails in CI
# - tests::neon_integrations::bitcoin_reorg_flap
# - tests::neon_integrations::bitcoin_reorg_flap_with_follower
Expand Down
94 changes: 33 additions & 61 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@ on:
- reopened
- synchronize
- ready_for_review
paths-ignore:
- "**.md"
- "**.yml"
## might be better to use inclusive v exclusive paths here, ex:
# paths:
# - "**.rs"
# - "**.clar"
pull_request_review:
types:
- submitted

defaults:
run:
Expand All @@ -55,29 +45,9 @@ jobs:
## - PR review comment
## - PR change is requested
rustfmt:
if: |
!(
github.event_name == 'pull_request_review' &&
github.event.action == 'submitted' &&
(
github.event.review.state == 'commented' ||
github.event.review.state == 'changes_requested'
)
)
name: Rust Format
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
id: git_checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Setup Rust Toolchain
id: setup_rust_toolchain
uses: actions-rust-lang/setup-rust-toolchain@f3c84ee10bf5a86e7a5d607d487bf17d57670965 # v1.5.0
with:
components: rustfmt
cache: false

- name: Rustfmt
id: rustfmt
uses: stacks-network/actions/rustfmt@main
Expand All @@ -104,22 +74,9 @@ jobs:
##
## Runs when:
## - tag is not provided
## and the following are not true:
## - PR review submitted (not approved)
## and any of:
## - PR review comment
## - PR change is requested
docker-image:
if: |
inputs.tag == '' &&
!(
github.event_name == 'pull_request_review' &&
github.event.action == 'submitted' &&
(
github.event.review.state == 'commented' ||
github.event.review.state == 'changes_requested'
)
)
inputs.tag == ''
name: Docker Image (Source)
uses: ./.github/workflows/image-build-source.yml
needs:
Expand All @@ -133,19 +90,13 @@ jobs:
## or:
## - no tag provided
## and any of:
## - PR is approved (any approval will trigger)
## - this workflow is called manually
## - PR is opened
## - commit to either (development, master) branch
create-cache:
if: |
inputs.tag != '' || (
inputs.tag == '' && (
(
github.event_name == 'pull_request_review' &&
github.event.action == 'submitted' &&
github.event.review.state == 'approved'
) ||
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' ||
github.event_name == 'merge_group' ||
Expand All @@ -168,16 +119,28 @@ jobs:
##
## Runs when:
## - tag is provided
## either or of the following:
## - tag is not provided
## - PR is approved
## or:
## - no tag provided
## and any of:
## - this workflow is called manually
## - PR is opened
## - PR added to merge queue
## - commit to either (development, next, master) branch
stacks-core-tests:
if: |
inputs.tag != '' || (
inputs.tag == '' || (
github.event_name == 'pull_request_review' &&
github.event.action == 'submitted' &&
github.event.review.state == 'approved'
inputs.tag == '' && (
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'
)
)
)
name: Stacks Core Tests
Expand All @@ -189,10 +152,18 @@ jobs:
bitcoin-tests:
if: |
inputs.tag != '' || (
inputs.tag == '' || (
github.event_name == 'pull_request_review' &&
github.event.action == 'submitted' &&
github.event.review.state == 'approved'
inputs.tag == '' && (
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'
)
)
)
name: Bitcoin Tests
Expand Down Expand Up @@ -228,3 +199,4 @@ jobs:
- rustfmt
- create-cache
uses: ./.github/workflows/slow-tests.yml

4 changes: 2 additions & 2 deletions .github/workflows/clarity-js-sdk-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- name: Checkout latest clarity js sdk
id: git_checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
token: ${{ secrets.GH_TOKEN }}
repository: ${{ env.CLARITY_JS_SDK_REPOSITORY }}
Expand All @@ -46,7 +46,7 @@ jobs:

- name: Create Pull Request
id: create_pr
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5
with:
token: ${{ secrets.GH_TOKEN }}
commit-message: "chore: update clarity-native-bin tag"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
steps:
- name: Checkout the latest code
id: git_checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5

- name: Build docs
id: build_docs
Expand All @@ -46,7 +46,7 @@ jobs:

- name: Checkout latest docs
id: git_checkout_docs
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
token: ${{ secrets.DOCS_GITHUB_TOKEN }}
repository: ${{ env.TARGET_REPOSITORY }}
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Open PR
id: open_pr
if: ${{ steps.push.outputs.open_pr == '1' }}
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{ secrets.DOCS_GITHUB_TOKEN }}
script: |
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,23 @@ jobs:
## Downloads the artifacts built in `create-source-binary.yml`
- name: Download Artifacts
id: download_artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: artifact
pattern: ${{ inputs.tag }}-binary-build-*
path: release
merge-multiple: true

## Generate a checksums file to be added to the release page
- name: Generate Checksums
id: generate_checksum
uses: stacks-network/actions/generate-checksum@main
with:
artifact_download_pattern: "${{ inputs.tag }}-binary-build-*"

## Upload the release archives with the checksums file
- name: Upload Release
id: upload_release
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 #v0.1.15
uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87 #v2.0.5
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/image-build-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
## ex. debian will have this tag: `type=ref,event=tag,enable=${{ matrix.dist == 'debian' }}`
- name: Docker Metadata ( ${{matrix.dist}} )
id: docker_metadata
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 #v5.0.0
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 #v5.5.1
with:
## tag images with current repo name `stacks-core` as well as legacy `stacks-blockchain`
images: |
Expand All @@ -79,7 +79,7 @@ jobs:
## Build docker image for release
- name: Build and Push ( ${{matrix.dist}} )
id: docker_build
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
with:
file: ./.github/actions/dockerfiles/Dockerfile.${{ matrix.dist }}-binary
platforms: ${{ env.docker_platforms }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/image-build-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
## Set docker metatdata
- name: Docker Metadata ( ${{matrix.dist}} )
id: docker_metadata
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 #v5.0.0
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 #v5.5.1
with:
images: |
${{env.docker-org}}/${{ github.event.repository.name }}
Expand All @@ -61,7 +61,7 @@ jobs:
## Build docker image
- name: Build and Push ( ${{matrix.dist}} )
id: docker_build
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
with:
file: ./.github/actions/dockerfiles/Dockerfile.${{matrix.dist}}-source
platforms: ${{ env.docker_platforms }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/stacks-core-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
## checkout the code
- name: Checkout the latest code
id: git_checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5

- name: Run network relay tests
id: nettest
Expand All @@ -145,10 +145,10 @@ jobs:
steps:
- name: Checkout the latest code
id: git_checkout
uses: actions/checkout@v3
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Execute core contract unit tests with clarinet-sdk
id: clarinet_unit_test
uses: actions/setup-node@v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 18.x
cache: "npm"
Expand All @@ -174,7 +174,7 @@ jobs:
steps:
- name: Checkout the latest code
id: git_checkout
uses: actions/checkout@v3
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Execute core contract unit tests in Clarinet
id: clarinet_unit_test_v1
uses: docker://hirosystems/clarinet:1.7.1
Expand Down
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,37 @@ 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).

## [2.5.0.0.4]

### Added

- Adds the solo stacking scenarios to the stateful property-based testing strategy for PoX-4 (#4725)
- Add signer-key to synthetic stack-aggregation-increase event (#4728)
- Implement the assumed total commit with carry-over (ATC-C) strategy for denying opportunistic Bitcoin miners from mining Stacks at a discount (#4733)
- Adding support for stacks-block-height and tenure-height in Clarity 3 (#4745)
- Preserve PeerNetwork struct when transitioning to 3.0 (#4767)
- Implement singer monitor server error (#4773)
- Pull current stacks signer out into v1 implementation and create placeholder v0 mod (#4778)
- Create new block signature message type for v0 signer (#4787)
- Isolate the rusqlite dependency in stacks-common and clarity behind a cargo feature (#4791)
- Add next_initiative_delay config option to control how frequently the miner checks if a new burnchain block has been processed (#4795)
- Various performance improvements and cleanup

### Changed

- Downgraded log messages about transactions from warning to info (#4697)
- Fix race condition between the signer binary and the /v2/pox endpoint (#4738)
- Make node config mock_miner item hot-swappable (#4743)
- Mandates that a burnchain block header be resolved by a BurnchainHeaderReader, which will resolve a block height to at most one burnchain header (#4748)
- Optional config option to resolve DNS of bootstrap nodes (#4749)
- Limit inventory syncs with new peers (#4750)
- Update /v2/fees/transfer to report the median transaction fee estimate for a STX-transfer of 180 bytes (#4754)
- Reduce connection spamming in stackerdb (#4759)
- Remove deprecated signer cli commands (#4772)
- Extra pair of signer slots got introduced at the epoch 2.5 boundary (#4845, #4868, #4891)
- Never consider Stacks chain tips that are not on the canonical burn chain #4886 (#4893)


## [2.5.0.0.3]

This release fixes a regression in `2.5.0.0.0` from `2.4.0.1.0` caused by git merge
Expand Down
20 changes: 20 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# @stacks-network/blockchain-team-codeowners will be requested for
# review when someone opens a pull request.
* @stacks-network/blockchain-team-codeowners

# Generic file extensions that shouldn't require much scrutiny. Anyone with write access to the repo may approve a PR
*.md @stacks-network/blockchain-team
*.yml @stacks-network/blockchain-team
*.yaml @stacks-network/blockchain-team
*.txt @stacks-network/blockchain-team
*.toml @stacks-network/blockchain-team

# Signer code
libsigner/**/*.rs @stacks-network/blockchain-team-signer
stacks-signer/**/*.rs @stacks-network/blockchain-team-signer

# CI workflows
./github/workflows/ @stacks-network/blockchain-team-ci
./github/actions/ @stacks-network/blockchain-team-ci
Loading