Skip to content

Commit

Permalink
build: rename package names to include starknet_ prefix
Browse files Browse the repository at this point in the history
commit-id:579fa818
  • Loading branch information
Itay-Tsabary-Starkware committed Jun 5, 2024
1 parent b1c4b84 commit 4744e13
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 48 deletions.
78 changes: 39 additions & 39 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/mempool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ workspace = true
[dependencies]
async-trait.workspace = true
derive_more.workspace = true
mempool_infra = { path = "../mempool_infra", version = "0.0" }
starknet_mempool_infra = { path = "../mempool_infra", version = "0.0" }
starknet_api.workspace = true
starknet_mempool_types = { path = "../mempool_types", version = "0.0" }
tokio.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/mempool/src/mempool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ use std::collections::hash_map::Entry::{Occupied, Vacant};
use std::collections::HashMap;

use async_trait::async_trait;
use mempool_infra::component_server::{ComponentRequestHandler, ComponentServer};
use starknet_api::core::ContractAddress;
use starknet_api::transaction::TransactionHash;
use starknet_mempool_infra::component_server::{ComponentRequestHandler, ComponentServer};
use starknet_mempool_types::errors::MempoolError;
use starknet_mempool_types::mempool_types::{
Account, AccountState, MempoolInput, MempoolRequest, MempoolRequestAndResponseSender,
Expand Down
2 changes: 1 addition & 1 deletion crates/mempool_infra/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "mempool_infra"
name = "starknet_mempool_infra"
version.workspace = true
edition.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/mempool_node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "mempool_node"
name = "starknet_mempool_node"
version.workspace = true
edition.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/mempool_node/src/bin/dump_config.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use mempool_node::config::{MempoolNodeConfig, DEFAULT_CONFIG_PATH};
use papyrus_config::dumping::SerializeConfig;
use starknet_mempool_node::config::{MempoolNodeConfig, DEFAULT_CONFIG_PATH};

/// Updates the default config file by:
/// cargo run --bin dump_config -q
Expand Down
2 changes: 1 addition & 1 deletion crates/mempool_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ workspace = true

[dependencies]
async-trait.workspace = true
mempool_infra = { path = "../mempool_infra"}
starknet_api.workspace = true
starknet_mempool_infra = { path = "../mempool_infra" }
thiserror.workspace = true
4 changes: 2 additions & 2 deletions crates/mempool_types/src/mempool_types.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use async_trait::async_trait;
use mempool_infra::component_client::ComponentClient;
use mempool_infra::component_server::ComponentRequestAndResponseSender;
use starknet_api::core::{ContractAddress, Nonce};
use starknet_api::transaction::{Tip, TransactionHash};
use starknet_mempool_infra::component_client::ComponentClient;
use starknet_mempool_infra::component_server::ComponentRequestAndResponseSender;
use thiserror::Error;

use crate::errors::MempoolError;
Expand Down
2 changes: 1 addition & 1 deletion crates/tests-integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ starknet_api.workspace = true
starknet_gateway = { path = "../gateway", version = "0.0" }

[dev-dependencies]
mempool_infra = { path = "../mempool_infra", version = "0.0" }
pretty_assertions.workspace = true
rstest.workspace = true
starknet_mempool = { path = "../mempool", version = "0.0" }
starknet_mempool_infra = { path = "../mempool_infra", version = "0.0" }
starknet_mempool_types = { path = "../mempool_types", version = "0.0" }
tokio.workspace = true

0 comments on commit 4744e13

Please sign in to comment.