Skip to content

Commit 9110eb1

Browse files
committed
chore: depend on clarity backing store interface
1 parent 505cdfb commit 9110eb1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stackslib/src/clarity_vm/clarity.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ pub use clarity::vm::clarity::{ClarityConnection, Error};
2525
use clarity::vm::contexts::{AssetMap, Environment, OwnedEnvironment};
2626
use clarity::vm::costs::{CostTracker, ExecutionCost, LimitedCostTracker};
2727
use clarity::vm::database::{
28-
BurnStateDB, ClarityDatabase, HeadersDB, RollbackWrapper, RollbackWrapperPersistedLog,
29-
STXBalance, SqliteConnection, NULL_BURN_STATE_DB, NULL_HEADER_DB,
28+
BurnStateDB, ClarityBackingStore, ClarityDatabase, HeadersDB, RollbackWrapper,
29+
RollbackWrapperPersistedLog, STXBalance, SqliteConnection, NULL_BURN_STATE_DB, NULL_HEADER_DB,
3030
};
3131
use clarity::vm::errors::Error as InterpreterError;
3232
use clarity::vm::representations::SymbolicExpression;
@@ -132,7 +132,7 @@ pub struct ClarityBlockConnection<'a, 'b> {
132132
/// rollback the transaction by dropping this struct.
133133
pub struct ClarityTransactionConnection<'a, 'b> {
134134
log: Option<RollbackWrapperPersistedLog>,
135-
store: &'a mut WritableMarfStore<'b>,
135+
store: &'b mut dyn ClarityBackingStore,
136136
header_db: &'a dyn HeadersDB,
137137
burn_state_db: &'a dyn BurnStateDB,
138138
cost_track: &'a mut Option<LimitedCostTracker>,
@@ -1565,7 +1565,7 @@ impl<'a> ClarityBlockConnection<'a, '_> {
15651565
})
15661566
}
15671567

1568-
pub fn start_transaction_processing<'c>(&'c mut self) -> ClarityTransactionConnection<'c, 'a> {
1568+
pub fn start_transaction_processing<'c>(&'c mut self) -> ClarityTransactionConnection<'c, 'c> {
15691569
let store = &mut self.datastore;
15701570
let cost_track = &mut self.cost_track;
15711571
let header_db = self.header_db;

0 commit comments

Comments
 (0)