Skip to content

Commit

Permalink
fix starcoin-state-db errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg committed Sep 27, 2024
1 parent 55cfc60 commit bb34e89
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion network-rpc/api/src/remote_chain_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use starcoin_types::state_set::{AccountStateSet, ChainStateSet};
use starcoin_vm_types::state_store::state_key::StateKey;
use starcoin_vm_types::state_store::state_value::StateValue;
use starcoin_vm_types::state_store::table::{TableHandle, TableInfo};
use starcoin_vm_types::state_view::TStateView;
use starcoin_vm_types::state_store::TStateView;

#[derive(Clone)]
pub struct RemoteChainStateReader {
Expand Down
2 changes: 1 addition & 1 deletion rpc/client/src/remote_state_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use starcoin_types::state_set::{AccountStateSet, ChainStateSet};
use starcoin_vm_types::state_store::state_key::StateKey;
use starcoin_vm_types::state_store::state_value::StateValue;
use starcoin_vm_types::state_store::table::{TableHandle, TableInfo};
use starcoin_vm_types::state_view::TStateView;
use starcoin_vm_types::state_store::TStateView;
use std::str::FromStr;

#[derive(Debug, Clone, Copy, Default)]
Expand Down
2 changes: 1 addition & 1 deletion state/service/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use starcoin_types::{
use starcoin_vm_types::state_store::state_key::StateKey;
use starcoin_vm_types::state_store::state_value::StateValue;
use starcoin_vm_types::state_store::table::{TableHandle, TableInfo};
use starcoin_vm_types::state_view::TStateView;
use starcoin_vm_types::state_store::TStateView;
use std::sync::Arc;

pub struct ChainStateService {
Expand Down
2 changes: 1 addition & 1 deletion state/statedb/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use starcoin_vm_types::language_storage::StructTag;
use starcoin_vm_types::state_store::state_value::StateValue;
use starcoin_vm_types::state_store::table::TableInfo;
use starcoin_vm_types::state_store::{state_key::StateKey, table::TableHandle};
use starcoin_vm_types::state_view::TStateView;
use starcoin_vm_types::state_store::TStateView;
use std::collections::HashSet;
use std::convert::TryInto;
use std::sync::Arc;
Expand Down
2 changes: 1 addition & 1 deletion vm/e2e-tests/src/data_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use starcoin_crypto::HashValue;
use starcoin_statedb::ChainStateWriter;
use starcoin_types::state_set::ChainStateSet;
use starcoin_vm_types::state_store::state_value::StateValue;
use starcoin_vm_types::state_view::TStateView;
use starcoin_vm_types::state_store::TStateView;
use std::collections::HashMap;
use std::sync::{RwLock, RwLockReadGuard};

Expand Down
2 changes: 1 addition & 1 deletion vm/vm-runtime/src/data_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use starcoin_logger::prelude::*;
use starcoin_types::account_address::AccountAddress;
use starcoin_vm_types::state_store::state_key::StateKey;
use starcoin_vm_types::state_store::state_value::StateValue;
use starcoin_vm_types::state_view::TStateView;
use starcoin_vm_types::state_store::TStateView;
use starcoin_vm_types::{
access_path::AccessPath,
errors::*,
Expand Down
2 changes: 1 addition & 1 deletion vm/vm-runtime/src/parallel_executor/storage_wrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use crate::data_cache::{IntoMoveResolver, RemoteStorageOwned};
use starcoin_parallel_executor::executor::MVHashMapView;
use starcoin_vm_types::state_store::state_value::StateValue;
use starcoin_vm_types::state_view::TStateView;
use starcoin_vm_types::state_store::TStateView;
use starcoin_vm_types::{
state_store::state_key::StateKey, state_view::StateView, write_set::WriteOp,
};
Expand Down

0 comments on commit bb34e89

Please sign in to comment.