-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: advance burn and stacks chain tips independently (#1506)
* block height changes * use get_block_height to mean stacks specifically * separate chaintip advancing * change chaintip back to u32 and no burn increment on stacks advance * fix tests with burn changes * add back mineEmptyBlock(s) * fix up some double advance bugs * error on advance_stacks if epoch < 3 * handle advance_stacks errors in tests * add more rust tests and stub out simnet 3 tests * mine_empty_stacks* should return Result * clean up fixtures * add session command testing * remove redundant evaluate_at_block epoch 3 test * change error message for advance_stacks_chaintip * add generic interpreter chain_tip advance which acts differently in epoch pre-3 vs 3 * chaintip -> chain_tip * add back the advance_chain_tip help --------- Co-authored-by: brady.ouren <bouren@hiro.sh>
- Loading branch information
Showing
7 changed files
with
317 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
components/clarinet-sdk/node/tests/fixtures/Clarinet3.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[project] | ||
name = 'fixtures' | ||
description = 'sample project to test clarinet-sdk wasm' | ||
telemetry = false | ||
cache_dir = './.cache' | ||
requirements = [] | ||
|
||
[contracts.multiplier-trait] | ||
path = 'contracts/multiplier-trait.clar' | ||
clarity_version = 3 | ||
epoch = 3.0 | ||
|
||
[contracts.multiplier-contract] | ||
path = 'contracts/multiplier-contract.clar' | ||
clarity_version = 3 | ||
epoch = 3.0 | ||
|
||
[contracts.counter] | ||
path = 'contracts/counter.clar' | ||
clarity_version = 3 | ||
epoch = 3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.