Skip to content

Commit 8d67ce1

Browse files
committed
Merge branch 'develop' into feat/clarity-depend-on-clarity-serialization
2 parents 0651703 + 30cd5e4 commit 8d67ce1

Some content is hidden

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

82 files changed

+4597
-12385
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
stacks-node = "run --package stacks-node --"
33
fmt-stacks = "fmt -- --config group_imports=StdExternalCrate,imports_granularity=Module"
44
clippy-stacks = "clippy -p stx-genesis -p libstackerdb -p stacks-signer -p pox-locking -p clarity-serialization -p clarity -p libsigner -p stacks-common --no-deps --tests --all-features -- -D warnings"
5-
clippy-stackslib = "clippy -p stackslib --no-deps -- -Aclippy::all -Wclippy::indexing_slicing"
5+
clippy-stackslib = "clippy -p stackslib --no-deps -- -Aclippy::all -Wclippy::indexing_slicing -Wclippy::nonminimal_bool"
66

77
# Uncomment to improve performance slightly, at the cost of portability
88
# * Note that native binaries may not run on CPUs that are different from the build machine

.github/workflows/bitcoin-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@ jobs:
8080
- test-name: tests::epoch_205::test_dynamic_db_method_costs
8181
- test-name: tests::epoch_205::test_exact_block_costs
8282
- test-name: tests::epoch_205::transition_empty_blocks
83-
- test-name: tests::epoch_21::test_pox_missing_five_anchor_blocks
84-
- test-name: tests::epoch_21::test_pox_reorg_flap_duel
85-
- test-name: tests::epoch_21::test_pox_reorg_flap_reward_cycles
86-
- test-name: tests::epoch_21::test_pox_reorg_one_flap
87-
- test-name: tests::epoch_21::test_pox_reorgs_three_flaps
8883
- test-name: tests::epoch_21::test_sortition_divergence_pre_21
8984
- test-name: tests::epoch_21::test_v1_unlock_height_with_current_stackers
9085
- test-name: tests::epoch_21::test_v1_unlock_height_with_delay_and_current_stackers
@@ -99,7 +94,6 @@ jobs:
9994
- test-name: tests::epoch_21::transition_removes_pox_sunset
10095
- test-name: tests::epoch_22::disable_pox
10196
- test-name: tests::epoch_22::pox_2_unlock_all
102-
- test-name: tests::epoch_22::test_pox_reorg_one_flap
10397
- test-name: tests::epoch_23::trait_invocation_behavior
10498
- test-name: tests::epoch_24::fix_to_pox_contract
10599
- test-name: tests::epoch_24::verify_auto_unlock_behavior

.github/workflows/cargo-hack-check.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,16 @@ jobs:
124124
toolchain: nightly
125125
cache: false
126126

127-
- name: Check fuzz targets
127+
- name: Check fuzz targets (clarity)
128128
run: |
129129
cargo +nightly check \
130130
--manifest-path clarity/fuzz/Cargo.toml \
131131
--bins \
132132
--locked
133+
134+
- name: Check fuzz targets (stackslib)
135+
run: |
136+
cargo +nightly check \
137+
--manifest-path stackslib/fuzz/Cargo.toml \
138+
--bins \
139+
--locked

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE
1616

1717
- Clarity errors pertaining to syntax binding errors have been made more
1818
expressive (#6337)
19-
19+
- Removed affirmation maps logic throughout, upgrading chainstate DB schema to 11 and burnchain DB schema to 3 (#6314)
2020

2121
## [3.2.0.0.1]
2222

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clarity/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ rusqlite = { workspace = true, optional = true }
3535
assert-json-diff = "1.0.0"
3636
clarity-serialization = { package = "clarity-serialization", path = "../clarity-serialization", default-features = false, features = ["testing"] }
3737
mutants = "0.0.3"
38+
proptest = { version = "1.6.0", default-features = false, features = ["std"] }
3839
rstest = { version = "0.17.0" }
3940
rstest_reuse = { version = "0.5.0" }
4041

clarity/fuzz/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,10 @@ name = "fuzz_value_sanitize"
3737
path = "fuzz_targets/fuzz_value_sanitize.rs"
3838
test = false
3939
doc = false
40+
41+
[[bin]]
42+
name = "execute_v2_raw"
43+
path = "fuzz_targets/execute_v2_raw.rs"
44+
test = false
45+
doc = false
46+
bench = false
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// Copyright (C) 2025 Stacks Open Internet Foundation
2+
//
3+
// This program is free software: you can redistribute it and/or modify
4+
// it under the terms of the GNU General Public License as published by
5+
// the Free Software Foundation, either version 3 of the License, or
6+
// (at your option) any later version.
7+
//
8+
// This program is distributed in the hope that it will be useful,
9+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
// GNU General Public License for more details.
12+
//
13+
// You should have received a copy of the GNU General Public License
14+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
16+
#![no_main]
17+
18+
use libfuzzer_sys::fuzz_target;
19+
20+
fuzz_target!(|s: &str| {
21+
let _ = clarity::vm::execute_v2(s);
22+
});

clarity/src/vm/tests/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ mod contracts;
2929
mod datamaps;
3030
mod defines;
3131
mod principals;
32+
#[cfg(test)]
33+
mod representations;
3234
mod sequences;
3335
#[cfg(test)]
3436
mod simple_apply_eval;

0 commit comments

Comments
 (0)