Skip to content

Commit

Permalink
chore: rename l1{-,_}provider for consistency (#1979)
Browse files Browse the repository at this point in the history
Co-Authored-By: Gilad Chase <[email protected]>
  • Loading branch information
giladchase and Gilad Chase authored Nov 12, 2024
1 parent 2d81fe6 commit e61c7ce
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ members = [
"crates/gateway",
"crates/gateway_types",
"crates/http_server",
"crates/l1-provider",
"crates/l1_provider",
"crates/mempool",
"crates/mempool_p2p",
"crates/mempool_p2p_types",
Expand Down Expand Up @@ -215,7 +215,7 @@ starknet_consensus_manager = { path = "crates/consensus_manager", version = "0.0
starknet_gateway = { path = "crates/gateway", version = "0.0.0" }
starknet_gateway_types = { path = "crates/gateway_types", version = "0.0.0" }
starknet_http_server = { path = "crates/http_server", version = "0.0.0" }
starknet_l1_provider = { path = "crates/l1-provider", version = "0.0.0" }
starknet_l1_provider = { path = "crates/l1_provider", version = "0.0.0" }
starknet_mempool = { path = "crates/mempool", version = "0.0.0" }
starknet_mempool_p2p = { path = "crates/mempool_p2p", version = "0.0.0" }
starknet_mempool_p2p_types = { path = "crates/mempool_p2p_types", version = "0.0.0" }
Expand Down
2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Configuration = {
'helm',
'infra',
'JSON-RPC',
'l1-provider',
'l1_provider',
'load_test',
'mempool',
'mempool_p2p',
Expand Down
2 changes: 1 addition & 1 deletion crates/batcher/src/transaction_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl TransactionProvider for ValidateTransactionProvider {
}
}

// TODO: Remove L1Provider code when the communication module of l1-provider is added.
// TODO: Remove L1Provider code when the communication module of l1_provider is added.
#[cfg_attr(test, automock)]
#[async_trait]
pub trait L1ProviderClient: Send + Sync {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e61c7ce

Please sign in to comment.