Skip to content

Commit ff3e1b7

Browse files
committed
chore: factor out more types.
1 parent cc6ff92 commit ff3e1b7

File tree

26 files changed

+68
-31
lines changed

26 files changed

+68
-31
lines changed

Cargo.lock

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

checks/migrator/util/types/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ movement-client = { workspace = true }
1818
aptos-rest-client = { workspace = true }
1919
thiserror = { workspace = true }
2020
tokio = { workspace = true }
21+
mtma-types = { workspace = true }
2122

2223
[lints]
2324
workspace = true

checks/migrator/util/types/src/criterion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
use aptos_rest_client::Client as MovementAptosRestClient;
21
use movement_client::rest_client::Client as MovementRestClient;
2+
use mtma_types::movement_aptos::aptos_rest_client::Client as MovementAptosRestClient;
33

44
/// The MovementAptos executor as would be presented in the criterion.
55
#[derive(Debug)]

checks/node/citeria/global-storage-includes/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ rust-version = { workspace = true }
1010

1111
[dependencies]
1212
mtma-node-test-types = { workspace = true }
13+
mtma-types = { workspace = true }
1314
anyhow = { workspace = true }
1415
tracing = { workspace = true }
1516

checks/node/citeria/global-storage-includes/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use mtma_node_test_types::criterion::movement_executor::TStateView as _;
33
use mtma_node_test_types::criterion::{
44
Criterion, CriterionError, Criterionish, MovementAptosNode, MovementNode,
55
};
6-
use mtma_node_test_types::criterion::movement_aptos_executor::aptos_types::state_store::state_key::StateKey as MovementAptosStateKey;
6+
use mtma_types::movement_aptos::aptos_types::state_store::state_key::StateKey as MovementAptosStateKey;
77
use tracing::debug;
88
pub struct GlobalStorageIncludes;
99

checks/node/citeria/global-storage-injective/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ rust-version = { workspace = true }
1010

1111
[dependencies]
1212
mtma-node-test-types = { workspace = true }
13+
mtma-types = { workspace = true }
1314
anyhow = { workspace = true }
1415
tracing = { workspace = true }
1516

checks/node/citeria/global-storage-injective/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use mtma_node_test_types::criterion::movement_executor::TStateView as _;
33
use mtma_node_test_types::criterion::{
44
Criterion, CriterionError, Criterionish, MovementAptosNode, MovementNode,
55
};
6-
use mtma_node_test_types::criterion::movement_aptos_executor::aptos_types::state_store::state_key::StateKey as MovementAptosStateKey;
6+
use mtma_types::movement_aptos::aptos_types::state_store::state_key::StateKey as MovementAptosStateKey;
77
use tracing::debug;
88
pub struct GlobalStorageInjective;
99

checks/node/util/types/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ aptos-storage-interface = { workspace = true }
2121
either = { workspace = true }
2222
mtma-node-types = { workspace = true }
2323
chrono = { workspace = true }
24+
mtma-types = { workspace = true }
2425

2526
[lints]
2627
workspace = true

checks/node/util/types/src/prelude.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use crate::criterion::MovementNode;
2-
use maptos_opt_executor::aptos_crypto::HashValue;
3-
use maptos_opt_executor::aptos_types::{
2+
use mtma_types::movement::aptos_crypto::HashValue;
3+
use mtma_types::movement::aptos_types::{
44
block_executor::partitioner::{ExecutableBlock, ExecutableTransactions},
55
block_metadata::BlockMetadata,
66
transaction::signature_verified_transaction::into_signature_verified_block,

migration/core/migrator/mtma-null/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@ chrono = { workspace = true }
2727
walkdir = { workspace = true }
2828
uuid = { workspace = true }
2929
tracing = { workspace = true }
30+
mtma-types = { workspace = true }
31+
3032
[lints]
3133
workspace = true

0 commit comments

Comments
 (0)