Skip to content

Commit

Permalink
[starcoin vm] Fix cargo check
Browse files Browse the repository at this point in the history
  • Loading branch information
welbon committed Jun 20, 2023
1 parent 25561bd commit a3012b3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion executor/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

use anyhow::Result;
use starcoin_types::transaction::{SignedUserTransaction, Transaction, TransactionOutput};
use starcoin_vm_runtime::data_cache::{AsMoveResolver, IntoMoveResolver, StateViewCache};
use starcoin_vm_runtime::metrics::VMMetrics;
use starcoin_vm_runtime::starcoin_vm::StarcoinVM;
use starcoin_vm_types::identifier::Identifier;
Expand Down
1 change: 0 additions & 1 deletion vm/vm-runtime/src/data_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use starcoin_vm_types::{
access_path::AccessPath,
errors::*,
language_storage::{ModuleId, StructTag},
on_chain_config::ConfigStorage,
state_view::StateView,
vm_status::StatusCode,
write_set::{WriteOp, WriteSet},
Expand Down
4 changes: 2 additions & 2 deletions vm/vm-runtime/src/starcoin_vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ impl StarcoinVM {
}
};

let mut session: SessionAdapter<_> = self
let session: SessionAdapter<_> = self
.move_vm
.new_session(storage, SessionId::txn_meta(&txn_data))
.into();
Expand Down Expand Up @@ -1020,7 +1020,7 @@ impl StarcoinVM {
Ok(txn_data) => txn_data,
Err(e) => return Ok(discard_error_vm_status(e)),
};
let mut session = self
let session = self
.move_vm
.new_session(storage, SessionId::txn_meta(&txn_data))
.into();
Expand Down

0 comments on commit a3012b3

Please sign in to comment.