v0.3.13-pre.009
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-worker-raw-transaction-ingest-lib/tests/public_api.rs
|
||||
// version: 18
|
||||
// version: 19
|
||||
|
||||
//! External public-surface proofs for the RAW transaction ingest Worker foundation.
|
||||
|
||||
@@ -351,3 +351,20 @@ fn v0_3_13_pre_008_convergence_cache_registry_and_source_keys_remain_private() {
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn v0_3_13_pre_009_fairness_budgets_semaphore_and_canonical_state_remain_private() {
|
||||
let root = include_str!("../src/lib.rs");
|
||||
for private_name in [
|
||||
"RawTransactionIngestCanonicalState",
|
||||
"RawTransactionIngestGlobalHydrationRegistry",
|
||||
"RawTransactionIngestHydrationLeaderGuard",
|
||||
"validate_hydration_fairness_capacity",
|
||||
"hydration_pending_limit",
|
||||
"hydration_in_flight_limit",
|
||||
] {
|
||||
assert!(!root.contains(&std::format!("pub use self::runtime_resources::{private_name}")));
|
||||
assert!(!root.contains(&std::format!("pub use self::persistence::{private_name}")));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user