Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mysten infra ptr with new db map #4496

Merged
merged 4 commits into from
Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
672 changes: 376 additions & 296 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crates/sui-benchmark/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rocksdb = "0.19.0"
serde_with = { version = "1.14.0", features = ["hex"] }
tracing = "0.1.36"
tracing-subscriber = { version = "0.3.15", features = ["time", "registry", "env-filter"] }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }
clap = { version = "3.1.17", features = ["derive"] }
prometheus = "0.13.1"
multiaddr = "0.14.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/sui-cluster-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tokio = { version = "1.20.1", features = ["full"] }
tracing = { version = "0.1.36", features = ["log"] }
clap = { version = "3.1.14", features = ["derive"] }
reqwest = { version = "0.11.11", features = ["blocking", "json"] }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }
async-trait = "0.1.57"
anyhow = { version = "1.0.58", features = ["backtrace"] }
bcs = "0.1.3"
Expand Down
8 changes: 4 additions & 4 deletions crates/sui-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ move-bytecode-utils = { git = "https://github.com/move-language/move", rev = "70
move-core-types = { git = "https://github.com/move-language/move", rev = "70b34a66473c34ad30d101290b249f2db3c847a2", features = ["address20"] }
move-vm-runtime = { git = "https://github.com/move-language/move", rev = "70b34a66473c34ad30d101290b249f2db3c847a2" }

typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8"}
typed-store-macros = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8"}
mysten-network = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e"}
typed-store-macros = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e"}
mysten-network = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }

narwhal-config = { git = "https://github.com/MystenLabs/narwhal", rev = "842a611a0a58dd378a904d85f79b4edbbbc7b137", package = "config" }
narwhal-consensus = { git = "https://github.com/MystenLabs/narwhal", rev = "842a611a0a58dd378a904d85f79b4edbbbc7b137", package = "consensus" }
Expand All @@ -69,7 +69,7 @@ move-package = { git = "https://github.com/move-language/move", rev = "70b34a664
serde-reflection = "0.3.6"
serde_yaml = "0.8.26"
pretty_assertions = "1.2.1"
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }

test-fuzz = "3.0.4"
test-utils = { path = "../test-utils" }
Expand Down
4 changes: 2 additions & 2 deletions crates/sui-core/src/authority/authority_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use tokio::sync::Notify;
use tokio_retry::strategy::{jitter, ExponentialBackoff};
use tracing::{debug, error, info, trace};
use typed_store::rocks::{DBBatch, DBMap};
use typed_store::traits::{DBMapTableUtil, Map};
use typed_store::traits::Map;

pub type AuthorityStore = SuiDataStore<AuthoritySignInfo>;
pub type GatewayStore = SuiDataStore<EmptySignInfo>;
Expand Down Expand Up @@ -1418,7 +1418,7 @@ impl<T: ModuleResolver> ModuleResolver for ResolverWrapper<T> {
// The primary key type for object storage.
#[serde_as]
#[derive(Eq, PartialEq, Clone, Copy, PartialOrd, Ord, Hash, Serialize, Deserialize, Debug)]
pub(crate) struct ObjectKey(pub ObjectID, pub VersionNumber);
pub struct ObjectKey(pub ObjectID, pub VersionNumber);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious why this needed to change?

Copy link
Contributor Author

@oxade oxade Sep 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious why this needed to change?

Without this, we will not be able to dump/debug the DB in external utils as this will leak the private type.


impl ObjectKey {
pub const ZERO: ObjectKey = ObjectKey(ObjectID::ZERO, VersionNumber::MIN);
Expand Down
3 changes: 2 additions & 1 deletion crates/sui-core/src/authority/authority_store_tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ use sui_storage::default_db_options;
use sui_types::base_types::{ExecutionDigests, SequenceNumber};
use sui_types::batch::{SignedBatch, TxSequenceNumber};
use typed_store::rocks::DBMap;
use typed_store::traits::DBMapTableUtil;
use typed_store::traits::TypedStoreDebug;

use typed_store_macros::DBMapUtils;
#[derive(DBMapUtils)]
pub struct AuthorityStoreTables<S> {
Expand Down
1 change: 0 additions & 1 deletion crates/sui-core/src/authority_active.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ use tokio::{
time::timeout,
};
use tracing::{debug, error, info, warn};
use typed_store::traits::DBMapTableUtil;

use crate::{
authority::AuthorityState,
Expand Down
3 changes: 2 additions & 1 deletion crates/sui-core/src/checkpoints/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ use sui_types::{
},
};
use tracing::{debug, error, info};
use typed_store::traits::DBMapTableUtil;
use typed_store::traits::TypedStoreDebug;

use typed_store::{
rocks::{DBBatch, DBMap},
Map,
Expand Down
3 changes: 2 additions & 1 deletion crates/sui-core/src/epoch/epoch_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ use sui_types::committee::{Committee, EpochId};
use sui_types::error::SuiResult;
use sui_types::messages::{AuthenticatedEpoch, GenesisEpoch};
use typed_store::rocks::DBMap;
use typed_store::traits::DBMapTableUtil;
use typed_store::traits::TypedStoreDebug;

use typed_store::Map;
use typed_store_macros::DBMapUtils;

Expand Down
1 change: 0 additions & 1 deletion crates/sui-core/src/node_sync/node_follower.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ mod test {
authority::test_and_configure_authority_configs, messages::make_transfer_sui_transaction,
};
use tokio::{sync::broadcast, time::Instant};
use typed_store::traits::DBMapTableUtil;

#[derive(Clone)]
struct TestNodeSyncHandler {
Expand Down
2 changes: 1 addition & 1 deletion crates/sui-faucet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sui-node = { path = "../sui-node" }
sui-json-rpc-types= { path = "../sui-json-rpc-types" }
sui-types = { path = "../sui-types" }
sui-config = { path = "../sui-config" }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }
workspace-hack = { path = "../workspace-hack"}

[dev-dependencies]
Expand Down
5 changes: 3 additions & 2 deletions crates/sui-gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tokio = { version = "1.20.1", features = ["full"] }
futures = "0.3.23"
prometheus = "0.13.1"
clap = { version = "3.2.17", features = ["derive"] }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }

sui-core = { path = "../sui-core" }
sui-config = { path = "../sui-config" }
Expand All @@ -25,7 +25,8 @@ sui-json-rpc = { path = "../sui-json-rpc" }
sui-json-rpc-types= { path = "../sui-json-rpc-types" }
sui-node = { path = "../sui-node" }

mysten-network = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }

mysten-network = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }
move-package = { git = "https://github.com/move-language/move", rev = "70b34a66473c34ad30d101290b249f2db3c847a2" }
workspace-hack = { path = "../workspace-hack"}

Expand Down
3 changes: 2 additions & 1 deletion crates/sui-network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ tonic = "0.7"

sui-types = { path = "../sui-types" }

mysten-network = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }

mysten-network = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }
workspace-hack = { path = "../workspace-hack"}

[build-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions crates/sui-node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tokio = { version = "1.20.1", features = ["full"] }
tracing = "0.1.36"
parking_lot = "0.12.1"
futures = "0.3.23"
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8"}
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e"}
chrono = "0.4.0"

sui-config = { path = "../sui-config" }
Expand All @@ -28,8 +28,8 @@ sui-telemetry = { path = "../sui-telemetry" }
sui-types = { path = "../sui-types" }
sui-quorum-driver = { path = "../sui-quorum-driver" }

telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
mysten-network = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }
mysten-network = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }
workspace-hack = { path = "../workspace-hack"}

[target.'cfg(not(target_env = "msvc"))'.dependencies]
Expand Down
1 change: 0 additions & 1 deletion crates/sui-node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ use sui_json_rpc::read_api::ReadApi;
use sui_json_rpc::ws_server::WsServerHandle;
use sui_json_rpc::JsonRpcServerBuilder;
use sui_types::crypto::KeypairTraits;
use typed_store::traits::DBMapTableUtil;

pub mod admin;
pub mod metrics;
Expand Down
6 changes: 3 additions & 3 deletions crates/sui-storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ tempfile = "3.3.0"
tap = "1.0.1"

sui-types = { path = "../sui-types" }
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8"}
typed-store-macros = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8"}
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e"}
typed-store-macros = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e"}
move-core-types = { git = "https://github.com/move-language/move", rev = "70b34a66473c34ad30d101290b249f2db3c847a2", features = ["address20"] }
sui-json-rpc-types = { path = "../sui-json-rpc-types" }
workspace-hack = { path = "../workspace-hack"}
Expand All @@ -39,7 +39,7 @@ anyhow = "1.0.58"
tempfile = "3.3.0"
num_cpus = "1.13.1"
pretty_assertions = "1.2.0"
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }

[[bench]]
name = "write_ahead_log"
Expand Down
2 changes: 1 addition & 1 deletion crates/sui-storage/src/indexes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ use sui_types::object::Owner;

use move_core_types::identifier::Identifier;
use typed_store::rocks::DBMap;
use typed_store::traits::DBMapTableUtil;
use typed_store::traits::Map;
use typed_store::traits::TypedStoreDebug;

use crate::default_db_options;

Expand Down
2 changes: 1 addition & 1 deletion crates/sui-storage/src/lock_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ use std::thread::JoinHandle;
use tokio::sync::mpsc::{channel, Receiver, Sender};
use tracing::{debug, error, info, trace, warn};
use typed_store::rocks::{DBBatch, DBMap};
use typed_store::traits::DBMapTableUtil;
use typed_store::traits::Map;
use typed_store::traits::TypedStoreDebug;
use typed_store_macros::DBMapUtils;

use sui_types::base_types::{ObjectRef, TransactionDigest};
Expand Down
3 changes: 2 additions & 1 deletion crates/sui-storage/src/node_sync_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ use sui_types::{
};

use typed_store::rocks::DBMap;
use typed_store::traits::DBMapTableUtil;

use typed_store::traits::Map;
use typed_store::traits::TypedStoreDebug;
use typed_store_macros::DBMapUtils;

use tracing::trace;
Expand Down
2 changes: 1 addition & 1 deletion crates/sui-storage/src/write_ahead_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::fmt::Debug;
use std::path::PathBuf;
use std::sync::Mutex;
use sui_types::base_types::TransactionDigest;
use typed_store::traits::DBMapTableUtil;
use typed_store::traits::TypedStoreDebug;
use typed_store_macros::DBMapUtils;

use sui_types::error::{SuiError, SuiResult};
Expand Down
4 changes: 2 additions & 2 deletions crates/sui-swarm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ sui-config = { path = "../sui-config" }
sui-node = { path = "../sui-node" }
sui-types = { path = "../sui-types" }

mysten-network = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
mysten-network = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }
workspace-hack = { path = "../workspace-hack"}

[dev-dependencies]
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }
9 changes: 5 additions & 4 deletions crates/sui-tool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ anyhow = { version = "1.0.58", features = ["backtrace"] }
tokio = { version = "1.20.1", features = ["full"] }
tracing = "0.1.36"
clap = { version = "3.2.17", features = ["derive"] }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
mysten-network = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }

telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }
mysten-network = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }
textwrap = "0.15"
futures = "0.3.23"
rocksdb = "0.19.0"
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8"}
typed-store-macros = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8"}
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e"}
typed-store-macros = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e"}
tempfile = "3.3.0"
narwhal-executor = { git = "https://github.com/MystenLabs/narwhal", rev = "842a611a0a58dd378a904d85f79b4edbbbc7b137", package = "executor" }
serde_with = { version = "1.14.0", features = ["hex"] }
Expand Down
26 changes: 17 additions & 9 deletions crates/sui-tool/src/db_tool/db_dump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ use std::path::PathBuf;
use strum_macros::EnumString;
use sui_core::authority::authority_store_tables::AuthorityStoreTables;
use sui_core::checkpoints::CheckpointStoreTables;
use sui_core::epoch::epoch_store::EpochStore;
use sui_storage::default_db_options;
use sui_storage::{lock_service::LockServiceImpl, node_sync_store::NodeSyncStore, IndexStore};
use sui_types::crypto::{AuthoritySignInfo, EmptySignInfo};
use typed_store::traits::DBMapTableUtil;

#[derive(EnumString, Parser, Debug)]
pub enum StoreName {
Expand All @@ -24,6 +24,7 @@ pub enum StoreName {
NodeSync,
Checkpoints,
Wal,
Epoch,
}
impl std::fmt::Display for StoreName {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
Expand Down Expand Up @@ -58,30 +59,38 @@ pub fn dump_table(
) -> anyhow::Result<BTreeMap<String, String>> {
match store_name {
StoreName::Validator => {
AuthorityStoreTables::<AuthoritySignInfo>::open_tables_read_only(db_path, None, None)
AuthorityStoreTables::<AuthoritySignInfo>::get_read_only_handle(db_path, None, None)
.dump(table_name, page_size, page_number)
}
StoreName::Gateway => AuthorityStoreTables::<EmptySignInfo>::open_tables_read_only(
StoreName::Gateway => AuthorityStoreTables::<EmptySignInfo>::get_read_only_handle(
db_path, None, None,
)
.dump(table_name, page_size, page_number),
StoreName::Index => IndexStore::open_tables_read_only(db_path, None, None).dump(
StoreName::Index => IndexStore::get_read_only_handle(db_path, None, None).dump(
table_name,
page_size,
page_number,
),
StoreName::LocksService => LockServiceImpl::open_tables_read_only(db_path, None, None)
.dump(table_name, page_size, page_number),
StoreName::NodeSync => NodeSyncStore::open_tables_read_only(db_path, None, None).dump(
StoreName::LocksService => LockServiceImpl::get_read_only_handle(db_path, None, None).dump(
table_name,
page_size,
page_number,
),
StoreName::NodeSync => NodeSyncStore::get_read_only_handle(db_path, None, None).dump(
table_name,
page_size,
page_number,
),
StoreName::Checkpoints => CheckpointStoreTables::open_tables_read_only(db_path, None, None)
StoreName::Checkpoints => CheckpointStoreTables::get_read_only_handle(db_path, None, None)
.dump(table_name, page_size, page_number),
StoreName::Wal => Err(eyre!(
"Dumping WAL not yet supported. It requires kmowing the value type"
)),
StoreName::Epoch => EpochStore::get_read_only_handle(db_path, None, None).dump(
table_name,
page_size,
page_number,
),
}
.map_err(|err| anyhow!(err.to_string()))
}
Expand All @@ -90,7 +99,6 @@ pub fn dump_table(
mod test {
use sui_core::authority::authority_store_tables::AuthorityStoreTables;
use sui_types::crypto::AuthoritySignInfo;
use typed_store::traits::DBMapTableUtil;

use crate::db_tool::db_dump::{dump_table, list_tables, StoreName};

Expand Down
4 changes: 2 additions & 2 deletions crates/sui-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ roaring = "0.9.0"
enum_dispatch = "^0.3"
eyre = "0.6.8"

name-variant = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
name-variant = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }

move-binary-format = { git = "https://github.com/move-language/move", rev = "70b34a66473c34ad30d101290b249f2db3c847a2" }
move-bytecode-utils = { git = "https://github.com/move-language/move", rev = "70b34a66473c34ad30d101290b249f2db3c847a2" }
Expand Down
12 changes: 7 additions & 5 deletions crates/sui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ serde_with = { version = "1.14.0", features = ["hex"] }
tracing = "0.1.36"
bcs = "0.1.3"
clap = { version = "3.2.17", features = ["derive"] }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8" }
telemetry-subscribers = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e" }

sui-core = { path = "../sui-core" }
sui-framework = { path = "../sui-framework" }
Expand All @@ -36,8 +36,9 @@ colored = "2.0.0"
unescape = "0.1.0"
shell-words = "1.1.0"
rocksdb = "0.19.0"
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8"}
typed-store-macros = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8"}
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e"}
typed-store-macros = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e"}

tempfile = "3.3.0"
narwhal-executor = { git = "https://github.com/MystenLabs/narwhal", rev = "842a611a0a58dd378a904d85f79b4edbbbc7b137", package = "executor" }

Expand All @@ -59,8 +60,9 @@ jemalloc-ctl = "^0.5"
[dev-dependencies]
tempfile = "3.3.0"
futures = "0.3.23"
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8"}
typed-store-macros = { git = "https://github.com/MystenLabs/mysten-infra", rev = "0a2956d113d29369a8c05bd492c51ca0ff3423e8"}

typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e"}
typed-store-macros = { git = "https://github.com/MystenLabs/mysten-infra", rev = "d96230a9272c322a7eefac49708aadfff1eed77e"}
jsonrpsee = { version = "0.15.1", features = ["full"] }

test-utils = { path = "../test-utils" }
Expand Down
Loading