This commit is contained in:
Gavin Wood
2021-11-02 15:09:40 +01:00
committed by GitHub
parent 471e9cfbf1
commit 977cf450b3
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -140,8 +140,8 @@ let mut target_path =
```
- Unsafe code requires explicit proofs just as panickers do. When introducing unsafe code,
consider tradeoffs between efficiency on one hand and reliability, maintenance costs, and
security on the other. Here is a list of questions that may help evaluating the tradeoff while
consider trade-offs between efficiency on one hand and reliability, maintenance costs, and
security on the other. Here is a list of questions that may help evaluating the trade-off while
preparing or reviewing a PR:
- how much more performant or compact the resulting code will be using unsafe code,
- how likely is it that invariants could be violated,
+1 -1
View File
@@ -248,7 +248,7 @@ pub mod pallet {
/// Randomness under construction.
///
/// We make a tradeoff between storage accesses and list length.
/// We make a trade-off between storage accesses and list length.
/// We store the under-construction randomness in segments of up to
/// `UNDER_CONSTRUCTION_SEGMENT_LENGTH`.
///
+1 -1
View File
@@ -218,7 +218,7 @@ pub mod pallet {
CallHash,
DispatchResult,
),
/// A multisig operation has been cancelled. \[cancelling, timepoint, multisig, call_hash\]
/// A multisig operation has been cancelled. \[canceling, timepoint, multisig, call_hash\]
MultisigCancelled(T::AccountId, Timepoint<T::BlockNumber>, T::AccountId, CallHash),
}
@@ -1496,7 +1496,7 @@ mod tests {
}
overlay.start_transaction();
// Then only initlaization item and second (commited) item should persist.
// Then only initlaization item and second (committed) item should persist.
{
let ext = Ext::new(
&mut overlay,