Skip to content

Commit 690ef44

Browse files
committed
code changes due to merge conflicts
1 parent 1486b57 commit 690ef44

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

clarity/src/vm/tests/assets.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717
use stacks_common::types::StacksEpochId;
1818

1919
use crate::vm::analysis::analysis_db;
20-
use crate::vm::ast::ASTRules;
21-
use crate::vm::contexts::{AssetMap, AssetMapEntry, OwnedEnvironment};
20+
use crate::vm::contexts::{AssetMap, OwnedEnvironment};
2221
use crate::vm::database::MemoryBackingStore;
23-
use crate::vm::errors::{CheckErrors, Error, RuntimeErrorType};
22+
use crate::vm::errors::Error;
2423
use crate::vm::events::StacksTransactionEvent;
2524
use crate::vm::representations::SymbolicExpression;
2625
use crate::vm::tests::{test_clarity_versions, test_epochs};

stacks-node/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ tikv-jemallocator = {workspace = true}
4242

4343
[dev-dependencies]
4444
warp = "0.3.5"
45-
tokio = "1.15"
45+
tokio = { version = "1.15", features = ["rt-multi-thread"] }
4646
reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "rustls", "rustls-tls"] }
4747
clarity = { path = "../clarity", features = ["default", "testing"]}
4848
stacks-common = { path = "../stacks-common", features = ["default", "testing"] }
@@ -76,6 +76,7 @@ prod-genesis-chainstate = []
7676
default = []
7777
testing = ["stacks-common/testing", "stacks/testing", "clarity/testing"]
7878
build-signer-v3-1-0-0-13 = ["signer_v3_1_0_0_13", "libsigner_v3_1_0_0_13", "stacks_v3_1_00_13", "stacks_common_v3_1_00_13"]
79+
wasm = ["stacks-common/wasm"]
7980

8081
[package.metadata.pinny]
8182
allowed = ["bitcoind", "flaky", "slow"]

stackslib/src/chainstate/stacks/boot/contract_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1784,7 +1784,7 @@ fn test_deploy_smart_contract(
17841784
&analysis,
17851785
content,
17861786
None,
1787-
|_, _| false,
1787+
|_, _| None,
17881788
None,
17891789
)?;
17901790
tx.save_analysis(contract_id, &analysis)?;

stackslib/src/clarity_vm/tests/contracts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ fn test_get_block_info_eval_v210() {
230230
.analyze_smart_contract(&contract_identifier, clarity_version, contract, ASTRules::PrecheckSize)
231231
.unwrap();
232232
clarity_db
233-
.initialize_smart_contract(&contract_identifier, clarity_version, &mut ast, &analysis, contract, None, |_, _| false, None)
233+
.initialize_smart_contract(&contract_identifier, clarity_version, &mut ast, &analysis, contract, None, |_, _| None, None)
234234
.unwrap();
235235
});
236236
let mut tx = conn.start_transaction_processing();

stackslib/src/clarity_vm/tests/costs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ use clarity::vm::costs::{
2323
compute_cost, ClarityCostFunctionEvaluator, ClarityCostFunctionReference, CostErrors,
2424
DefaultVersion, ExecutionCost, LimitedCostTracker, COSTS_1_NAME, COSTS_2_NAME, COSTS_3_NAME,
2525
};
26+
use clarity::vm::database::MemoryBackingStore;
2627
use clarity::vm::errors::Error;
2728
use clarity::vm::events::StacksTransactionEvent;
2829
use clarity::vm::functions::NativeFunctions;

stackslib/src/clarity_vm/tests/large_contract.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ fn test_simple_token_system(#[case] version: ClarityVersion, #[case] epoch: Stac
166166
| StacksEpochId::Epoch30
167167
| StacksEpochId::Epoch31
168168
| StacksEpochId::Epoch32 => {
169-
let (ast, _analysis) = tx
169+
let (mut ast, analysis) = tx
170170
.analyze_smart_contract(
171171
&boot_code_id("costs-3", false),
172172
ClarityVersion::Clarity2,

0 commit comments

Comments
 (0)