docs: fix typos (#2193)

This commit is contained in:
vuittont60
2023-11-07 20:11:06 +08:00
committed by GitHub
parent 295a848301
commit 4caa3d8d8e
23 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ board](https://github.com/paritytech/substrate/discussions).
* Allow validators to block and kick their nominator set. (#7930)
* Decouple Staking and Election - Part1: Support traits (#7908)
* Introduces account existence providers reference counting (#7363)
* contracts: Cap the surcharge reward by the amount of rent that way payed by a contract (#7870)
* contracts: Cap the surcharge reward by the amount of rent that way paid by a contract (#7870)
* Use checked math when calculating storage size (#7885)
* Fix clear prefix check to avoid erasing child trie roots. (#7848)
* contracts: Collect rent for the first block during deployment (#7847)
+1 -1
View File
@@ -113,7 +113,7 @@ And update the overall definition for weights on frame and a few related types a
```diff=
-const AVERAGE_ON_INITIALIZE_WEIGHT: Perbill = Perbill::from_percent(10);
+/// 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