Skip to content

Commit 7d8b675

Browse files
authored
Merge pull request #6179 from stacks-network/release/3.1.0.0.12
Merge release/3.1.0.0.12 to master
2 parents 7fee690 + ae969ca commit 7d8b675

Some content is hidden

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

45 files changed

+3386
-1127
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ on:
1919
- opened
2020
- reopened
2121
- synchronize
22-
- ready_for_review
2322

2423
defaults:
2524
run:

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

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@ name: Core build tests
44
# - PRs are (re)opened against develop branch
55
on:
66
workflow_call:
7-
7+
88
jobs:
99
check-consts:
1010
name: Check the constants from stacks-inspect
1111
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
shell: bash
15+
1216
steps:
1317
- name: Checkout the latest code
1418
id: git_checkout
@@ -21,13 +25,35 @@ jobs:
2125
uses: actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 # v1.10.1
2226
with:
2327
toolchain: ${{ env.RUST_TOOLCHAIN }}
24-
- name: Build the binaries
25-
id: build
28+
29+
## run cargo check steps
30+
- name: Cargo Check
31+
id: cargo_check
32+
run: |
33+
cargo check
34+
35+
- name: Cargo Check (monitoring_prom)
36+
id: cargo_check_prom
37+
run: |
38+
cargo check --features monitoring_prom
39+
40+
- name: Cargo Check (clarity)
41+
id: cargo_check_clarity
2642
run: |
27-
cargo build
43+
cargo check -p clarity --no-default-features
44+
45+
- name: Cargo Check (stacks-common)
46+
id: cargo_check_stacks-common
47+
run: |
48+
cargo check -p stacks-common --no-default-features
49+
2850
- name: Dump constants JSON
2951
id: consts-dump
30-
run: cargo run --bin stacks-inspect -- dump-consts | tee out.json
31-
- name: Set expected constants JSON
52+
run: |
53+
cargo run --bin stacks-inspect -- dump-consts | tee out.json
54+
55+
## output any diff to the github job summary
56+
- name: Compare expected constants JSON
3257
id: expects-json
33-
run: diff out.json ./sample/expected_consts.json
58+
run: |
59+
diff out.json ./sample/expected_consts.json >> $GITHUB_STEP_SUMMARY

.github/workflows/lock-threads.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
id: lock_threads
3030
uses: stacks-network/actions/lock-threads@main
3131
with:
32-
github-token: ${{ secrets.GH_TOKEN }}
32+
github-token: ${{ secrets.GITHUB_TOKEN }}
3333
issue-inactive-days: 7
3434
pr-inactive-days: 7
3535
discussion-inactive-days: 7

.github/workflows/workflow-cleanup.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,19 @@ on:
1212
workflow-ttl:
1313
description: "How many days to keep a successful workflow (default: 30)"
1414
required: false
15-
default: "30"
15+
default: "60"
1616
failed-workflow-ttl:
1717
description: "How many days to keep failed workflows (default: 15)"
1818
required: false
19-
default: "15"
19+
default: "60"
2020
schedule:
2121
## Run every day at 00:00:00
2222
- cron: "0 0 * * *"
2323

24+
permissions:
25+
actions: write # to delete workflow runs and caches
26+
contents: read # to access repo contents
27+
2428
## env vars are transferred to composite action steps
2529
env:
2630
CACHE_TTL: 7 ## number of days to keep a cache
@@ -41,7 +45,7 @@ jobs:
4145
id: cleanup
4246
uses: stacks-network/actions/cleanup/workflows@main
4347
with:
44-
token: ${{ secrets.GH_TOKEN }}
48+
token: ${{ secrets.GITHUB_TOKEN }}
4549
cache-ttl: ${{ inputs.cache-ttl || env.CACHE_TTL}}
4650
workflow-ttl: ${{ inputs.workflow-ttl || env.WORKFLOW_TTL}}
4751
failed-workflow-ttl: ${{ inputs.failed-workflow-ttl || env.FAILED_WORKFLOW_TTL }}

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,27 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to the versioning scheme outlined in the [README.md](README.md).
77

8+
## [3.1.0.0.12]
9+
10+
### Added
11+
12+
- Document missing config structs
13+
- Document MinerConfig parameters
14+
- Document BurnchainConfig parameters
15+
- Document NodeConfig parameters
16+
17+
### Changed
18+
19+
- `get_fresh_random_neighbors` to include allowed neigbors
20+
- Logging improvements and cleanup
21+
- Move serde serializers to stacks_common
22+
- Depend on clarity backing store interface
23+
- Updated `./docs/event-dispacher.md`
24+
25+
### Fixed
26+
27+
- Handle Bitcoin reorgs during Stacks tenure extend
28+
829
## [3.1.0.0.11]
930

1031
- Hotfix for p2p stack misbehavior in mempool syncing conditions

0 commit comments

Comments
 (0)