Skip to content

Commit 91c18cb

Browse files
authored
Merge pull request #6012 from stacks-network/release/3.1.0.0.8
Merge release/3.1.0.0.8 to master
2 parents 58b8231 + d53e5f5 commit 91c18cb

File tree

193 files changed

+15395
-10215
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+15395
-10215
lines changed

.cargo/config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ clippy-stacks = "clippy -p libstackerdb -p stacks-signer -p pox-locking -p clari
1212
#[target.x86_64-unknown-linux-gnu]
1313
#linker = "/usr/bin/clang"
1414
#rustflags = ["-Clink-arg=-fuse-ld=lld", "-Clink-arg=-Wl,--no-rosegment"]
15-

.dockerignore

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
11
Dockerfile*
22
target
3-
integration_tests/blockstack-consensus-data/
4-
integration_tests/test-out/
5-
api/data
6-
.git
7-
.venv
83
.dockerignore
9-
testnet/index.html
10-
testnet.log
11-
testnet-logs*
12-
legacy
13-
build-scripts
14-
dist

.gitattributes

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
legacy/* linguist-vendored
2-
* text=lf
2+
# Enforcing 'lf' eol mainly for:
3+
# - 'stx-genesis' package, where txt files need hash computation and comparison
4+
# - 'clarity' package, where clarity language is sensitive to line endings for .clar files
5+
# anyhow, setting eol for all text files to have a homogeneous management over the whole code base
6+
* text eol=lf

.github/actions/dockerfiles/Dockerfile.debian-source

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/bitcoin-tests.yml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -70,30 +70,13 @@ jobs:
7070
- test-name: tests::neon_integrations::lockup_integration
7171
- test-name: tests::neon_integrations::most_recent_utxo_integration_test
7272
- test-name: tests::neon_integrations::run_with_custom_wallet
73-
- test-name: tests::neon_integrations::test_competing_miners_build_anchor_blocks_and_microblocks_on_same_chain
7473
- test-name: tests::neon_integrations::test_competing_miners_build_anchor_blocks_on_same_chain_without_rbf
7574
- test-name: tests::neon_integrations::test_one_miner_build_anchor_blocks_on_same_chain_without_rbf
7675
- test-name: tests::signer::v0::tenure_extend_after_2_bad_commits
7776
- test-name: tests::stackerdb::test_stackerdb_event_observer
7877
- test-name: tests::stackerdb::test_stackerdb_load_store
79-
# Microblock tests that are no longer needed on every CI run
80-
# (microblocks are unsupported starting in Epoch 2.5)
81-
- test-name: tests::neon_integrations::bad_microblock_pubkey
82-
- test-name: tests::neon_integrations::microblock_fork_poison_integration_test
83-
- test-name: tests::neon_integrations::microblock_integration_test
84-
- test-name: tests::neon_integrations::microblock_large_tx_integration_test_FLAKY
85-
- test-name: tests::neon_integrations::microblock_limit_hit_integration_test
86-
- test-name: tests::neon_integrations::microblock_miner_multiple_attempts
87-
- test-name: tests::neon_integrations::test_problematic_microblocks_are_not_mined
88-
- test-name: tests::neon_integrations::test_problematic_microblocks_are_not_relayed_or_stored
89-
- test-name: tests::neon_integrations::runtime_overflow_unconfirmed_microblocks_integration_test
90-
- test-name: tests::neon_integrations::size_overflow_unconfirmed_invalid_stream_microblocks_integration_test
91-
- test-name: tests::neon_integrations::size_overflow_unconfirmed_microblocks_integration_test
92-
- test-name: tests::neon_integrations::size_overflow_unconfirmed_stream_microblocks_integration_test
93-
- test-name: tests::epoch_25::microblocks_disabled
9478
# Epoch tests are covered by the epoch-tests CI workflow, and don't need to run
9579
# on every PR (for older epochs)
96-
- test-name: tests::epoch_205::bigger_microblock_streams_in_2_05
9780
- test-name: tests::epoch_205::test_cost_limit_switch_version205
9881
- test-name: tests::epoch_205::test_dynamic_db_method_costs
9982
- test-name: tests::epoch_205::test_exact_block_costs
@@ -123,6 +106,13 @@ jobs:
123106
- test-name: tests::epoch_24::verify_auto_unlock_behavior
124107
# Disable this flaky test. We don't need continue testing Epoch 2 -> 3 transition
125108
- test-name: tests::nakamoto_integrations::flash_blocks_on_epoch_3_FLAKY
109+
# These mempool tests take a long time to run, and are meant to be run manually
110+
- test-name: tests::nakamoto_integrations::large_mempool_original_constant_fee
111+
- test-name: tests::nakamoto_integrations::large_mempool_original_random_fee
112+
- test-name: tests::nakamoto_integrations::large_mempool_next_constant_fee
113+
- test-name: tests::nakamoto_integrations::large_mempool_next_random_fee
114+
- test-name: tests::nakamoto_integrations::larger_mempool
115+
- test-name: tests::signer::v0::larger_mempool
126116

127117
steps:
128118
## Setup test environment

.github/workflows/ci.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ jobs:
9494
needs:
9595
- rustfmt
9696
- check-release
97+
secrets: inherit
9798
uses: ./.github/workflows/github-release.yml
9899
with:
99100
node_tag: ${{ needs.check-release.outputs.node_tag }}
@@ -102,22 +103,6 @@ jobs:
102103
signer_docker_tag: ${{ needs.check-release.outputs.signer_docker_tag }}
103104
is_node_release: ${{ needs.check-release.outputs.is_node_release }}
104105
is_signer_release: ${{ needs.check-release.outputs.is_signer_release }}
105-
secrets: inherit
106-
107-
## Build and push Debian image built from source
108-
##
109-
## Runs when:
110-
## - it is not a node or signer-only release run
111-
docker-image:
112-
if: |
113-
needs.check-release.outputs.is_node_release != 'true' ||
114-
needs.check-release.outputs.is_signer_release != 'true'
115-
name: Docker Image (Source)
116-
uses: ./.github/workflows/image-build-source.yml
117-
needs:
118-
- rustfmt
119-
- check-release
120-
secrets: inherit
121106

122107
## Create a reusable cache for tests
123108
##

.github/workflows/clarity-js-sdk-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
steps:
2929
- name: Checkout latest clarity js sdk
3030
id: git_checkout
31-
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
31+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3232
with:
3333
token: ${{ secrets.GH_TOKEN }}
3434
repository: ${{ env.CLARITY_JS_SDK_REPOSITORY }}
@@ -46,7 +46,7 @@ jobs:
4646

4747
- name: Create Pull Request
4848
id: create_pr
49-
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5
49+
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
5050
with:
5151
token: ${{ secrets.GH_TOKEN }}
5252
commit-message: "chore: update clarity-native-bin tag"

.github/workflows/clippy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ name: Clippy Checks
77
# Only run when:
88
# - PRs are (re)opened against develop branch
99
on:
10+
merge_group:
11+
types:
12+
- checks_requested
1013
pull_request:
1114
branches:
1215
- develop
@@ -22,16 +25,16 @@ jobs:
2225
steps:
2326
- name: Checkout the latest code
2427
id: git_checkout
25-
uses: actions/checkout@v3
28+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2629
- name: Define Rust Toolchain
2730
id: define_rust_toolchain
2831
run: echo "RUST_TOOLCHAIN=$(cat ./rust-toolchain)" >> $GITHUB_ENV
2932
- name: Setup Rust Toolchain
3033
id: setup_rust_toolchain
31-
uses: actions-rust-lang/setup-rust-toolchain@v1
34+
uses: actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 # v1.10.1
3235
with:
3336
toolchain: ${{ env.RUST_TOOLCHAIN }}
3437
components: clippy
3538
- name: Clippy
3639
id: clippy
37-
run: cargo clippy-stacks
40+
run: cargo clippy-stacks

.github/workflows/core-build-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ jobs:
1212
steps:
1313
- name: Checkout the latest code
1414
id: git_checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616
- name: Define Rust Toolchain
1717
id: define_rust_toolchain
1818
run: echo "RUST_TOOLCHAIN=$(cat ./rust-toolchain)" >> $GITHUB_ENV
1919
- name: Setup Rust Toolchain
2020
id: setup_rust_toolchain
21-
uses: actions-rust-lang/setup-rust-toolchain@v1
21+
uses: actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 # v1.10.1
2222
with:
2323
toolchain: ${{ env.RUST_TOOLCHAIN }}
2424
- name: Build the binaries
2525
id: build
2626
run: |
27-
cargo build
27+
cargo build --bin stacks-inspect
2828
- name: Dump constants JSON
2929
id: consts-dump
3030
run: cargo run --bin stacks-inspect -- dump-consts | tee out.json

.github/workflows/epoch-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
max-parallel: 32
3030
matrix:
3131
test-name:
32-
- tests::epoch_205::bigger_microblock_streams_in_2_05
3332
- tests::epoch_205::test_cost_limit_switch_version205
3433
- tests::epoch_205::test_dynamic_db_method_costs
3534
- tests::epoch_205::test_exact_block_costs

0 commit comments

Comments
 (0)