Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
bd3bcd6
WIP: just see if this breaks replay blocks
jferrant Sep 11, 2025
a850134
Cargo fmt
jferrant Sep 11, 2025
1e4c9f4
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Sep 11, 2025
8564759
Cargo fmt
jferrant Sep 11, 2025
05d2e0a
Fix some unit tests
jferrant Sep 11, 2025
2e864f5
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Sep 12, 2025
3f23477
Fix inversion of what block to process
jferrant Sep 12, 2025
d5cb49a
Cleanup
jferrant Sep 12, 2025
b173d99
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Sep 12, 2025
62287cc
Drop ast_rule_heights from sortdb and fix bug in get_schema_version
jferrant Sep 15, 2025
85695ff
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Sep 16, 2025
fe6de8b
Drop test_problematic_blocks_are_not_relayed_or_stored and expand tes…
jferrant Sep 16, 2025
a6428c4
Add ExpressionStackDepthTooDeep and VaryExpressionStackDepthTooDeep t…
jferrant Sep 16, 2025
c3b6852
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Sep 16, 2025
7ea4e06
Fix bad merge
jferrant Sep 16, 2025
40802bb
added block simulate endpoint
rdeioris Sep 17, 2025
71c78d6
added tests
rdeioris Sep 17, 2025
863bafa
added blocksimulate tests
rdeioris Sep 18, 2025
839aaaf
fixed api
rdeioris Sep 18, 2025
c87a608
chore: remove mutation testing script from contrib folder, #6275
fdefelici Sep 18, 2025
dfb0700
chore: remove mutation testing doc from docs folder, #6275
fdefelici Sep 18, 2025
b13a585
chore: update ci-workflow doc removing mutation testing topic, #6275
fdefelici Sep 18, 2025
d0faa86
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Sep 18, 2025
89f09eb
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Sep 18, 2025
edb68ea
CRC: remove unnecessary table_exists and update inline formatting
jferrant Sep 18, 2025
f83a261
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Sep 18, 2025
cff34c2
Fix bad merge
jferrant Sep 19, 2025
7ad4042
Merge branch 'develop' into chore/remove-contrib-mutation-testing
fdefelici Sep 19, 2025
14d4a31
added authentication
rdeioris Sep 19, 2025
6044cda
added block-simulate.example.json
rdeioris Sep 19, 2025
6f3fd58
updated CHANGELOG
rdeioris Sep 19, 2025
a49ba21
move stacks-inspect to contrib
Jiloc Sep 19, 2025
9bcf5cf
added schema prototype for block-simulate
rdeioris Sep 19, 2025
449f25b
added height to block simulation output
rdeioris Sep 19, 2025
20bb1df
updated block-simulate schema docs
rdeioris Sep 19, 2025
55b0454
more docs for block-simulate
rdeioris Sep 19, 2025
1d3cca1
blockstack_lib -> stackslib
Jiloc Sep 19, 2025
bacd4e6
fix clippy
Jiloc Sep 19, 2025
73ff46c
Merge pull request #6482 from jferrant/chore/remove-ast-rules-typical
jferrant Sep 19, 2025
25f8617
Merge pull request #6519 from Jiloc/chore/move-stacks-inspect-to-contrib
Jiloc Sep 20, 2025
88058ef
Merge pull request #6512 from fdefelici/chore/remove-contrib-mutation…
fdefelici Sep 22, 2025
5177466
Add --clarity_version to clarity-cli and pass it into analysis functions
moodmosaic Sep 2, 2025
d45435a
Revert "Add --clarity_version to clarity-cli and pass it into analysi…
moodmosaic Sep 4, 2025
f205ccc
Apply patch by @jcnelson via https://github.com/stacks-network/stacks…
moodmosaic Sep 5, 2025
efb8225
Use CLI arg or default instead of hardcoded Clarity3
moodmosaic Sep 5, 2025
0dc24b3
Run `cargo fmt-stacks`
moodmosaic Sep 11, 2025
e9ba8d0
Verify `--clarity_version` flag takes effect for `clarity-cli check`
moodmosaic Sep 11, 2025
15b1ef5
Verify `--clarity_version` flag takes effect for `clarity-cli launch`
moodmosaic Sep 11, 2025
34fad55
Verify `--clarity_version` flag takes effect for `clarity-cli eval`
moodmosaic Sep 11, 2025
9dac73c
Fix `test_eval_clarity3_contract_fails_with_clarity2_flag`
BowTiedRadone Sep 19, 2025
b9b8197
Merge branch 'develop' into feat/block_simulate_ephemeral_marf
rdeioris Sep 22, 2025
7fcdac9
merge with develop fixes
rdeioris Sep 22, 2025
abf0edc
move blockstack-cli to contrib
Jiloc Sep 22, 2025
cc6846c
rename blockstack-cli -> stacks-cli
Jiloc Sep 22, 2025
df63978
add decode example in readme
Jiloc Sep 22, 2025
0b1d244
fix clippy
Jiloc Sep 22, 2025
7832607
Merge pull request #6434 from moodmosaic/feat/cli-clarity-version-flag
wileyj Sep 22, 2025
5934517
Merge pull request #6520 from Jiloc/chore/move-blockstack-cli-to-contrib
Jiloc Sep 23, 2025
a72c864
refactored block_replay
rdeioris Sep 23, 2025
61aa819
got rid of unwrap()
rdeioris Sep 23, 2025
48327bb
better error management from unreplayable transactions
rdeioris Sep 23, 2025
c5a70d5
got rid of unwrap
rdeioris Sep 23, 2025
e3994aa
renamed simulate to replay
rdeioris Sep 23, 2025
52f287a
added field docs
rdeioris Sep 24, 2025
7d998b1
added from_receipt
rdeioris Sep 24, 2025
3e09e5a
added RPCReplayedBlock::from_block
rdeioris Sep 24, 2025
d2a6026
fixed error message
rdeioris Sep 24, 2025
848e429
move stackslib::cli to stacks-inspect
Jiloc Sep 24, 2025
ed0a085
added block-replay schemas
rdeioris Sep 24, 2025
3022273
remove stacks-events
Jiloc Sep 24, 2025
3a009b6
fixed block_id parameter parsing
rdeioris Sep 24, 2025
0e9fb5b
Merge pull request #6511 from rdeioris/feat/block_simulate_ephemeral_…
rdeioris Sep 25, 2025
2c4af0a
Merge pull request #6533 from Jiloc/chore/remove-stacks-events
Jiloc Sep 25, 2025
895537e
Merge pull request #6532 from Jiloc/chore/move-stackslib-cli-to-stack…
Jiloc Sep 25, 2025
ca091f2
Merge branch 'aac-client-breaking' of https://github.com/stacks-netwo…
jferrant Sep 25, 2025
f1e1291
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jferrant Sep 25, 2025
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE
- Add `stackerdb_timeout_secs` to miner config for limiting duration of StackerDB HTTP requests.
- When determining a global transaction replay set, the state evaluator now uses a longest-common-prefix algorithm to find a replay set in the case where a single replay set has less than 70% of signer weight.
- New endpoints /v3/tenures/blocks/, /v3/tenures/blocks/hash, /v3/tenures/blocks/height allowing retrieving the list of stacks blocks from a burn block
- New authenticated endpoint /v3/block/replay to replay the execution of any Nakamoto block in the chain (useful for validation, simulation, getting events...)
- Creates epoch 3.3 and costs-4 in preparation for a hardfork to activate Clarity 4
- Adds support for new Clarity 4 builtins (not activated until epoch 3.3):
- `contract-hash?`
Expand Down
29 changes: 28 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ members = [
"libsigner",
"stacks-signer",
"stacks-node",
"contrib/stacks-inspect",
"contrib/stacks-cli"
]

exclude = ["contrib/tools/config-docs-generator"]
Expand Down
7 changes: 6 additions & 1 deletion clarity-types/src/errors/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,12 @@ impl ParseError {
}

pub fn rejectable(&self) -> bool {
matches!(*self.err, ParseErrorKind::InterpreterFailure)
matches!(
*self.err,
ParseErrorKind::InterpreterFailure
| ParseErrorKind::ExpressionStackDepthTooDeep
| ParseErrorKind::VaryExpressionStackDepthTooDeep
)
}

pub fn has_pre_expression(&self) -> bool {
Expand Down
15 changes: 4 additions & 11 deletions clarity/src/vm/analysis/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ use self::type_checker::v2_05::TypeChecker as TypeChecker2_05;
use self::type_checker::v2_1::TypeChecker as TypeChecker2_1;
pub use self::types::{AnalysisPass, ContractAnalysis};
#[cfg(feature = "rusqlite")]
use crate::vm::ast::{build_ast_with_rules, ASTRules};
use crate::vm::ast::build_ast;
use crate::vm::costs::LimitedCostTracker;
#[cfg(feature = "rusqlite")]
use crate::vm::database::MemoryBackingStore;
Expand All @@ -54,16 +54,9 @@ pub fn mem_type_check(
epoch: StacksEpochId,
) -> Result<(Option<TypeSignature>, ContractAnalysis), StaticCheckError> {
let contract_identifier = QualifiedContractIdentifier::transient();
let contract = build_ast_with_rules(
&contract_identifier,
snippet,
&mut (),
version,
epoch,
ASTRules::PrecheckSize,
)
.map_err(|_| CheckErrorKind::Expects("Failed to build AST".into()))?
.expressions;
let contract = build_ast(&contract_identifier, snippet, &mut (), version, epoch)
.map_err(|_| CheckErrorKind::Expects("Failed to build AST".into()))?
.expressions;

let mut marf = MemoryBackingStore::new();
let mut analysis_db = marf.as_analysis_db();
Expand Down
Loading
Loading