Fix some typos (#4018)

Signed-off-by: hongkuang <liurenhong@outlook.com>
This commit is contained in:
HongKuang
2024-04-08 12:21:11 +08:00
committed by GitHub
parent 9940038543
commit bd4471b4fc
7 changed files with 8 additions and 8 deletions
@@ -138,7 +138,7 @@ pub fn native_version() -> NativeVersion {
NativeVersion { runtime_version: VERSION, can_author_with: Default::default() }
}
/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.
/// We assume that ~10% of the block weight is consumed by `on_initialize` handlers.
/// This is used to limit the maximal weight of a single extrinsic.
const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(10);
/// We allow `Normal` extrinsics to fill up the block up to 75%, the rest can be used