mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
dev-comment spelling mistakes (#4434)
This commit is contained in:
committed by
GitHub
parent
854d92a4a4
commit
4adb8466a3
@@ -142,7 +142,7 @@ pub mod pallet {
|
||||
#[pallet::hooks]
|
||||
impl<T: Config> Hooks<BlockNumberFor<T>> for Pallet<T> {
|
||||
fn on_initialize(_: T::BlockNumber) -> Weight {
|
||||
T::DbWeight::get().reads_writes(1, 1) // in on_finalize.
|
||||
T::DbWeight::get().reads_writes(1, 1) // in `on_finalize`.
|
||||
}
|
||||
|
||||
fn on_finalize(_: T::BlockNumber) {
|
||||
@@ -947,7 +947,7 @@ fn compute_entropy<T: Config>(parent_hash: T::Hash) -> [u8; 32] {
|
||||
if let Some(vrf_random) = vrf_random {
|
||||
entropy.as_mut().copy_from_slice(vrf_random.as_ref());
|
||||
} else {
|
||||
// in case there is no vrf randomness present, we utilize the relay parent
|
||||
// in case there is no VRF randomness present, we utilize the relay parent
|
||||
// as seed, it's better than a static value.
|
||||
log::warn!(target: LOG_TARGET, "CurrentBlockRandomness did not provide entropy");
|
||||
entropy.as_mut().copy_from_slice(parent_hash.as_ref());
|
||||
|
||||
@@ -203,7 +203,7 @@ mod enter {
|
||||
new_test_ext(MockGenesisConfig::default()).execute_with(|| {
|
||||
// Create the inherent data for this block
|
||||
let dispute_statements = BTreeMap::new();
|
||||
// No backed and concluding cores, so all cores will be filld with disputes.
|
||||
// No backed and concluding cores, so all cores will be filled with disputes.
|
||||
let backed_and_concluding = BTreeMap::new();
|
||||
|
||||
let scenario = make_inherent_data(TestConfig {
|
||||
|
||||
Reference in New Issue
Block a user