Skip to content

Commit

Permalink
substrate module @ pba3 (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
kianenigma authored Jul 24, 2023
1 parent 08f10f3 commit 1b834cb
Show file tree
Hide file tree
Showing 101 changed files with 9,885 additions and 4,341 deletions.
2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-4-1-contracts.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-4-1-forkless-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-4-1-forkless-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-4-1-json.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-1-state-code-next.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-1-state-code.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-1-state-database.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-1-state-def.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-1-state-transition-def.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-4-1-state.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-1-substrate-meta-version.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-1-substrate-meta.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-1-substrate-monol-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-1-substrate-monol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-1-substrate-new-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-1-substrate-new-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-1-substrate-new-3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-3-author-builder.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/5-Substrate/dev-4-3-author-pool.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-4-3-full-comm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-4-3-full.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-4-3-import.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-4-3-pruning-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-4-3-pruning-2.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-4-3-pruning-3.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-4-3-pruning-4.svg

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion assets/img/5-Substrate/dev-4-json.svg
Diff not rendered.
2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-kv-backend.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-storage-1.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-storage-2.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-storage-3.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-storage-4.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-storage-full.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-trie-backend-proof-fat-fix.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-trie-backend-proof-fat.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-trie-backend-proof.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-trie-backend-simple.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-trie-backend-walk-0.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-trie-backend-walk-1.svg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/img/5-Substrate/dev-trie-backend-walk-full.svg

Large diffs are not rendered by default.

Binary file added assets/img/5-Substrate/thats_all_folks copy.png
1 change: 1 addition & 0 deletions assets/img/5-Substrate/trie-backend-simple-simple.svg

Large diffs are not rendered by default.

Binary file added assets/img/6-FRAME/thats_all_folks.png
22 changes: 18 additions & 4 deletions syllabus/3-Blockchain/13-Forks_slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ revealOptions:
# Landscape

---v

## Landscape

#### Ideal World
Expand All @@ -32,6 +33,7 @@ In an ideal world blockchains would look like this:
<img style="width: 800px" src="../../assets/img/3-Blockchain/forks/no_fork.drawio.svg" />

---v

## Landscape

#### Real World
Expand All @@ -43,6 +45,7 @@ Things don't always go according to plan:
<img style="width: 800px" src="../../assets/img/3-Blockchain/forks/fork_small.drawio.svg" />

---v

## Landscape

#### Chaotic Real World
Expand Down Expand Up @@ -134,6 +137,7 @@ Why? Forks in the same category will exhibit similar behaviour and will require
## Consensus Forks

#### _Validity Set_

<br>
<img style="width: 800px" src="../../assets/img/3-Blockchain/forks/BTC_block.drawio.svg" />

Expand All @@ -142,15 +146,16 @@ Why? Forks in the same category will exhibit similar behaviour and will require
## Consensus Forks

#### _Validity Set_

<br>
<img style="width: 300px" src="../../assets/img/3-Blockchain/forks/BTC_header.drawio.svg" />


---v

## Consensus Forks

#### _Validity Set_

<br>
<img style="width: 500px" src="../../assets/img/3-Blockchain/forks/BTC_header_constraints.drawio.svg" />

Expand All @@ -159,6 +164,7 @@ Why? Forks in the same category will exhibit similar behaviour and will require
## Consensus Forks

#### _Validity Set_

<br>
<img style="width: 500px" src="../../assets/img/3-Blockchain/forks/validity_set.drawio.svg" />

Expand All @@ -167,6 +173,7 @@ Why? Forks in the same category will exhibit similar behaviour and will require
## Consensus Forks

#### _Validity Set_

<br>
<img style="width: 500px" src="../../assets/img/3-Blockchain/forks/universal_set.drawio.svg" />

Expand All @@ -175,6 +182,7 @@ Why? Forks in the same category will exhibit similar behaviour and will require
## Consensus Forks

#### _Validity Set_

<br>
<img style="width: 500px" src="../../assets/img/3-Blockchain/forks/validity_set_old.drawio.svg" />

Expand All @@ -183,10 +191,12 @@ Why? Forks in the same category will exhibit similar behaviour and will require
## Consensus Forks

#### _Validity Set_

<br>
<img style="width: 500px" src="../../assets/img/3-Blockchain/forks/validity_set_new.drawio.svg" />

---v

## Consensus Forks

#### _Validity Set_
Expand Down Expand Up @@ -275,7 +285,6 @@ Is decreasing or increasing blocksize a soft fork?
</pba-col>
</pba-cols>


---v

## Fork Categorisation
Expand Down Expand Up @@ -364,6 +373,7 @@ Is decreasing or increasing blocksize a soft fork?
</pba-cols>

---

# Hard Forks

---v
Expand All @@ -376,6 +386,7 @@ Is decreasing or increasing blocksize a soft fork?
<img style="width: 800px" src="../../assets/img/3-Blockchain/forks/fork_family_hard.drawio.svg" />

---v

## Fork Categorisation

#### _Hard Forks_
Expand All @@ -396,6 +407,7 @@ Is decreasing or increasing blocksize a soft fork?
</pba-cols>

---v

## Fork Categorisation

#### _Hard Forks_
Expand All @@ -418,6 +430,7 @@ Is decreasing or increasing blocksize a soft fork?
</pba-cols>

---v

## Fork Categorisation

#### _Hard Forks_
Expand All @@ -433,6 +446,7 @@ Is decreasing or increasing blocksize a soft fork?
</pba-cols>

---v

## Fork Categorisation

#### _Hard Forks_
Expand Down Expand Up @@ -482,6 +496,7 @@ Is decreasing or increasing blocksize a soft fork?
</pba-cols>

---v

## Fork Categorisation

#### _Full Forks_
Expand Down Expand Up @@ -523,7 +538,6 @@ Is decreasing or increasing blocksize a soft fork?

## Summary


<pba-cols>
<pba-col>
<img style="width: 400px" src="../../assets/img/3-Blockchain/forks/soft_forks_s50.drawio.svg" />
Expand All @@ -541,6 +555,7 @@ Is decreasing or increasing blocksize a soft fork?
</pba-cols>

Notes:

- Bitcoin cash pivot from hard to full because they didn't have enough HP.
- Soft are often preferred for changes because with >50%HP they do not fracture the community (BTC community logic)
- Hard can be preferred as they seem to better represent minorities. If some people don't agree with the majority they naturally fork off and are not peer pressured to follow (ETH community logic)
Expand All @@ -552,4 +567,3 @@ Notes:
---

<img style="width: 1800px" src="../../assets/img/3-Blockchain/forks/forks.drawio.svg" />

Loading

0 comments on commit 1b834cb

Please sign in to comment.