Skip to content

Commit a783730

Browse files
committed
choir: more comments cleanup
1 parent ec75413 commit a783730

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cumulus/pallets/subscriber/src/test_util.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ pub mod bench_proof_builder {
9494
Ok(recorder.into_raw_storage_proof())
9595
}
9696

97-
/// Build relay chain state proof w/ child trie data
97+
/// Build relay chain state proof with child trie data
9898
pub fn build_sproof_with_child_data(
9999
publishers: &[(ParaId, Vec<(Vec<u8>, Vec<u8>)>)],
100100
) -> RelayChainStateProof {
@@ -132,7 +132,7 @@ pub mod bench_proof_builder {
132132
child_roots.push((prefixed_key.to_vec(), child_root.encode()));
133133
}
134134

135-
// Build main trie w/ child roots
135+
// Build main trie with child roots
136136
use hash_db::{HashDB, EMPTY_PREFIX};
137137

138138
let empty_root = empty_trie_root::<LayoutV1<BlakeTwo256>>();

cumulus/pallets/subscriber/src/tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ fn root_change_triggers_processing() {
6969
Pallet::<Test>::process_relay_proof_keys(&proof1);
7070
assert_eq!(ReceivedData::get().len(), 1);
7171

72-
// Second block with different value (root changed)
72+
// Second block with different value
7373
ReceivedData::set(vec![]);
7474
let proof2 = build_test_proof(publisher, vec![(key.clone(), value2.clone())]);
7575
Pallet::<Test>::process_relay_proof_keys(&proof2);
@@ -94,7 +94,7 @@ fn unchanged_root_skips_processing() {
9494
Pallet::<Test>::process_relay_proof_keys(&proof);
9595
assert_eq!(ReceivedData::get().len(), 1);
9696

97-
// Second block with same data (unchanged root)
97+
// Second block with same data
9898
ReceivedData::set(vec![]);
9999
let proof2 = build_test_proof(publisher, vec![(key.clone(), value)]);
100100
Pallet::<Test>::process_relay_proof_keys(&proof2);

polkadot/runtime/parachains/src/broadcaster/weights.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub trait WeightInfo {
2828
fn do_cleanup_publisher(k: u32) -> Weight;
2929
}
3030

31-
/// Placeholder weights (to be replaced with benchmarked values).
31+
/// Placeholder weights to be replaced with benchmarked values.
3232
impl WeightInfo for () {
3333
fn register_publisher() -> Weight {
3434
Weight::zero()

0 commit comments

Comments
 (0)