Skip to content

Commit

Permalink
spelling, backgroung color at end
Browse files Browse the repository at this point in the history
  • Loading branch information
nuke-web3 committed Nov 12, 2023
1 parent b24f3ce commit 38c6a26
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions content/security/risks/slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ fn random(subject: &[u8]) -> (T::Hash, BlockNumberFor<T>) {

### Case Study - VRF

- There are two main secure approaches to blockchain randomness in production today: RANDAO and VRF. **Polkadot uses VRF**.
- There are two main secure approaches to blockchain randomness in production today: [RANDAO](https://github.com/randao/randao) and VRF. **Polkadot uses VRF**.

> **VRF**: mathematical operation that takes some input and produces a random number along with a proof of authenticity that this random number was generated by the submitter.
Expand Down Expand Up @@ -590,7 +590,7 @@ benchmarks! {
- Primary goal is to keep the runtime safe.
- Secondary goal is to be as accurate as possible to maximize throughput.
- For non-hard deadline code use **meteoring**.
- For non-hard deadline code use **metering**.

---v

Expand Down Expand Up @@ -1204,7 +1204,7 @@ fn test_unsafe_dispatch_whitelisted_call_stack_overflow() {
let mut call_hash = <Test as frame_system::Config>::Hashing::hash(&encoded_call[..]);

// The amount of nested calls to create
// This test will not crash as it the following value is less than minimun
// This test will not crash as it the following value is less than minimum
// amount of calls to cause a stack overflow
let nested_calls = sp_api::MAX_EXTRINSIC_DEPTH;

Expand Down Expand Up @@ -1460,4 +1460,6 @@ fn decode_concatenated_extrinsics(

---

<!-- .slide: data-background-color="#4A2439" -->

### Questions

0 comments on commit 38c6a26

Please sign in to comment.